mutaconf 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/mutaconf.rb +2 -2
- data/mutaconf.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43e6c84852a4d8d8c4f54d087be1f63e0c146a92
|
4
|
+
data.tar.gz: 38435cb0e55d1124753e6c7130c34417005b856e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79216c2b4f5bef4127d3bcb7bfde2a976e6e57b3fc241d778a1afdaeeba705d1288fa06d50d9aaf7f19a83e590ab3a2e419444ed6bd0e48504e400b75a25abfa
|
7
|
+
data.tar.gz: 19d3897186467a70ca13b64005f5745c384ecbff7fc39eb2890ca26499c83358c4e8ae89bb5f63a4311dd12e6f29fc52450639b0ef4c063befe881688451d6b4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
data/lib/mutaconf.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: UTF-8
|
2
2
|
|
3
3
|
module Mutaconf
|
4
|
-
VERSION = '0.0.
|
4
|
+
VERSION = '0.0.7'
|
5
5
|
|
6
6
|
def self.dsl *args
|
7
7
|
DSL.new *args
|
@@ -9,7 +9,7 @@ module Mutaconf
|
|
9
9
|
|
10
10
|
def self.env *args
|
11
11
|
options = args.last.kind_of?(Hash) ? args.pop : {}
|
12
|
-
args.inject({}) do |memo,key|
|
12
|
+
args.flatten.inject({}) do |memo,key|
|
13
13
|
env_key = options[:upcase] == false ? key.to_s : key.to_s.upcase
|
14
14
|
prefix = options[:prefix]
|
15
15
|
prefix = prefix.upcase if prefix and options[:upcase] != false
|
data/mutaconf.gemspec
CHANGED