capistrano-airbrake 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -1
- data/lib/capistrano-airbrake.rb +0 -0
- data/lib/capistrano/airbrake/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 457551c314d702ba2fd0fbb5d1095c83f16d2114
|
4
|
+
data.tar.gz: c0fc421ef9e022567c5153a7fa65d95229bde807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36d7f7bc2a872cc95b21df3e774bc5162c7947fdc83e3cc2625040d948f9be6c1200e3831f9e160a07350621c249c00e347f2e254d33198f1e9c3e5c5e44fa69
|
7
|
+
data.tar.gz: 2e873f4aa812fbd3c40312583c9215f38748eb856e2d457d44af6491c54c5d73969fbb2b9afdf3144179735536035125f094b61293648d09d597266904f05a87
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Capistrano::Airbrake
|
2
2
|
|
3
|
-
Airbrake integration for Capistrano
|
3
|
+
Airbrake integration for Capistrano.
|
4
|
+
Easy deploy notification for your Airbrake / Errbit.
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
@@ -21,6 +22,19 @@ Require in Capfile to use the default task:
|
|
21
22
|
require 'capistrano/rvm'
|
22
23
|
|
23
24
|
And you should be good to go!
|
25
|
+
After `deploy:restart` the task `airbrake:notify_deploy` will be executed.
|
26
|
+
|
27
|
+
## Coniguration
|
28
|
+
|
29
|
+
Everything *should work* out of the box.
|
30
|
+
|
31
|
+
If you need some special settings, set those in the stage file for your server:
|
32
|
+
|
33
|
+
# deploy.rb or stage file (staging.rb, production.rb or else)
|
34
|
+
set :airbrake_args, ->{ "TO=#{fetch(:stage)} REVISION=#{fetch(:airbrake_revision)} REPO=#{fetch(:repo_url)}" }
|
35
|
+
set :airbrake_environment, ->{ fetch :rails_env, "production" }
|
36
|
+
set :airbrake_revision, ->{ fetch :current_revision, "none" }
|
37
|
+
set :airbrake_roles, ->{ :app }
|
24
38
|
|
25
39
|
## Contributing
|
26
40
|
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-airbrake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Helm
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- README.md
|
66
66
|
- Rakefile
|
67
67
|
- capistrano-airbrake.gemspec
|
68
|
+
- lib/capistrano-airbrake.rb
|
68
69
|
- lib/capistrano/airbrake.rb
|
69
70
|
- lib/capistrano/airbrake/version.rb
|
70
71
|
- lib/capistrano/tasks/airbrake.rake
|