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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3fa08ec3c434f18e06a89d6c8a9d59d53170f6b
4
- data.tar.gz: a30f7891b0b24938d6969af9f33e5b8c076b9f59
3
+ metadata.gz: 8964d989a7f48c96aba90ab6bca1abbdd4b49ca2
4
+ data.tar.gz: 85d8c93540837b8251dda610e21106d8d136950d
5
5
  SHA512:
6
- metadata.gz: 4647ef7630bae61bb21709317f24611e0215c36b63adc5f46d817764dd6d49697cf9c467e03d2d6c5bd31c83d93349107354df7b4a5fb9cfe1e75bb6b953ba84
7
- data.tar.gz: d6b7ed27ae08359dc4ce33a15fbc5e6af38d15883ccdaef949901628c28a0b8e004216d440c3b11f2da7572af79f81cc994e55c42d12965b75ee367cdd7d177b
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
@@ -1,3 +1,3 @@
1
1
  module Envvy
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
@@ -27,6 +27,4 @@ Dummy::Application.configure do
27
27
  config.eager_load = true
28
28
 
29
29
  config.i18n.default_locale = :fr
30
-
31
- Rails.application.routes.default_url_options = { host: "localhost", port: "3000", scheme: "http"}
32
30
  end
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.6
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-04-29 00:00:00.000000000 Z
12
+ date: 2015-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails