airbrake 7.3.5 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/airbrake/version.rb +1 -1
- data/spec/integration/rails/rake_spec.rb +1 -1
- data/spec/integration/shared_examples/rack_examples.rb +1 -1
- data/spec/integration/sinatra/sinatra_spec.rb +2 -2
- data/spec/unit/logger_spec.rb +1 -1
- data/spec/unit/rack/middleware_spec.rb +2 -2
- data/spec/unit/rack/user_spec.rb +1 -1
- data/spec/unit/rake/tasks_spec.rb +2 -2
- data/spec/unit/shoryuken_spec.rb +1 -1
- data/spec/unit/sidekiq_spec.rb +1 -1
- data/spec/unit/sneakers_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac1ef23c5180983961f8a55e150443cb90ec92aa
|
4
|
+
data.tar.gz: ed676f689b5b7fc965a7235f8b7c114ada734079
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebd1afea0eece28fe5e8b1bdd63e886f48e8150d6a2bf2a504aa1fac7f9f60c75b65483335be73b729d5f6ce9dc4b7b7bad71a60a0d311dba0d9df39182edf4b
|
7
|
+
data.tar.gz: 8268bbc33ec9bbbfd9f1a33de99afe3c45d0aedff28a131a902dc739b065004d1295d0ed8be57687e60f8ce8c0954a1cc1bdeebcd315f4b1c4766022c050be82
|
data/lib/airbrake/version.rb
CHANGED
@@ -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)
|
data/spec/unit/logger_spec.rb
CHANGED
@@ -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
|
data/spec/unit/rack/user_spec.rb
CHANGED
@@ -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
|
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)
|
data/spec/unit/shoryuken_spec.rb
CHANGED
@@ -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
|
data/spec/unit/sidekiq_spec.rb
CHANGED
@@ -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
|
data/spec/unit/sneakers_spec.rb
CHANGED
@@ -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.
|
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-
|
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.
|
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.
|
26
|
+
version: '2.12'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|