airbrake-ruby 2.8.1 → 2.8.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/filters/keys_filter.rb +2 -0
- data/lib/airbrake-ruby/version.rb +1 -1
- data/spec/filters/keys_blacklist_spec.rb +11 -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: d1e08da9f4a17b7b27c73747159c8ce19f299e29
|
4
|
+
data.tar.gz: 9b5cb1bb1834efc17b761d223752c6aa4b80de80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6768fc9937d7c5dfad8a67d06b84eae878d384d3b6e495982d0b79bf7c455f9c5cf19e7cd49e2590486f8910add4ca98fb098d2b96ebdeaf2b003c49f614250d
|
7
|
+
data.tar.gz: 8e52117467dc6f2c518eb3aeac674548d89a31b426deb05147c8667dcb0d80c76041d95bbf6125582fec4b821d52d761e2b15611c546f4a9f6350a171ef4d8c7
|
@@ -60,6 +60,17 @@ RSpec.describe Airbrake::Filters::KeysBlacklist do
|
|
60
60
|
)
|
61
61
|
end
|
62
62
|
|
63
|
+
context "when a pattern is a Array of Hash" do
|
64
|
+
include_examples(
|
65
|
+
'pattern matching',
|
66
|
+
['bingo'],
|
67
|
+
[
|
68
|
+
{ array: [bingo: 'bango'] },
|
69
|
+
{ array: [bingo: '[Filtered]'] }
|
70
|
+
]
|
71
|
+
)
|
72
|
+
end
|
73
|
+
|
63
74
|
context "when a Proc pattern was provided" do
|
64
75
|
context "along with normal keys" do
|
65
76
|
include_examples(
|
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: 2.8.
|
4
|
+
version: 2.8.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: 2018-
|
11
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|