envin 0.1.4 → 0.1.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: b247477885281e306ceedc6791893172ee3f22ee
4
- data.tar.gz: 96436c818c428c66ec8a300d5a5c4d1d41fd8e72
3
+ metadata.gz: a0a4ba0aaa5c60c8524e4f0071cbc98a0885fdb3
4
+ data.tar.gz: cbc542bff04e7fddbfd4e728e66bd5ce4e83ac80
5
5
  SHA512:
6
- metadata.gz: 60a701d36eca08409d22a8b30c9e75f3ac3c75a668e3391ab28c7d24c3318b23ef35fa96570dccea55fb712dce401e592129f194038b779d6d1caf24a01b2668
7
- data.tar.gz: 0a18549271823913faea4d7feeddcb4bb640d5eeb94027652d49f88bc139460b609bcd17c745180150fb06ff59f7455823760f084551baf09c383287733f275c
6
+ metadata.gz: 0a8fb948b302e96590058ebd4447be95d48808cea56c065f510b2e4a57ea764633702be0eb81312c60100240ec2f8be1f36b248b2ead4ea2d22072465a12dc23
7
+ data.tar.gz: '098b3c7016f51a13b401640ab6fba5ab1bf3fff0ead5bdea3a70d95e7ee3c79b492be68f4e2105c0f83e9804df51fb8cc54ecd5942f4eb5c9f5551a354e14c73'
@@ -51,7 +51,7 @@ module Envin
51
51
  target_file = source_file if !target_file
52
52
  config_content = File.exist?(source_file) ? load_yaml(source_file, root_element) : {}
53
53
  config_env = build_yaml_from_env(prefix)
54
- return if config_env.blank?
54
+ return if config_env.keys.size == 0
55
55
  root = {}
56
56
  if root_element
57
57
  root[root_element] = config_content.merge(config_env)
data/lib/envin/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Envin
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zidni Mubarock