chef-handler-jenkins 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ *.gem
data/README.md CHANGED
@@ -11,8 +11,8 @@ Install `chef-handler-jenkins` gem upfront first:
11
11
 
12
12
  Then configure Chef to use it with the following lines. For chef-solo, you can put that in your [/etc/chef/solo.rb](http://docs.opscode.com/config_rb_solo.html) (or your local override). For chef-client, you can put that in your [/etc/chef/client.rb](http://docs.opscode.com/config_rb_client.html).
13
13
 
14
- require 'chef/handler/jenkins'
15
- report_handlers << Chef::Handler::Jenkins.new(:url => 'http://myserver.acme.com/jenkins')
14
+ require 'chef/handler/jenkins'
15
+ report_handlers << Chef::Handler::Jenkins.new(:url => 'http://myserver.acme.com/jenkins')
16
16
 
17
17
  This approach is best suited if you own the operation environment and want to do the deployment integration without modifying recipes.
18
18
 
@@ -20,7 +20,7 @@ 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
+
24
24
  chef_handler 'Chef::Handler::Jenkins' do
25
25
  source 'chef/handler/jenkins'
26
26
  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.1'
3
+ g.version = '0.2'
4
4
 
5
5
  g.summary = 'Chef report handler for tracking with Jenkins'
6
6
  g.description = 'Track deployment of files through Jenkins'
@@ -12,4 +12,4 @@ Gem::Specification.new do |g|
12
12
  g.files = `git ls-files`.split($\)
13
13
 
14
14
  g.add_dependency 'chef', '>=11.6'
15
- end
15
+ end
@@ -1,10 +1,10 @@
1
1
  require "chef/log"
2
2
  require 'digest/md5'
3
3
 
4
- module Chef
5
- module Handler
4
+ class Chef
5
+ class Handler
6
6
  #noinspection RubyStringKeysInHashInspection
7
- class TrackingHandler < Chef::Handler
7
+ class Jenkins < Chef::Handler
8
8
  def initialize(config)
9
9
  @config = config
10
10
  raise ArgumentError, 'Jenkins URL is not specified' unless @config[:url]
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: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- version: "0.1"
8
+ - 2
9
+ version: "0.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kohsuke Kawaguchi
@@ -40,6 +40,7 @@ extensions: []
40
40
  extra_rdoc_files: []
41
41
 
42
42
  files:
43
+ - .gitignore
43
44
  - Gemfile
44
45
  - LICENSE
45
46
  - README.md