airbrake-ruby 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/airbrake-ruby/notifier.rb +1 -0
- data/lib/airbrake-ruby/version.rb +1 -1
- data/spec/notifier_spec.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca403eaf9b4aeb5fb5ca045087642ad1401e738c
|
4
|
+
data.tar.gz: 34696a178cd229b8af3c2c9a5f99bef94e2b72d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e52ed3bda29d983c09d8998a084f5c3a1c937f37872e624bc4769936552bad215394ced32cbf6d04ff5083c882db3fd5b5b6dc5c7601ecae29f4371830dc4fd
|
7
|
+
data.tar.gz: 90dc365fc8000e40192a959aeea5bec8693451c75e79925640b62186d78bebd92467887983f5b6ca70ba05b4e465222552ba36e788c4e6fc0623ee9e12ab3bf0
|
data/spec/notifier_spec.rb
CHANGED
@@ -81,6 +81,13 @@ RSpec.describe Airbrake::Notifier do
|
|
81
81
|
with(body: expected_body)
|
82
82
|
).to have_been_made.once
|
83
83
|
end
|
84
|
+
|
85
|
+
it "appends provided params to the notice" do
|
86
|
+
notice = @airbrake.build_notice(ex)
|
87
|
+
@airbrake.notify_sync(notice, bingo: 'bango')
|
88
|
+
|
89
|
+
expect_a_request_with_body(/"params":{.*"bingo":"bango".*}/)
|
90
|
+
end
|
84
91
|
end
|
85
92
|
end
|
86
93
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
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: 2016-
|
11
|
+
date: 2016-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|