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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42d72f8d8e477c4bf14ae9de2ea95e9c8f74983e
4
- data.tar.gz: bfa9dfbb737fa0cfa88e1c2e099dceb3e4b5a68b
3
+ metadata.gz: b6cc676f0b3c50c252a974f5c07321e15aa322d5
4
+ data.tar.gz: 984d90b0ae217f25ecfb05ac23dabb5153a306dc
5
5
  SHA512:
6
- metadata.gz: 2142c456965c81f195dcff43ceadaad1c3751c512624c3be211eeb70739b4b33f9a0571099f443729470829863e98800bb45134a29ee4fceb171ad3efce42591
7
- data.tar.gz: e068eb8da64c4e17c8d78127283fdbb5d596823d2fee6aca7fa214a80159f80f2ddeea2c1cece61d0214ecaa342fb9e0947694e0925911f03c095b7d2f5846ff
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) }
@@ -2,5 +2,5 @@
2
2
  # More information: http://semver.org/
3
3
  module Airbrake
4
4
  # @return [String] the library version
5
- AIRBRAKE_RUBY_VERSION = '3.2.2'.freeze
5
+ AIRBRAKE_RUBY_VERSION = '3.2.3'.freeze
6
6
  end
@@ -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.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 00:00:00.000000000 Z
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