Skip to content

Instantly share code, notes, and snippets.

View jcreed's full-sized avatar

Jeff Reed jcreed

  • Liaison International
  • Amherst NY
  • X @jcreed63
View GitHub Profile
@jcreed
jcreed / gist:8225390
Created January 2, 2014 19:47
Staging deploy additional task run
[wa-current@wa-app-s0 current]$ bundle exec rake releases:4.26:after_load:cas-475
** Invoke releases:4.26:after_load:cas-475 (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute releases:4.26:after_load:cas-475
==> cas-475 Update fulfilled column
@jcreed
jcreed / gist:8227449
Created January 2, 2014 21:40
Staging release task result
[wa-current@wa-app-s0 current]$ bundle exec rake release[4.26]
** Invoke release (first_time)
** Execute release
==> Run the release tasks for provided version
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
@jcreed
jcreed / gist:8441043
Created January 15, 2014 17:57
WebAdMIT training
Hello John Rasku,
Josh Huber invites you to attend this online meeting.
Topic: WebAdMIT Training - Dev
Date: Wednesday, January 15, 2014
Time: 1:00 pm, Eastern Standard Time (New York, GMT-05:00)
Meeting Number: 251 450 642
Meeting Password: (This meeting does not require a password.)
Administrator (Qa)
admin@ams.com
Dashboard
Account
Logout
Applicant successfully ETL'd
Organizations & Users
@jcreed
jcreed / gist:c55c450a49efb0c3a7b8
Created January 14, 2015 19:49
views/applicants/licenses_certifications/_licenses.html.haml - RFPT-108
- if licenses.blank?
.blank_pane Applicant has chosen not to report any licenses.
- else
- fields = license_presenter.fields_identifiers_to_fields
- details = license_presenter.details_identifiers_to_fields
- locals = { records: licenses, fields: fields, details: details, presenter: license_presenter }
= render partial: 'applicants/licenses_certifications/licenses_certifications', locals: locals
@jcreed
jcreed / gist:fe664939b35a78abf68d
Created March 4, 2015 16:05
release 5.27 task run on staging
[wa-current@wa-util-s0 current]$ bundle exec rake release[$RELEASE]
** Invoke release (first_time)
** Execute release
==> Run the release tasks for provided version
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
Running Rails 3.1.12
Running Ruby 1.9.3
** Invoke db:load_config (first_time)
@jcreed
jcreed / gist:ca4f416c988b0edca1ad
Created April 30, 2015 16:58
mcat attachment transformations
# Official MCAT After Jan 31 2015 Attachments
- RecordTransformation:
:keypath: '/UNICAS/AcademicHistory/OfficialTests/MCATScore2015/Attachment'
:table_name: 'cas_attachments'
:relative_recordname: 'mcat_score_attachment'
- SharedContentTransformation:
:keypath: '/UNICAS/AcademicHistory/OfficialTests/MCATScore2015/Attachment'
:column: 'applicant_id'
@jcreed
jcreed / gist:2145278206c83160e546
Created April 30, 2015 17:00
mcat attachment tests
require_relative '../transformations_spec_helper'
describe 'MCAT After Jan 31 2015 tests' do
include TransformationsSpecHelper
describe_transformations_for_record("UNICAS/0/AcademicHistory/0/OfficialTests/0/MCATScore2015/111") do
specify { subject["applicant_id"].must_equal applicant_id_proxy }
specify { subject["date"].must_equal DateParser.call("2015-01-30") }
specify { subject["identifier"].must_equal "111" }
specify { subject["official_received_date"].must_equal nil }
table_name: cas_attachments
id: &70250721995860
- id-proxy
- 59f6e2ad-c884-4615-b313-649cbc66d343
applicant_id: *70250726339740
identifier: '25'
filename: '580'
url: C:\Users\gdoli\Sandbox\SAN_TEMP_LOCATION\AAMC\2014\91\580_MCATImage_04bb56b2-ce83-4978-a35b-0c06dbfbdd58.png
uploaded_at: '2015-04-09'
description: '580'
@jcreed
jcreed / gist:113d04d4b1c6589ec94c
Created May 11, 2015 15:40
release v5.32 deploy to staging task output
[wa-current@wa-util-s0 current]$ RELEASE='5.32'
[wa-current@wa-util-s0 current]$ bundle exec rake release[$RELEASE]
** Invoke release (first_time)
** Execute release
==> Run the release tasks for provided version
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
Running Rails 3.1.12
Running Ruby 1.9.3