envvy 1.0.4 → 1.0.5

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: 86b56295e04317b63b8bb88b5effa2864520e37f
4
- data.tar.gz: d2ccf9ed532ba4766e507cbb310773ca3bf7fb9a
3
+ metadata.gz: 1a8c9b57ae7afb83cfdd4cbb25cc1fa50a324604
4
+ data.tar.gz: fbbe6f6c3cc54dae2478bcd9d6927a4aa9ad8c67
5
5
  SHA512:
6
- metadata.gz: a571a4fc9c1d1559c8fae963eb10b69527996da80d53cb660f73d2c13929c6cd9c6dbd8539b1106678808498f812f8b1aa0cf3b0c46e2e6770155de8ccf5304b
7
- data.tar.gz: e5a1bdb80106a5a7c1ba50a516ab2696026693a3aef9c73f2a6c92c76eb64f713604fc8869912b686c8098e0d5e3c5317a28931ca010d4f9d6cebe89fdea61ce
6
+ metadata.gz: c30f85e71c3b90c76e44b19ccfddb7c407156ce1a3aca974b408b32652463b9d496c79719a9bbb100f24ce0dcebef191335a2e0b055ea59458f56b29dc89b8b2
7
+ data.tar.gz: 662814e482c2a093f1ac56eb61223d92009340bcc6bc7b0b1c2ed52e7ee02d7d143f2fa97d9e9d31e04e65c27574df1415825341e32a353e402132be460cc713
data/lib/envvy/railtie.rb CHANGED
@@ -38,7 +38,7 @@ module Envvy
38
38
  end
39
39
 
40
40
  def set_env file
41
- self.env = if File.exist?(file) then YAML.load(File.read(file)) else {js_config: "", config: ""} end
41
+ self.env = if File.exist?(file) then YAML.load(File.read(file)) else {"js_config" => {}, "config" => {}} end
42
42
  end
43
43
 
44
44
  def get(key, &block)
data/lib/envvy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Envvy
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Balaine