airbrake 5.0.0 → 5.0.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: 444112058d438d1d60afddd2d18fe604e0056c43
4
- data.tar.gz: 275985dd0bb4949f08e7d881ac74a2ce039f1351
3
+ metadata.gz: f61198ae3f44ed8012912bcacecd4d3968c762e2
4
+ data.tar.gz: c64fd32fc1e5b63b1c25ce8d29f8cb107fa1298b
5
5
  SHA512:
6
- metadata.gz: aff3b34806a8391c5cb917cc8cd02e3de21120cec7f04d214f5b85becbb38495b4de039e952e2f76f03990da68640fcc89549151e26bb57560039493af0eb775
7
- data.tar.gz: 6438d408657247dbb1d6cf93cf9c77ab9d2f9e389ec64af55d6d5dd54b8311e910ca2d91d97739d86a3b9a0492421abce818919d9fe61d377b7c20f2af5078c7
6
+ metadata.gz: db018ad722ee742160659d09cc128f91e484b26d48d1c319b1e485b25869354a3410d3185274553a0a4b3f58dde9354769e2c1a98802a9e5eff91c4859eb17db
7
+ data.tar.gz: f85054a16ab69165d424c2e1dfa1dc46faac80667f3db66304c85716335fbcfe266da2fe9f5a3267a239f7398b49b88b7287f5e14aec0b350680a9e83cd1ce6f
@@ -6,7 +6,8 @@ if defined?(Capistrano::VERSION) &&
6
6
  namespace :airbrake do
7
7
  desc "Notify Airbrake of the deploy"
8
8
  task :deploy do
9
- on roles(:all) do
9
+ role = roles(:all, select: :primary).first || roles(:all).first
10
+ on role do
10
11
  within release_path do
11
12
  with rails_env: fetch(:rails_env, fetch(:stage)) do
12
13
  execute :rake, <<-CMD
@@ -2,5 +2,5 @@
2
2
  # We use Semantic Versioning v2.0.0
3
3
  # More information: http://semver.org/
4
4
  module Airbrake
5
- AIRBRAKE_VERSION = '5.0.0'.freeze
5
+ AIRBRAKE_VERSION = '5.0.1'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airbrake Technologies, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-18 00:00:00.000000000 Z
11
+ date: 2015-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby
@@ -251,4 +251,3 @@ test_files:
251
251
  - spec/unit/rack/notice_builder_spec.rb
252
252
  - spec/unit/sidekiq/error_handler_spec.rb
253
253
  - spec/unit/rake/tasks_spec.rb
254
- has_rdoc: