chef-handler-jenkins 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -20,7 +20,8 @@ This approach is best suited if you own the operation environment and want to do
20
20
  Use [chef_handler cookbook](http://community.opscode.com/cookbooks/chef_handler) and activate this handler via your recipe:
21
21
 
22
22
  chef_gem 'chef-handler-jenkins'
23
-
23
+ require 'chef/handler/jenkins'
24
+
24
25
  chef_handler 'Chef::Handler::Jenkins' do
25
26
  source 'chef/handler/jenkins'
26
27
  arguments :url => 'http://myserver.acme.com/jenkins'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |g|
2
2
  g.name = 'chef-handler-jenkins'
3
- g.version = '0.2'
3
+ g.version = '0.3'
4
4
 
5
5
  g.summary = 'Chef report handler for tracking with Jenkins'
6
6
  g.description = 'Track deployment of files through Jenkins'
@@ -30,14 +30,14 @@ class Chef
30
30
  # res.checksum is SHA1 sum
31
31
  end
32
32
 
33
- if res.class == Chef::Resource::SaladJenkinsTracking
34
- # TODO is this a good way to check the class name?
35
- updates << {
36
- "path" => res.path,
37
- "md5" => res.checksum,
38
- "type" => res.class.name
39
- }
40
- end
33
+ # if res.class == Chef::Resource::SaladJenkinsTracking
34
+ # # TODO is this a good way to check the class name?
35
+ # updates << {
36
+ # "path" => res.path,
37
+ # "md5" => res.checksum,
38
+ # "type" => res.class.name
39
+ # }
40
+ # end
41
41
  end
42
42
 
43
43
  # add envelop to the data
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-jenkins
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
9
- version: "0.2"
8
+ - 3
9
+ version: "0.3"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kohsuke Kawaguchi
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2014-03-31 00:00:00 Z
17
+ date: 2014-09-25 00:00:00 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: chef