Skip to content

Commit

Permalink
update bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbeales committed Mar 27, 2018
1 parent c243e8b commit 53a8db8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ before_script:
- psql -c 'CREATE DATABASE mental_health_test;' -U postgres
- psql -c "CREATE USER mental WITH PASSWORD 'health';" -U postgres

# ensure bundle does not install docs

before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- cp -p Gemfile.lock Gemfile.lock.org
- gem update bundler # ensure bundler up to date
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc" # ensure bundle does not install docs
- cp -p Gemfile.lock Gemfile.lock.org
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter

Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem 'acts-as-taggable-array-on', '~> 0.4.0', require: false # adds tags
gem 'bugsnag', '~> 6.6', require: false # online bug reporting
gem 'dotenv', '~> 2.2.1', require: false # adds environment variables from .env files
gem 'facets', '~> 3.1.0', require: false # additional core methods
gem 'i18n'
gem 'jsonb_accessor', '~> 1.0.0', require: false # adds methods to access Jsonb fields
gem 'kiba', '~> 2.0.0', require: false # ETL
gem 'mobility', '~> 0.5.1', require: false # translations
Expand Down
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'rubygems'

require 'bundler'
require 'bundler/setup'
Bundler.require(:default, ENV['RACK_ENV'].to_sym)

require 'dotenv'
Expand Down
8 changes: 4 additions & 4 deletions spec/rspec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ JournalEntry
unique entry date
 {:timecop=>:freeze}
#to_s
 should eq "2018-03-26 21:18:34 UTC "
 should eq "2018-03-27 01:57:55 UTC "
#created_at today
 is created less than 5 minutes ago

Expand All @@ -384,7 +384,7 @@ Journal
 should not be truthy
#list_entries
defaults to last 4
 should eq "2018-03-26 21:18:34 UTC 2012-12-12 00:00:00 UTC "
 should eq "2018-03-27 01:57:55 UTC 2012-12-12 00:00:00 UTC "
#read_entry
 should be > 0
#name
Expand Down Expand Up @@ -940,7 +940,7 @@ AlexaService
 should eq " Cannot find instrument blah. Please try again.\n"
 should eq "Below is a list of the ways you might have felt or behaved. Please check the boxes to tell me how often you have felt this way in the past week or so."
#read_all
 should eq "2018-03-26 21:18:32 UTC "
 should eq "2018-03-27 01:57:53 UTC "
 should not be nil

InstrumentLoaderCsv
Expand Down Expand Up @@ -968,6 +968,6 @@ InstrumentLoader
missing instrument
 should raise RuntimeError

Finished in 9.01 seconds (files took 4.66 seconds to load)
Finished in 11.58 seconds (files took 8.52 seconds to load)
509 examples, 0 failures

0 comments on commit 53a8db8

Please sign in to comment.