envolve 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/envolve/config.rb +4 -3
- data/lib/envolve/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcf4d1b8c8e82829351a0c08bfd021da5f1bb0bd
|
4
|
+
data.tar.gz: 2fcf17f17172ec0fe8ecae50aa3abfc32952e081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 954bd0dc4b0d00bb6585d573f11048975219e27fc4828d50af831f10430b4801ba0788ecb69021aaba8ecd10d51139d44a99e163032d794bf11f2aeae168d868
|
7
|
+
data.tar.gz: a7a4b3f7ba9f453e733cfd56997e48d4db87b41b1afc9de829db21b1e80ba49eed5ce5587cbd9bf05fc9cada002aaeaa68d4056ee391f015da836c9d7d74e0dc
|
data/HISTORY.md
CHANGED
data/lib/envolve/config.rb
CHANGED
@@ -17,8 +17,9 @@ module Envolve
|
|
17
17
|
elsif block_given? then
|
18
18
|
@_default_env = block.call
|
19
19
|
else
|
20
|
-
@_default_env
|
20
|
+
@_default_env = ENV unless defined?( @_default_env )
|
21
21
|
end
|
22
|
+
@_default_env.to_h
|
22
23
|
end
|
23
24
|
|
24
25
|
# Public: Return the prefix to be used by the class
|
@@ -29,7 +30,7 @@ module Envolve
|
|
29
30
|
if args.size > 0 then
|
30
31
|
@_prefix = args.first
|
31
32
|
else
|
32
|
-
@_prefix = nil
|
33
|
+
@_prefix = nil unless defined?( @_prefix )
|
33
34
|
end
|
34
35
|
@_prefix
|
35
36
|
end
|
@@ -42,7 +43,7 @@ module Envolve
|
|
42
43
|
if args.size > 0 then
|
43
44
|
@_key_separator = args.first
|
44
45
|
else
|
45
|
-
@_key_separator = '_'.freeze
|
46
|
+
@_key_separator = '_'.freeze unless defined?( @_key_separator )
|
46
47
|
end
|
47
48
|
@_key_separator
|
48
49
|
end
|
data/lib/envolve/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: envolve
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Hinegardner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|