Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenk committed Jul 21, 2015
2 parents 5037f3a + ca2035d commit 461831d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 2 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@ end
gem 'haml-rails', '~> 0.4'

# Project configuration
# Official version above and including 0.4 requires Rails
# which is a problem in git-hooks.
# The specified commit is from a fork and allows to overwrite arrays.
# It has been pull-requested:
# https://github.com/railsconfig/rails_config/pull/99
gem 'rails_config', github: 'eugenk/rails_config', ref: 'overwrite_arrays'
# https://github.com/railsconfig/rails_config/pull/103
gem 'rails_config', github: 'dtaniwaki/rails_config', ref: 'merge-array-option'

#provides correct indefinite article
gem 'indefinite_article', '~> 0.2.0'
Expand Down
7 changes: 3 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ GIT
rails (~> 3.2.21)

GIT
remote: git://github.com/eugenk/rails_config.git
revision: d5dc9f2c8727be4ff389c89472fd27deba352abf
ref: overwrite_arrays
remote: git://github.com/dtaniwaki/rails_config.git
revision: e07c116d5591d31584215ac3bccc50321eef23f2
ref: merge-array-option
specs:
rails_config (0.5.0.beta1)
activesupport (>= 3.0)
Expand Down Expand Up @@ -471,7 +471,6 @@ GEM
rspec-core (~> 2.99.0)
rspec-expectations (~> 2.99.0)
rspec-mocks (~> 2.99.0)
rspec-support (3.3.0)
ruby-graphviz (1.2.2)
ruby-prof (0.15.8)
rubydns (0.8.5)
Expand Down
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class Application < Rails::Application
"#{Rails.env}.local.rb")
require local_environment_config if File.exists?(local_environment_config)

RailsConfig.overwrite_arrays = true

Settings.add_source!(Rails.root.join('config', 'hets.yml').to_s)
Settings.reload!

Expand Down

0 comments on commit 461831d

Please sign in to comment.