settings-env-loader 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/settings-env-loader.rb +2 -2
- metadata +3 -3
data/lib/settings-env-loader.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require "enumerator"
|
2
2
|
|
3
3
|
module SettingsEnvLoader
|
4
|
-
VERSION = "0.1.
|
4
|
+
VERSION = "0.1.2"
|
5
5
|
|
6
6
|
# Merges ENV and modify the hash directly
|
7
7
|
def merge_env(prefix = nil, separator = '_')
|
@@ -15,7 +15,7 @@ module SettingsEnvLoader
|
|
15
15
|
Exporter.new(prefix, separator, self).each(y)
|
16
16
|
end
|
17
17
|
|
18
|
-
enumerator(block) if block
|
18
|
+
enumerator.each(&block) if block
|
19
19
|
enumerator
|
20
20
|
end
|
21
21
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: settings-env-loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -75,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
segments:
|
77
77
|
- 0
|
78
|
-
hash:
|
78
|
+
hash: -3805714969282648468
|
79
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
80
|
none: false
|
81
81
|
requirements:
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
segments:
|
86
86
|
- 0
|
87
|
-
hash:
|
87
|
+
hash: -3805714969282648468
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
90
|
rubygems_version: 1.8.23
|