airbrake-ruby 2.8.2 → 2.8.3

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: d1e08da9f4a17b7b27c73747159c8ce19f299e29
4
- data.tar.gz: 9b5cb1bb1834efc17b761d223752c6aa4b80de80
3
+ metadata.gz: 3f2a54611d3b5e6242dafa75f513058acf49d48b
4
+ data.tar.gz: 14871f5c3d358fbfa75718c8e1f88f3905657904
5
5
  SHA512:
6
- metadata.gz: 6768fc9937d7c5dfad8a67d06b84eae878d384d3b6e495982d0b79bf7c455f9c5cf19e7cd49e2590486f8910add4ca98fb098d2b96ebdeaf2b003c49f614250d
7
- data.tar.gz: 8e52117467dc6f2c518eb3aeac674548d89a31b426deb05147c8667dcb0d80c76041d95bbf6125582fec4b821d52d761e2b15611c546f4a9f6350a171ef4d8c7
6
+ metadata.gz: e849545f4261e4d1136f3de74a2f0179709c5895f2ab52446c64538e4bcf0201b2d747d3d1e5df7730849148f13748dc6f4b6d227a0b30c548359013d58dd7e3
7
+ data.tar.gz: bf4085ed3db6b3e355a3cbc3b375d47dc74090fa70e20718fb9dac3e701ce3b9d05bf53840193b6fc5b4f75cdbd71916354b0ac0e09a872357bf7b3d5492be9c
@@ -73,6 +73,8 @@ module Airbrake
73
73
  private
74
74
 
75
75
  def filter_hash(hash)
76
+ return hash unless hash.is_a?(Hash)
77
+
76
78
  hash.each_key do |key|
77
79
  if should_filter?(key.to_s)
78
80
  hash[key] = FILTERED
@@ -4,5 +4,5 @@
4
4
  module Airbrake
5
5
  ##
6
6
  # @return [String] the library version
7
- AIRBRAKE_RUBY_VERSION = '2.8.2'.freeze
7
+ AIRBRAKE_RUBY_VERSION = '2.8.3'.freeze
8
8
  end
@@ -65,8 +65,8 @@ RSpec.describe Airbrake::Filters::KeysBlacklist do
65
65
  'pattern matching',
66
66
  ['bingo'],
67
67
  [
68
- { array: [bingo: 'bango'] },
69
- { array: [bingo: '[Filtered]'] }
68
+ { array: [{ bingo: 'bango' }, []] },
69
+ { array: [{ bingo: '[Filtered]' }, []] }
70
70
  ]
71
71
  )
72
72
  end
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.2
4
+ version: 2.8.3
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-03-05 00:00:00.000000000 Z
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec