Skip to content

Instantly share code, notes, and snippets.

View adelevie's full-sized avatar

Alan deLevie adelevie

View GitHub Profile
require 'rails_helper'
RSpec.describe Presenter::Bid do
let(:ar_bid) { FactoryGirl.create(:bid) }
let(:bid) { Presenter::Bid.new(ar_bid) }
describe '#veiled_bidder' do
context 'when there is an authenticated user' do
context 'when the auction is in-progress' do
it 'should unveil only information about the authenticated user' do
➜ micropurchase git:(staging-travis-deploy) cf push -f manifest-staging.yml -c "null"
Using manifest file manifest-staging.yml
Updating app micropurchase in org agile-bpa / space staging as alan.delevie@gsa.gov...
OK
Using route micropurchase-staging.18f.gov
Uploading micropurchase...
Uploading app files from: /Users/alandelevie/micropurchase
Uploading 30.1M, 2973 files
➜ micropurchase git:(staging-travis-deploy) ls -l
total 112
-rw-r--r-- 1 alandelevie staff 1282 Oct 21 12:45 CONTRIBUTING.md
-rw-r--r-- 1 alandelevie staff 969 Dec 21 14:25 Gemfile
-rw-r--r-- 1 alandelevie staff 7578 Dec 21 14:25 Gemfile.lock
-rw-r--r-- 1 alandelevie staff 1327 Oct 21 12:45 LICENSE.md
-rw-r--r-- 1 alandelevie staff 39 Oct 21 12:45 Procfile
-rw-r--r-- 1 alandelevie staff 5334 Dec 22 11:28 README.md
-rw-r--r-- 1 alandelevie staff 249 Oct 21 12:45 Rakefile
drwxr-xr-x 8 alandelevie staff 272 Oct 23 15:55 app
  1. SCOPE OF SERVICES 5.1. The Contractor shall provide the following services and artifacts for the development of the Intake module. Sprint Zero Artifacts 5.2. The Contractor shall produce, review and gain agreement from the State for all Sprint Zero artifacts prior to commencing delivery sprints. 5.3. The Contractor shall produce a User Story Definition and Acceptance Criteria Format. 5.4. The Contractor shall produce Coding Standards (including style guidelines) and Commenting Standards, including Peer Review checklist. 5.5. The Contractor shall produce a Sprint-level Definition of Done that includes the following concepts: a. Code produced (all ‘to do’ items in code completed)
---
applications:
- name: micropurchase
memory: 128M
instances: 1
domain: 18f.gov
host: micropurchase-staging
buildpack: https://github.com/ddollar/heroku-buildpack-multi.git
services:
- micropurchase-staging-psql
2015-12-21T07:03:47.18-0500 [App/0] ERR PG::InsufficientPrivilege: ERROR: permission denied to create database
2015-12-21T07:03:47.18-0500 [App/0] ERR : CREATE DATABASE "dbugpg2lso460wyhn" ENCODING = 'unicode'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `async_exec'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
2015-12-21T07:03:47.18-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-12-21T07:03:47.18-0500
2015-12-21T06:48:25.36-0500 [App/0] ERR PG::InsufficientPrivilege: ERROR: permission denied to create database
2015-12-21T06:48:25.36-0500 [App/0] ERR : CREATE DATABASE "dbugpg2lso460wyhn" ENCODING = 'unicode'
2015-12-21T06:48:25.36-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `async_exec'
2015-12-21T06:48:25.36-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
2015-12-21T06:48:25.36-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
2015-12-21T06:48:25.36-0500 [App/0] ERR /home/vcap/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-12-21T06:48:25.36-0500
@adelevie
adelevie / form.html
Last active December 15, 2015 21:55
<div class="inline"> <!-- .inline { display: inline-block } -->
<form class="usa-form-large" action="https://gsa.us9.list-manage.com/subscribe/post?u=6f1977de9eff4c384dc8d6527&amp;id=e7f757afe3" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<fieldset>
<input type="email" value="" name="EMAIL" id="mce-EMAIL">
<input type="submit" value="Subscribe" name="subscribe">
</fieldset>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
```
<body class="bidder">
<header class="usa-site-header" role="banner">
<div class="usa-disclaimer">
<div class="usa-grid">
<div class="usa-width-one-whole">
<span class="usa-disclaimer-official">
<img class="usa-flag_icon" alt="US flag signifying that this is a United States Federal Government website" src="/assets/us_flag_small-8a6f68dd8703ce4cb475c92fc1eefa84c41f4741ec4c6ca8403ef99b74b94d20.png">
An official website of the United States Government