ultra_config 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ultra_config/config.rb +1 -1
- data/ultra_config.gemspec +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: 180324ca9ee6455c5373b83152912c0e921d19cc
|
4
|
+
data.tar.gz: b7d7a216e5ef6bc0f93118ad26c66d94442b7b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b76d192832c109d6b2afd4fc26862bce2e958f9eaa7ada770ab275104bb422dca7e7bce09a7bae8283192f3b6c1021eb963afafac161301b942d7a7df4e2ed35
|
7
|
+
data.tar.gz: 264887bd4f6801a33506dfd1eb1efd866d88a820dd7e72f48b27e14cb149ffdb9d5290ae3125a7c94f06d9e2097c0c094e19d8cbfa545bced70d31a00c7d57df
|
data/lib/ultra_config/config.rb
CHANGED
@@ -10,7 +10,7 @@ module UltraConfig
|
|
10
10
|
def initialize(options = {}, &block)
|
11
11
|
@config_block = block
|
12
12
|
|
13
|
-
@value = options[:default]
|
13
|
+
@value = options[:default].nil? ? nil : options[:default]
|
14
14
|
@sanitize = options[:sanitize] || false
|
15
15
|
@error_msg = options[:error_msg]
|
16
16
|
end
|
data/ultra_config.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultra_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregory Kuruc
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|