envvy 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/envvy/engine.rb +6 -9
- data/lib/envvy/version.rb +1 -1
- data/test/dummy_app/config/environments/test.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8964d989a7f48c96aba90ab6bca1abbdd4b49ca2
|
4
|
+
data.tar.gz: 85d8c93540837b8251dda610e21106d8d136950d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6605e9a35a4da1f83f8f7fe79444ead51c653e409851c1059b42c2e04c39c249269f37ebf5d467c76a331ea46cec8f40f564d361eb1264e41542910408ad2fd7
|
7
|
+
data.tar.gz: f0a22dcd8eb6e9e7f6b7a0ca5582a6f110ef579a2266e2db4c73af862e2a78d366cc0247cec17967b6e7bcbf33591e6041a013047fe39f7bc444fabe329fba12
|
data/lib/envvy/engine.rb
CHANGED
@@ -26,15 +26,6 @@ module Envvy
|
|
26
26
|
end
|
27
27
|
|
28
28
|
config.before_initialize do
|
29
|
-
self.get("config") do |config|
|
30
|
-
config.each do |k, v|
|
31
|
-
ENV[k.to_s.upcase] ||= v
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
config.before_configuration do
|
37
|
-
|
38
29
|
set_env self.config_path
|
39
30
|
|
40
31
|
if Rails.env.development?
|
@@ -48,6 +39,12 @@ module Envvy
|
|
48
39
|
end
|
49
40
|
end
|
50
41
|
end
|
42
|
+
|
43
|
+
self.get("config") do |config|
|
44
|
+
config.each do |k, v|
|
45
|
+
ENV[k.to_s.upcase] ||= v
|
46
|
+
end
|
47
|
+
end
|
51
48
|
end
|
52
49
|
|
53
50
|
def set_env file
|
data/lib/envvy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: envvy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Balaine
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-05-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|