chef-silent 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,13 +64,17 @@ class Chef
64
64
  end
65
65
 
66
66
  def resource_updated(resource, action)
67
- if resource.class == Chef::Resource::File || resource.class == Chef::Resource::Template
67
+
68
+ if resource.class == Chef::Resource::File ||
69
+ resource.class == Chef::Resource::Template ||
70
+ resource.class == Chef::Resource::CookbookFile
68
71
  if resource.diff
69
72
  print '=' * 80 + "\n"
70
73
  ColorDiff.print_diff resource.diff.split('\n')
71
74
  print '=' * 80 + "\n"
72
75
  end
73
76
  end
77
+
74
78
  if resource.class == Chef::Resource::Package
75
79
  print " \n"
76
80
  if resource.version
@@ -80,6 +84,7 @@ class Chef
80
84
  end
81
85
  print " \n"
82
86
  end
87
+
83
88
  updated_resources << resource
84
89
  end
85
90
 
@@ -1,5 +1,5 @@
1
1
  module Chef
2
2
  module Silent
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-silent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.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: 2013-07-20 00:00:00.000000000 Z
12
+ date: 2013-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef