chef-handler-updated-resources 0.2.0 → 0.3.0

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: 612b6a1ef52ffcd306c6790bc75f475f8c234489
4
- data.tar.gz: 8820c723c42217199ed17c797ddaea91e7565874
3
+ metadata.gz: 95be6ea7ec194c21707ce65a2b0eea7e193e4efe
4
+ data.tar.gz: 2535b26d26f50779b6bae1b1de6490d4e58f766a
5
5
  SHA512:
6
- metadata.gz: 9255b83c784a28b3f5c5541ce1ca9ea370e8408f150aae67ea16b3285e45b1a542388a764a68b1f567293d694146467a6c091677d8713f49653af9107f4e5225
7
- data.tar.gz: 7c84f680c91d1dd52395ad9cefc256228e63ca856aaf30fe9894ec22d258b63db9e19fe807719447ace54f5d75c40d69693167fd038ee8a117930d9f0e186e83
6
+ metadata.gz: 5b13070517bd948d5014d5ecb7189a6e0256403993aa71bc64acd9361b6f5dee1f50909864b68d75a15ad13c29ff6b122a4f050cc82df9faafb73c51693c2ef5
7
+ data.tar.gz: 9bef33ebd1adf0af4b49c1b852b993513672162e5224b7d647f0419a5674af30a205efc086e6e8a7bbffa3659ef768a8afdcce84b004defe8e685f5db1243c8d
@@ -24,8 +24,12 @@ module SimpleReport
24
24
  end
25
25
 
26
26
  def report
27
- Chef::Log.info "Resources updated this run:"
28
- run_status.updated_resources.each {|r| Chef::Log.info "#{line_prefix}#{r.to_s}"}
27
+ if run_status.updated_resources
28
+ Chef::Log.info "Resources updated this run:"
29
+ run_status.updated_resources.each {|r| Chef::Log.info "#{@line_prefix}#{r.to_s}"}
30
+ else
31
+ Chef::Log.info "No Resources updated this run!"
32
+ end
29
33
  end
30
34
  end
31
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-updated-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Timberman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-30 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Chef report handler to display resources updated in the Chef Run
14
14
  email: opensource@housepub.org
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
38
38
  version: '0'
39
39
  requirements: []
40
40
  rubyforge_project:
41
- rubygems_version: 2.4.4
41
+ rubygems_version: 2.4.8
42
42
  signing_key:
43
43
  specification_version: 4
44
44
  summary: Chef report handler to display resources updated in the Chef Run