Skip to content

Commit

Permalink
Added figaro ENV helper for easier testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsteneckel committed Jan 20, 2017
1 parent 31eac0c commit b82b183
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@
!/tmp
!/tmp/pids
!/tmp/pids/.keep

# exclude the figaro ENV setting helper file - run 'bundle exec figaro install' for creating your own
# see: https://github.com/laserlemon/figaro
# Ignore application configuration
/config/application.yml
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ group :development, :test do

# changelog generation
gem 'github_changelog_generator'

# Setting ENV for testing purposes
gem 'figaro'
end

gem 'puma', group: :puma
Expand Down
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ GEM
faraday-http-cache (1.3.1)
faraday (~> 0.8)
ffi (1.9.14)
figaro (1.1.1)
thor (~> 0.14)
formatador (0.2.5)
github_changelog_generator (1.14.1)
activesupport
Expand Down Expand Up @@ -411,6 +413,7 @@ DEPENDENCIES
email_verifier
eventmachine
execjs
figaro
github_changelog_generator
guard
guard-livereload
Expand Down Expand Up @@ -463,4 +466,4 @@ RUBY VERSION
ruby 2.3.1p112

BUNDLED WITH
1.13.6
1.13.7

0 comments on commit b82b183

Please sign in to comment.