mutaconf 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/mutaconf.rb +2 -2
  4. data/mutaconf.gemspec +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ab4d7e17675c6ca67a288015785c3960d8f1cdf
4
- data.tar.gz: 0559bfe85a294fd62db3dc91f740cb382ca1953a
3
+ metadata.gz: 43e6c84852a4d8d8c4f54d087be1f63e0c146a92
4
+ data.tar.gz: 38435cb0e55d1124753e6c7130c34417005b856e
5
5
  SHA512:
6
- metadata.gz: adfac344fe43f78bb06228ed393b60f4f82218a3ebe2b6b7897eefa9ee4ab6281abdc0b9cf95d1c4e6a5b7c75f99915882f627d083c03b0793c3ab11c16425c7
7
- data.tar.gz: 92dde7af0a4bb33b6852b20e56362cbf8a768d8c39a7d76ccf6c8d8cbc233f33408b69bdcc89397c31742457993854f1895c6d435518b7bea9f15bd42394bab7
6
+ metadata.gz: 79216c2b4f5bef4127d3bcb7bfde2a976e6e57b3fc241d778a1afdaeeba705d1288fa06d50d9aaf7f19a83e590ab3a2e419444ed6bd0e48504e400b75a25abfa
7
+ data.tar.gz: 19d3897186467a70ca13b64005f5745c384ecbff7fc39eb2890ca26499c83358c4e8ae89bb5f63a4311dd12e6f29fc52450639b0ef4c063befe881688451d6b4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -1,7 +1,7 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module Mutaconf
4
- VERSION = '0.0.6'
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "mutaconf"
8
- s.version = "0.0.6"
8
+ s.version = "0.0.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["AlphaHydrae"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutaconf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - AlphaHydrae