rollbar 0.9.6 → 0.9.7

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.7**
4
+ - Use `include?` instead of `in?` for filtering (see [#34](https://github.com/rollbar/rollbar-gem/pull/34))
5
+
3
6
  **0.9.6**
4
7
  - Fix for Rails 4 support
5
8
 
data/THANKS.md ADDED
@@ -0,0 +1,17 @@
1
+ # Contributors
2
+
3
+ Huge thanks to the following contributors (by github username). For the most up-to-date list, see https://github.com/rollbar/rollbar-gem/graphs/contributors
4
+
5
+ - [arr-ee](https://github.com/arr-ee)
6
+ - [dimko](https://github.com/dimko)
7
+ - [firstbanco](https://github.com/firstbanco)
8
+ - [ixti](https://github.com/ixti)
9
+ - [JoshuaOSHickman](https://github.com/JoshuaOSHickman)
10
+ - [juggler](https://github.com/juggler)
11
+ - [kavu](https://github.com/kavu)
12
+ - [magnolia-fan](https://github.com/magnolia-fan)
13
+ - [mipearson](https://github.com/mipearson)
14
+ - [siong1987](https://github.com/siong1987)
15
+ - [trisweb](https://github.com/trisweb)
16
+ - [tysontate](https://github.com/tysontate)
17
+ - [wbond](https://github.com/wbond)
@@ -91,11 +91,11 @@ module Rollbar
91
91
 
92
92
  def rollbar_filtered_params(sensitive_params, params)
93
93
  params.inject({}) do |result, (key, value)|
94
- if key.to_sym.in?(sensitive_params)
94
+ if sensitive_params.include?(key.to_sym)
95
95
  result[key] = '*' * (value.length rescue 8)
96
96
  elsif value.is_a?(Hash)
97
97
  result[key] = rollbar_filtered_params(sensitive_params, value)
98
- elsif value.class.name.in?(ATTACHMENT_CLASSES)
98
+ elsif ATTACHMENT_CLASSES.include?(value.class.name)
99
99
  result[key] = {
100
100
  :content_type => value.content_type,
101
101
  :original_filename => value.original_filename,
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "0.9.6"
2
+ VERSION = "0.9.7"
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.6
4
+ version: 0.9.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-03 00:00:00.000000000 Z
12
+ date: 2013-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -137,7 +137,7 @@ files:
137
137
  - LICENSE
138
138
  - README.md
139
139
  - Rakefile
140
- - THANKS
140
+ - THANKS.md
141
141
  - UPGRADE_FROM_RATCHET.md
142
142
  - lib/generators/rollbar/rollbar_generator.rb
143
143
  - lib/generators/rollbar/templates/initializer.rb
data/THANKS DELETED
@@ -1,14 +0,0 @@
1
- Huge thanks to the following contributors (by github username). For the most up-to-date list, see https://github.com/rollbar/rollbar-gem/graphs/contributors
2
-
3
- arr-ee
4
- dimko
5
- firstbanco
6
- JoshuaOSHickman
7
- juggler
8
- kavu
9
- magnolia-fan
10
- mipearson
11
- siong1987
12
- trisweb
13
- tysontate
14
- wbond