env_rails 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c767f4ca811162f1fcb922a8426fd8a7ae7f9e40
4
- data.tar.gz: 73325bd74eb1bffc9e7cc6f3f07fde8e5ee1a02a
3
+ metadata.gz: 9d5ffa8a8c3f197fe1b703dfe6c5e5ba9eeb9be9
4
+ data.tar.gz: dc85483546ca58bff7f9d180bce59ca2cc086e74
5
5
  SHA512:
6
- metadata.gz: 94ec82648f17e6012ca447600f089cdee9dbae4e6cf2d00e09f3b31b0c13c09e1f59b1bae45c11f759683cfe9564e4bd9299e8dcd80ff2b656c8cc9635de5125
7
- data.tar.gz: 1383a0e90a6850f068ae874a7849c539d1be9d0bf2447ce65947a776d2d021f31580908cdb9f0cfb3578886820be7aa9510c0fa09a870274f46aaea7cd498816
6
+ metadata.gz: 1d4e78beed5fba74f9eb7406737389af18434239e44fbf310973bb891508c102a4b1c6a8209f3abc8d5bc4993b12de7ccc1e09694e23d156d8127c0c20fcb338
7
+ data.tar.gz: c5ed9e2305690bebd4a55517ff7c38f1292b8651f9b670d2a7ff9eee45ce0833aacbd16916c68c87136a5503d25a641bf37065f35f91a9b3c6fabc8643e458f5
@@ -2,7 +2,7 @@ require "env_rails/version"
2
2
 
3
3
  module EnvRails
4
4
  class Railtie < Rails::Railtie
5
- config.after_initialize do
5
+ config.before_initialize do
6
6
  ENV.each do |key, value|
7
7
  if key =~ /\ARAILS_CONFIG((__[a-z_]+)+)\Z/
8
8
  config_path = $1.split('__')[1 .. -1]
@@ -1,3 +1,3 @@
1
1
  module EnvRails
2
- VERSION = "0.2"
2
+ VERSION = "0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: env_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Wajnerman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler