paratrooper-airbrake 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MTFjNDk3NzEwZWIxMzM3NDhmMTM3OGEyOTJiMzQ3MmRiMGRiZGNhZA==
5
+ data.tar.gz: !binary |-
6
+ YjgxNThjNzg2YTZhZDdmZGY3YzgxNjI3YWM4ZDJmNmYyZTZkMDdjNA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MDEyNTZmODFhYzhhM2E1ODM4ZTI5OGUzYjQ3Mjg0NDZlZGEyZjRmZjlmYjA2
10
+ ODI4Mzg2NmI2OTQ0ZDMwZDJmMWQ2YTJlMzUzYmVhOGQ4MzIyMjViMDQ5ODZj
11
+ NjFiZjNlY2U5MjlkMTIzODViMDU5NzRkZTMxNGZmNWYxOGQxMzc=
12
+ data.tar.gz: !binary |-
13
+ ZWY0ZDY0YmNlNmQxNGU1MzhkMGNiYmExMWE5ZGE1ZGZiMTI1NzM2ODBmYWQ0
14
+ MTJhYjE2ZjZhMzEwNzA4ZWI4ZGZjMzdiOWVhNWFkZjg1ZmE0MWY3ZjY1ZTVm
15
+ MDE3MDJiNTVkZmNiMzZjNmU4NjM0NDVmYTlmNjFhMTcxODk3MGI=
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in paratrooper-airbrake.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Matt Polito
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # Paratrooper - Airbrake Notifier
2
+
3
+ Notify [Airbrake][] of your deployments when using [Paratrooper][]
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'paratrooper-airbrake'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install paratrooper-airbrake
18
+
19
+ ## Usage
20
+
21
+ When initializing `Paratrooper::Deploy` a `notifiers` option can be passed
22
+
23
+ ```ruby
24
+ Paratrooper::Deploy.new('app_name',
25
+ notifiers: [Paratrooper::Airbrake::Notifier.new]
26
+ )
27
+ ```
28
+
29
+ This will notify Airbrake that a deploy has happened after a successful
30
+ Paratrooper deployment
31
+
32
+ For more information on `notifiers`, see [Paratrooper][] documentation.
33
+
34
+ ## Contributing
35
+
36
+ 1. Fork it
37
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
38
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
39
+ 4. Push to the branch (`git push origin my-new-feature`)
40
+ 5. Create new Pull Request
41
+
42
+ ## Thanks
43
+
44
+ * [Brandon Farmer][]
45
+
46
+ [Airbrake]: http://airbrake.io
47
+ [Paratrooper]: https://github.com/mattpolito/paratrooper
48
+ [Brandon Farmer]: https://github.com/bthesorceror
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,12 @@
1
+ require "paratrooper-airbrake/version"
2
+ require 'paratrooper/notifier'
3
+
4
+ module Paratrooper
5
+ module Airbrake
6
+ class Notifier < Paratrooper::Notifier
7
+ def teardown(options = {})
8
+ `airbrake deploy`
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,5 @@
1
+ module Paratrooper
2
+ module Airbrake
3
+ VERSION = "1.0.0"
4
+ end
5
+ end
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'paratrooper-airbrake/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "paratrooper-airbrake"
8
+ gem.version = Paratrooper::Airbrake::VERSION
9
+ gem.authors = ["Brandon Farmer", "Matt Polito"]
10
+ gem.email = ["bthesorceror@gmail.com", "matt.polito@gmail.com"]
11
+ gem.description = %q{Send deploy notifications to Airbrake.io service when deploying with Paratrooper}
12
+ gem.summary = %q{Send deploy notifications to Airbrake.io service when deploying with Paratrooper}
13
+ gem.homepage = "http://github.com/mattpolito/paratrooper-airbrake"
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.add_development_dependency 'rake'
21
+ gem.add_development_dependency 'rspec', '~> 2.12'
22
+ gem.add_development_dependency 'pry'
23
+ gem.add_dependency 'paratrooper', '~> 1.2'
24
+ gem.add_dependency 'airbrake', '~> 3.1'
25
+ end
metadata ADDED
@@ -0,0 +1,125 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: paratrooper-airbrake
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brandon Farmer
8
+ - Matt Polito
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-03-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ! '>='
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ! '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rspec
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: '2.12'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: '2.12'
42
+ - !ruby/object:Gem::Dependency
43
+ name: pry
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: paratrooper
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: '1.2'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '1.2'
70
+ - !ruby/object:Gem::Dependency
71
+ name: airbrake
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: '3.1'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ~>
82
+ - !ruby/object:Gem::Version
83
+ version: '3.1'
84
+ description: Send deploy notifications to Airbrake.io service when deploying with
85
+ Paratrooper
86
+ email:
87
+ - bthesorceror@gmail.com
88
+ - matt.polito@gmail.com
89
+ executables: []
90
+ extensions: []
91
+ extra_rdoc_files: []
92
+ files:
93
+ - .gitignore
94
+ - Gemfile
95
+ - LICENSE.txt
96
+ - README.md
97
+ - Rakefile
98
+ - lib/paratrooper-airbrake.rb
99
+ - lib/paratrooper-airbrake/version.rb
100
+ - paratrooper-airbrake.gemspec
101
+ homepage: http://github.com/mattpolito/paratrooper-airbrake
102
+ licenses: []
103
+ metadata: {}
104
+ post_install_message:
105
+ rdoc_options: []
106
+ require_paths:
107
+ - lib
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ! '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ requirements: []
119
+ rubyforge_project:
120
+ rubygems_version: 2.0.3
121
+ signing_key:
122
+ specification_version: 4
123
+ summary: Send deploy notifications to Airbrake.io service when deploying with Paratrooper
124
+ test_files: []
125
+ has_rdoc: