chef-reporting 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -64,7 +64,7 @@ class Chef
|
|
64
64
|
#as_hash["result"] = "failed"
|
65
65
|
end
|
66
66
|
as_hash["cookbook_name"] = new_resource.cookbook_name
|
67
|
-
as_hash["cookbook_version"] = new_resource.cookbook_version.version
|
67
|
+
as_hash["cookbook_version"] = new_resource.cookbook_version ? new_resource.cookbook_version.version : "0.0.0"
|
68
68
|
as_hash
|
69
69
|
end
|
70
70
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-reporting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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: 2013-
|
12
|
+
date: 2013-09-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chef
|