raven-processor-sanitizessn 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,11 +59,7 @@ module Raven
59
59
  private
60
60
 
61
61
  def parse_as_json(value)
62
- begin
63
- JSON.parse(value)
64
- rescue JSON::ParserError
65
- value
66
- end
62
+ JSON.parse(value) rescue value
67
63
  end
68
64
 
69
65
  def clean_invalid_utf8_bytes(text)
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Raven
2
2
  module Processor
3
3
  module SanitizeSSNVersion
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raven-processor-sanitizessn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-04-18 00:00:00.000000000 Z
13
+ date: 2014-05-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sentry-raven