rollbar 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ **0.9.12**
4
+ - Fix compatibility issue with Rails 4 / Ruby 2 (thanks [johnknott](https://github.com/johnknott))
5
+
3
6
  **0.9.11**
4
7
  - Provide a default environment name when used outside of Rails and none is set
5
8
 
data/THANKS.md CHANGED
@@ -6,6 +6,7 @@ Huge thanks to the following contributors (by github username). For the most up-
6
6
  - [dimko](https://github.com/dimko)
7
7
  - [firstbanco](https://github.com/firstbanco)
8
8
  - [ixti](https://github.com/ixti)
9
+ - [johnknott](https://github.com/johnknott)
9
10
  - [JoshuaOSHickman](https://github.com/JoshuaOSHickman)
10
11
  - [juggler](https://github.com/juggler)
11
12
  - [kavu](https://github.com/kavu)
@@ -94,7 +94,7 @@ module Rollbar
94
94
  if params.nil?
95
95
  {}
96
96
  else
97
- params.inject({}) do |result, (key, value)|
97
+ params.to_hash.inject({}) do |result, (key, value)|
98
98
  if sensitive_params.include?(key.to_sym)
99
99
  result[key] = '*' * (value.length rescue 8)
100
100
  elsif value.is_a?(Hash)
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "0.9.11"
2
+ VERSION = "0.9.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.11
4
+ version: 0.9.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: