risky 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/risky.rb +3 -1
  2. data/lib/risky/version.rb +1 -1
  3. metadata +3 -3
data/lib/risky.rb CHANGED
@@ -335,7 +335,9 @@ class Risky
335
335
 
336
336
  # Fill in defults.
337
337
  self.class.values.each do |k,v|
338
- self[k] ||= (v[:default].clone rescue v[:default])
338
+ if self[k].nil?
339
+ self[k] = (v[:default].clone rescue v[:default])
340
+ end
339
341
  end
340
342
  end
341
343
 
data/lib/risky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Risky
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: risky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riak-client
17
- requirement: &13973420 !ruby/object:Gem::Requirement
17
+ requirement: &6586940 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 1.0.0.pre
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *13973420
25
+ version_requirements: *6586940
26
26
  description:
27
27
  email: aphyr@aphyr.com
28
28
  executables: []