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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52234a8d4ae01dd19e6828c14d09a2af1acab2e3
4
- data.tar.gz: 2ad472cfa2349d68b08159f46794ffa6ca471cf5
3
+ metadata.gz: 180324ca9ee6455c5373b83152912c0e921d19cc
4
+ data.tar.gz: b7d7a216e5ef6bc0f93118ad26c66d94442b7b73
5
5
  SHA512:
6
- metadata.gz: f195f6529ae3f645dee2e71535b22849b759763662f9b2675370fd020b0e92d77c834c857341c6042b66dfac270f24231b00899f79e582b3404b3f87652d8235
7
- data.tar.gz: b8f9d9b9bf802db40187d93865dd3e5414b97f165e7369357f03ef23f6321401241d6e969a570d10344d99c94d0588c779aa75dfa77557901812dd662911f1f5
6
+ metadata.gz: b76d192832c109d6b2afd4fc26862bce2e958f9eaa7ada770ab275104bb422dca7e7bce09a7bae8283192f3b6c1021eb963afafac161301b942d7a7df4e2ed35
7
+ data.tar.gz: 264887bd4f6801a33506dfd1eb1efd866d88a820dd7e72f48b27e14cb149ffdb9d5290ae3125a7c94f06d9e2097c0c094e19d8cbfa545bced70d31a00c7d57df
@@ -10,7 +10,7 @@ module UltraConfig
10
10
  def initialize(options = {}, &block)
11
11
  @config_block = block
12
12
 
13
- @value = options[:default] || nil
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
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'ultra_config'
7
- spec.version = '0.11.0'
7
+ spec.version = '0.11.1'
8
8
  spec.authors = ['Gregory Kuruc']
9
9
  spec.email = ['gjk910327@gmail.com']
10
10
 
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.0
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-20 00:00:00.000000000 Z
11
+ date: 2018-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler