knife-essentials 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,7 @@ module ChefFS
37
37
  begin
38
38
  other_value = other.read
39
39
  rescue ChefFS::FileSystem::NotFoundError
40
- other_value = :none
40
+ return [ false, nil, :none ]
41
41
  end
42
42
  other_checksum = calc_checksum(other_value)
43
43
  end
@@ -72,7 +72,7 @@ module ChefFS
72
72
  begin
73
73
  value = chef_object.to_hash
74
74
  rescue ChefFS::FileSystem::NotFoundError
75
- return [ nil, :none, other_value ]
75
+ return [ false, :none, other_value ]
76
76
  end
77
77
  are_same = (value == Chef::JSONCompat.from_json(other_value, :create_additions => false))
78
78
  [ are_same, Chef::JSONCompat.to_json_pretty(value), other_value ]
@@ -1,4 +1,4 @@
1
1
  module ChefFS
2
- VERSION = "0.7.4"
2
+ VERSION = "0.7.5"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-essentials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-28 00:00:00.000000000Z
12
+ date: 2012-07-02 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Universal knife verbs that work with your Chef repository
15
15
  email: jkeiser@opscode.com