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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d511b87d8d5205fac0cadd2ae345d84e489b36c4
4
- data.tar.gz: 87b0e0a0e137d18c53b4249f7737e05b5d983215
3
+ metadata.gz: 457551c314d702ba2fd0fbb5d1095c83f16d2114
4
+ data.tar.gz: c0fc421ef9e022567c5153a7fa65d95229bde807
5
5
  SHA512:
6
- metadata.gz: 6275f3a0bf07695a3d96bb82ff69a896c03d6e20882cbbc502cf293ef4cb7260a2ab62204a54bfde77c5114296f873eb75ff1afa9448e54ceeee3c7ad2ca7e94
7
- data.tar.gz: 3ab0f7aae0ea18e1a8b288962597d7fdb92816dce8d4da869896e9ef8a49a0ca521736312304f945abf6c5cd5e731a6b49bf72ee6629e308023d30b375c8858c
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Airbrake
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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