chef-formatter-elapsed_time 0.0.2 → 0.0.3

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.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ Gemfile.lock
data/README.md ADDED
@@ -0,0 +1 @@
1
+ Unfortunately this formatter can't work until this [chef bug](http://tickets.opscode.com/browse/CHEF-3766) is fixed.
@@ -5,7 +5,7 @@ name = 'chef-formatter-elapsed_time'
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = name
8
- s.version = '0.0.2'
8
+ s.version = '0.0.3'
9
9
  s.authors = ['chris']
10
10
  s.email = ['locochris@locomote.com.au']
11
11
  s.homepage = "https://github.com/locomote/#{name}"
@@ -5,9 +5,9 @@ class Chef
5
5
  class ElapsedTime < Formatters::Minimal
6
6
  cli_name(:elapsed_time)
7
7
 
8
- def resource_updated(resource, action)
8
+ def resource_completed(resource)
9
9
  super
10
- puts "#{resource.inspect} #{action.inspect} (#{resource.elapsed_time})"
10
+ puts "#{resource.inspect} (#{resource.elapsed_time})"
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-formatter-elapsed_time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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-01-15 00:00:00.000000000 Z
12
+ date: 2013-01-29 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Elapsed time chef formatter
15
15
  email:
@@ -18,8 +18,9 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
+ - .gitignore
21
22
  - Gemfile
22
- - Gemfile.lock
23
+ - README.md
23
24
  - Rakefile
24
25
  - chef-formatter-elapsed_time.gemspec
25
26
  - lib/chef-formatter-elapsed_time.rb
@@ -37,7 +38,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
37
38
  version: '0'
38
39
  segments:
39
40
  - 0
40
- hash: 3025990151171385688
41
+ hash: 4239108154995930530
41
42
  required_rubygems_version: !ruby/object:Gem::Requirement
42
43
  none: false
43
44
  requirements:
@@ -46,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
47
  version: '0'
47
48
  segments:
48
49
  - 0
49
- hash: 3025990151171385688
50
+ hash: 4239108154995930530
50
51
  requirements: []
51
52
  rubyforge_project:
52
53
  rubygems_version: 1.8.24
data/Gemfile.lock DELETED
@@ -1,14 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- chef-formatter-elapsed_time (0.0.2)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
-
10
- PLATFORMS
11
- ruby
12
-
13
- DEPENDENCIES
14
- chef-formatter-elapsed_time!