raygun4ruby 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/raygun/services/apply_whitelist_filter_to_payload.rb +5 -1
- data/lib/raygun/version.rb +1 -1
- 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: 80ada759d3d4ae7ad92f5228c4d802fe43f77280
|
4
|
+
data.tar.gz: eda49a02950403ce1d8db66a379848deb9de014b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f39b4a45ec2e353cd1520f5dd688a40b7e39fbce62fac93c23b88a96cd8d7ee811c5f596bf0dd78ff31e61be3fc3e2920ca8d24ea7450b290da2d10c9045be7
|
7
|
+
data.tar.gz: 83576e29d1e5156219fadfa97924fcedb49543a6597ef79f9532c188a0cf45e4653cee43ed9417d9cdfd4c784dffcfdb5f2d7a6261e220b2b33c2c024ca58f26
|
data/CHANGELOG.md
CHANGED
@@ -8,13 +8,17 @@ module Raygun
|
|
8
8
|
private
|
9
9
|
|
10
10
|
def filter_hash(whitelist, hash)
|
11
|
+
# dup the input so each level of the hash is dup'd
|
12
|
+
# not just the top as dup isn't deep
|
13
|
+
hash = hash.dup
|
14
|
+
|
11
15
|
hash.each do |k, v|
|
12
16
|
unless whitelist && (whitelist[k] || whitelist[k.to_sym])
|
13
17
|
hash[k] = '[FILTERED]'
|
14
18
|
end
|
15
19
|
|
16
20
|
if v.is_a?(Hash) && whitelist[k].is_a?(Hash)
|
17
|
-
filter_hash(whitelist[k], v)
|
21
|
+
hash[k] = filter_hash(whitelist[k], v)
|
18
22
|
end
|
19
23
|
end
|
20
24
|
end
|
data/lib/raygun/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mindscape
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-03-
|
12
|
+
date: 2017-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|