airbrake-ruby 3.2.2-java → 3.2.3-java
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/filter_chain.rb +2 -2
- data/lib/airbrake-ruby/version.rb +1 -1
- data/spec/filter_chain_spec.rb +11 -0
- metadata +2 -92
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6cc676f0b3c50c252a974f5c07321e15aa322d5
|
4
|
+
data.tar.gz: 984d90b0ae217f25ecfb05ac23dabb5153a306dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 343a7da97d6b078efa9fbc06d9134ff8a0104298dccac655deef31dc579d8e7ea7bf8e9dff0514fe5991407726ae9e29e6ea4530433aa7e132d6a957903f509d
|
7
|
+
data.tar.gz: b988834c61b2562b94e39ccea3b0443ac42faadcfae129d40ec33867edf184f6fd3fa02b332dc7693fb57c5c657002dc4d136b1a4f996d464d458b3d47c13a60
|
@@ -76,7 +76,7 @@ module Airbrake
|
|
76
76
|
|
77
77
|
# @return [String] customized inspect to lessen the amount of clutter
|
78
78
|
def inspect
|
79
|
-
@filters.map(&:class)
|
79
|
+
@filters.map(&:class).to_s
|
80
80
|
end
|
81
81
|
|
82
82
|
# @return [String] {#inspect} for PrettyPrint
|
@@ -84,7 +84,7 @@ module Airbrake
|
|
84
84
|
q.text('[')
|
85
85
|
|
86
86
|
# Make nesting of the first element consistent on JRuby and MRI.
|
87
|
-
q.nest(2) { q.breakable }
|
87
|
+
q.nest(2) { q.breakable } if @filters.any?
|
88
88
|
|
89
89
|
q.nest(2) do
|
90
90
|
q.seplist(@filters) { |f| q.pp(f.class) }
|
data/spec/filter_chain_spec.rb
CHANGED
@@ -80,4 +80,15 @@ RSpec.describe Airbrake::FilterChain do
|
|
80
80
|
expect(notice[:params][:foo]).to eq([2])
|
81
81
|
end
|
82
82
|
end
|
83
|
+
|
84
|
+
describe "#inspect" do
|
85
|
+
it "returns a string representation of an empty FilterChain" do
|
86
|
+
expect(subject.inspect).to eq('[]')
|
87
|
+
end
|
88
|
+
|
89
|
+
it "returns a string representation of a non-empty FilterChain" do
|
90
|
+
subject.add_filter(proc {})
|
91
|
+
expect(subject.inspect).to eq('[Proc]')
|
92
|
+
end
|
93
|
+
end
|
83
94
|
end
|
metadata
CHANGED
@@ -1,105 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Airbrake Technologies, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rspec
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '3'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '10'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '10'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: pry
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: webmock
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '2.3'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '2.3'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: benchmark-ips
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '2'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '2'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: public_suffix
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '2.0'
|
90
|
-
- - "<"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '3.0'
|
93
|
-
type: :development
|
94
|
-
prerelease: false
|
95
|
-
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '2.0'
|
100
|
-
- - "<"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '3.0'
|
103
13
|
- !ruby/object:Gem::Dependency
|
104
14
|
name: rbtree-jruby
|
105
15
|
requirement: !ruby/object:Gem::Requirement
|