airbrake 6.2.1 → 6.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -147,7 +147,6 @@ RSpec.describe "Rails integration specs" do
147
147
  end
148
148
 
149
149
  it "doesn't report errors" do
150
- allow(Airbrake).to receive(:build_notice).and_return(nil)
151
150
  allow(Airbrake).to receive(:notify)
152
151
 
153
152
  # Make sure we don't call `build_notice` more than 1 time. Rack
@@ -165,9 +164,6 @@ RSpec.describe "Rails integration specs" do
165
164
  a_request(:post, endpoint).
166
165
  with(body: /"message":"active_job error"/)
167
166
  ).not_to have_been_made
168
-
169
- expect(Airbrake).to have_received(:build_notice)
170
- expect(Airbrake).not_to have_received(:notify)
171
167
  end
172
168
  end
173
169
  end
data/spec/spec_helper.rb CHANGED
@@ -99,11 +99,11 @@ AirbrakeTestError = Class.new(StandardError)
99
99
 
100
100
  # Print header with versions information. This simplifies debugging of build
101
101
  # failures on CircleCI.
102
- versions = <<EOS
102
+ versions = <<BANNER
103
103
  #{'#' * 80}
104
104
  # RUBY_VERSION: #{RUBY_VERSION}
105
105
  # RUBY_ENGINE: #{RUBY_ENGINE}
106
- EOS
106
+ BANNER
107
107
  versions << "# JRUBY_VERSION #{JRUBY_VERSION}\n" if defined?(JRUBY_VERSION)
108
108
  versions << "# Rails version: #{Rails.version}\n" if defined?(Rails)
109
109
  versions << "# Rack release: #{Rack.release}\n"
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: 6.2.1
4
+ version: 6.3.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: 2017-07-15 00:00:00.000000000 Z
11
+ date: 2017-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.3'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 2.3.1
19
+ version: '2.4'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '2.3'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 2.3.1
26
+ version: '2.4'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rspec
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -170,6 +164,26 @@ dependencies:
170
164
  - - "~>"
171
165
  - !ruby/object:Gem::Version
172
166
  version: '0.47'
167
+ - !ruby/object:Gem::Dependency
168
+ name: public_suffix
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '2.0'
174
+ - - "<"
175
+ - !ruby/object:Gem::Version
176
+ version: '3.0'
177
+ type: :development
178
+ prerelease: false
179
+ version_requirements: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - "~>"
182
+ - !ruby/object:Gem::Version
183
+ version: '2.0'
184
+ - - "<"
185
+ - !ruby/object:Gem::Version
186
+ version: '3.0'
173
187
  - !ruby/object:Gem::Dependency
174
188
  name: sidekiq
175
189
  requirement: !ruby/object:Gem::Requirement
@@ -201,6 +215,9 @@ extensions: []
201
215
  extra_rdoc_files: []
202
216
  files:
203
217
  - lib/airbrake.rb
218
+ - lib/airbrake/capistrano.rb
219
+ - lib/airbrake/capistrano/capistrano2.rb
220
+ - lib/airbrake/capistrano/capistrano3.rb
204
221
  - lib/airbrake/capistrano/tasks.rb
205
222
  - lib/airbrake/delayed_job.rb
206
223
  - lib/airbrake/delayed_job/plugin.rb