chef-formatter-elapsed_time 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +1 -0
- data/chef-formatter-elapsed_time.gemspec +1 -1
- data/lib/chef-formatter-elapsed_time.rb +2 -2
- metadata +6 -5
- data/Gemfile.lock +0 -14
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,9 +5,9 @@ class Chef
|
|
5
5
|
class ElapsedTime < Formatters::Minimal
|
6
6
|
cli_name(:elapsed_time)
|
7
7
|
|
8
|
-
def
|
8
|
+
def resource_completed(resource)
|
9
9
|
super
|
10
|
-
puts "#{resource.inspect}
|
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.
|
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-
|
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
|
-
-
|
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:
|
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:
|
50
|
+
hash: 4239108154995930530
|
50
51
|
requirements: []
|
51
52
|
rubyforge_project:
|
52
53
|
rubygems_version: 1.8.24
|