airbrake_handler 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ notifications:
2
+ disabled: true
3
+ rvm:
4
+ - 1.8.7
5
+ - 1.9.2
@@ -0,0 +1,32 @@
1
+ # Airbrake handler for Chef
2
+
3
+ Report [Chef](http://www.opscode.com/chef) exceptions to [Airbrake](http://airbrakeapp.com)
4
+
5
+ Works fine with chef versions: 0.9.x and 0.10.x
6
+
7
+ ## Usage
8
+
9
+ ```
10
+ gem install airbrake_handler
11
+ ```
12
+
13
+ In your chef client file (often placed at /etc/chef/client.rb) put:
14
+
15
+ ```ruby
16
+ require "airbrake_handler"
17
+ exception_handlers << AirbrakeHandler.new(:api_key => "your-airbrake-api-key")
18
+ ```
19
+
20
+ You can pass more options to AirbrakeHander initializer, i.e:
21
+
22
+ ```ruby
23
+ AirbrakeHandler.new(:api_key => "your-airbrake-api-key", :framework_env => "production")
24
+ ```
25
+
26
+ ## Continuous Integration
27
+
28
+ [![Build Status](https://secure.travis-ci.org/morgoth/airbrake_handler.png)](http://travis-ci.org/morgoth/airbrake_handler)
29
+
30
+ ## Copyright
31
+
32
+ Copyright (c) 2011 Adam Jacob, Wojciech Wnętrzak See LICENSE for details.
@@ -1,10 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
- require "airbrake_handler"
4
3
 
5
4
  Gem::Specification.new do |s|
6
5
  s.name = "airbrake_handler"
7
- s.version = AirbrakeHandler::VERSION
6
+ s.version = "0.2.1"
8
7
  s.platform = Gem::Platform::RUBY
9
8
  s.authors = ["Adam Jacob", "Wojciech Wnętrzak"]
10
9
  s.email = ["w.wnetrzak@gmail.com"]
@@ -20,7 +20,7 @@ require "chef/handler"
20
20
  require "toadhopper"
21
21
 
22
22
  class AirbrakeHandler < Chef::Handler
23
- VERSION = "0.2.0"
23
+ VERSION = "0.2.1"
24
24
 
25
25
  attr_accessor :options, :api_key
26
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake_handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-08-27 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: chef
17
- requirement: &9881440 !ruby/object:Gem::Requirement
17
+ requirement: &8231860 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.9.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *9881440
25
+ version_requirements: *8231860
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: toadhopper
28
- requirement: &9879520 !ruby/object:Gem::Requirement
28
+ requirement: &8227860 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *9879520
36
+ version_requirements: *8227860
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: mocha
39
- requirement: &9878640 !ruby/object:Gem::Requirement
39
+ requirement: &8226840 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *9878640
47
+ version_requirements: *8226840
48
48
  description: Chef handler for sending exceptions to Airbrake
49
49
  email:
50
50
  - w.wnetrzak@gmail.com
@@ -54,9 +54,10 @@ extra_rdoc_files: []
54
54
  files:
55
55
  - .document
56
56
  - .gitignore
57
+ - .travis.yml
57
58
  - Gemfile
58
59
  - LICENSE
59
- - README.rdoc
60
+ - README.markdown
60
61
  - Rakefile
61
62
  - airbrake_handler.gemspec
62
63
  - lib/airbrake_handler.rb
@@ -1,22 +0,0 @@
1
- = Airbrake handler for Chef
2
-
3
- Report Chef exceptions to Airbrake.
4
-
5
- Works fine with chef versions: 0.9.x and 0.10.x
6
-
7
- == Usage
8
-
9
- gem install airbrake_handler
10
-
11
- In your chef client file (often placed at /etc/chef/client.rb) put:
12
-
13
- require "airbrake_handler"
14
- exception_handlers << AirbrakeHandler.new(:api_key => "your-airbrake-api-key")
15
-
16
- You can pass more options to AirbrakeHander initializer, i.e:
17
-
18
- AirbrakeHandler.new(:api_key => "your-airbrake-api-key", :framework_env => "production")
19
-
20
- == Copyright
21
-
22
- Copyright (c) 2011 Adam Jacob, Wojciech Wnętrzak See LICENSE for details.