chef_cap 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ChefCap
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -15,7 +15,7 @@ class ChefCapHelper
15
15
  ChefCapConfiguration.configuration.set key, value
16
16
  else
17
17
  debug("Unsetting #{key.inspect} => #{value.inspect}")
18
- ChefCapConfiguration.configuration.unset key, value
18
+ ChefCapConfiguration.configuration.unset key
19
19
  end
20
20
  end
21
21
  end
@@ -44,7 +44,7 @@ describe ChefCapHelper do
44
44
  end
45
45
 
46
46
  it "should unset null values" do
47
- @configuration.should_receive(:unset).with(:somekey, nil)
47
+ @configuration.should_receive(:unset).with(:somekey)
48
48
  @configuration.should_not_receive(:set)
49
49
  ChefCapHelper.parse_hash({"somekey" => nil})
50
50
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Case Commons, LLC