airbrake 7.3.5 → 7.4.0

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: 5157dbffb72a0645201dc2566ca13774bad5ce9a
4
- data.tar.gz: 89487c79a84ba9d2a364956990e317e840b2cd52
3
+ metadata.gz: ac1ef23c5180983961f8a55e150443cb90ec92aa
4
+ data.tar.gz: ed676f689b5b7fc965a7235f8b7c114ada734079
5
5
  SHA512:
6
- metadata.gz: 7eed5aa480f4b3b4eaefa6f5e7924384d137c37307b9aab4d8ff8a8bb98b91b68e3e712d14f3b1dccf8cc1a0d3209cfc95174696d63fe843c8fcc5650282263f
7
- data.tar.gz: 2c6d8e87eb5f277e8f6780a499a7a0154d88599487c09f0e3f5fb14831212d0c634fb7f70a0b1bd36eab4ca78b1415821f84f3b33b8c009da15668e844230e71
6
+ metadata.gz: ebd1afea0eece28fe5e8b1bdd63e886f48e8150d6a2bf2a504aa1fac7f9f60c75b65483335be73b729d5f6ce9dc4b7b7bad71a60a0d311dba0d9df39182edf4b
7
+ data.tar.gz: 8268bbc33ec9bbbfd9f1a33de99afe3c45d0aedff28a131a902dc739b065004d1295d0ed8be57687e60f8ce8c0954a1cc1bdeebcd315f4b1c4766022c050be82
@@ -1,5 +1,5 @@
1
1
  # We use Semantic Versioning v2.0.0
2
2
  # More information: http://semver.org/
3
3
  module Airbrake
4
- AIRBRAKE_VERSION = '7.3.5'.freeze
4
+ AIRBRAKE_VERSION = '7.4.0'.freeze
5
5
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  RSpec.describe "Rake integration" do
4
- let(:endpoint) { 'https://airbrake.io/api/v3/projects/113743/notices' }
4
+ let(:endpoint) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
5
5
 
6
6
  def wait_for_a_request_with_body(body)
7
7
  wait_for(a_request(:post, endpoint).with(body: body)).to have_been_made.once
@@ -3,7 +3,7 @@ RSpec.shared_examples 'rack examples' do
3
3
 
4
4
  after { Warden.test_reset! }
5
5
 
6
- let(:endpoint) { 'https://airbrake.io/api/v3/projects/113743/notices' }
6
+ let(:endpoint) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
7
7
 
8
8
  def wait_for_a_request_with_body(body)
9
9
  wait_for(a_request(:post, endpoint).with(body: body)).to have_been_made.once
@@ -20,8 +20,8 @@ RSpec.describe "Sinatra integration specs" do
20
20
  end
21
21
 
22
22
  context "when multiple apps are mounted" do
23
- let(:endpoint1) { 'https://airbrake.io/api/v3/projects/113743/notices' }
24
- let(:endpoint2) { 'https://airbrake.io/api/v3/projects/99123/notices' }
23
+ let(:endpoint1) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
24
+ let(:endpoint2) { 'https://api.airbrake.io/api/v3/projects/99123/notices' }
25
25
 
26
26
  def env_for(url, opts = {})
27
27
  Rack::MockRequest.env_for(url, opts)
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  RSpec.describe Airbrake::AirbrakeLogger do
4
4
  let(:project_id) { 113743 }
5
5
  let(:project_key) { 'fd04e13d806a90f96614ad8e529b2822' }
6
- let(:endpoint) { "https://airbrake.io/api/v3/projects/#{project_id}/notices" }
6
+ let(:endpoint) { "https://api.airbrake.io/api/v3/projects/#{project_id}/notices" }
7
7
 
8
8
  let(:airbrake) do
9
9
  Airbrake::Notifier.new(project_id: project_id, project_key: project_key)
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  RSpec.describe Airbrake::Rack::Middleware do
4
4
  let(:app) { proc { |env| [200, env, 'Bingo bango content'] } }
5
5
  let(:faulty_app) { proc { raise AirbrakeTestError } }
6
- let(:endpoint) { 'https://airbrake.io/api/v3/projects/113743/notices' }
6
+ let(:endpoint) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
7
7
  let(:middleware) { described_class.new(app) }
8
8
 
9
9
  def env_for(url, opts = {})
@@ -30,7 +30,7 @@ RSpec.describe Airbrake::Rack::Middleware do
30
30
  context "when app raises an exception" do
31
31
  context "and when the notifier name is specified" do
32
32
  let(:notifier_name) { :rack_middleware_initialize }
33
- let(:bingo_endpoint) { 'https://airbrake.io/api/v3/projects/92123/notices' }
33
+ let(:bingo_endpoint) { 'https://api.airbrake.io/api/v3/projects/92123/notices' }
34
34
  let(:expected_body) { /"errors":\[{"type":"AirbrakeTestError"/ }
35
35
 
36
36
  before do
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  RSpec.describe Airbrake::Rack::User do
4
- let(:endpoint) { 'https://airbrake.io/api/v3/projects/113743/notices' }
4
+ let(:endpoint) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
5
5
 
6
6
  let(:user) do
7
7
  OpenStruct.new(
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  RSpec.describe "airbrake/rake/tasks" do
4
4
  let(:endpoint) do
5
- 'https://airbrake.io/api/v4/projects/113743/deploys?key=fd04e13d806a90f96614ad8e529b2822'
5
+ 'https://api.airbrake.io/api/v4/projects/113743/deploys'
6
6
  end
7
7
 
8
8
  def wait_for_a_request_with_body(body)
@@ -37,7 +37,7 @@ RSpec.describe "airbrake/rake/tasks" do
37
37
  end
38
38
 
39
39
  context "when Airbrake is not configured" do
40
- let(:deploy_endpoint) { 'https://airbrake.io/api/v3/projects/113743/notices' }
40
+ let(:deploy_endpoint) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
41
41
 
42
42
  before do
43
43
  stub_request(:post, deploy_endpoint)
@@ -14,7 +14,7 @@ RSpec.describe Airbrake::Shoryuken::ErrorHandler do
14
14
  end.new
15
15
  end
16
16
 
17
- let(:endpoint) { 'https://airbrake.io/api/v3/projects/113743/notices' }
17
+ let(:endpoint) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
18
18
 
19
19
  def wait_for_a_request_with_body(body)
20
20
  wait_for(a_request(:post, endpoint).with(body: body)).to have_been_made.once
@@ -6,7 +6,7 @@ if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.2')
6
6
  require 'airbrake/sidekiq'
7
7
 
8
8
  RSpec.describe "airbrake/sidekiq/error_handler" do
9
- let(:endpoint) { 'https://airbrake.io/api/v3/projects/113743/notices' }
9
+ let(:endpoint) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
10
10
 
11
11
  def wait_for_a_request_with_body(body)
12
12
  wait_for(a_request(:post, endpoint).with(body: body)).to have_been_made.once
@@ -22,7 +22,7 @@ RSpec.describe Airbrake::Sneakers::ErrorReporter do
22
22
  end
23
23
 
24
24
  let(:error) { StandardError.new('Something is wrong') }
25
- let(:endpoint) { 'https://airbrake.io/api/v3/projects/113743/notices' }
25
+ let(:endpoint) { 'https://api.airbrake.io/api/v3/projects/113743/notices' }
26
26
 
27
27
  def wait_for_a_request_with_body(body)
28
28
  wait_for(a_request(:post, endpoint).with(body: body)).to have_been_made.once
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: 7.3.5
4
+ version: 7.4.0
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: 2018-08-09 00:00:00.000000000 Z
11
+ date: 2018-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.10'
19
+ version: '2.12'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.10'
26
+ version: '2.12'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement