blouson 1.0.2 → 1.0.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
- SHA1:
3
- metadata.gz: 3f0289a12d72b9395df1eda3e175fb719eeca8f9
4
- data.tar.gz: b3eabf713614461869750438ffc28a4855baf55a
2
+ SHA256:
3
+ metadata.gz: 8f9575654a89180550fb446183db9d6935efd25cc77c2548c92365d73f69619f
4
+ data.tar.gz: '087596650cb1589c8d3f9e0c9f1b305f7946f4f15bde401c5a192a42b9844fdc'
5
5
  SHA512:
6
- metadata.gz: fe01b3072ceb5bc18903850320cd53c937df2b3132e75637e36158fc6ddf854ff5ec2613440952667d19ddd3497de22d9c826969efca5013cecf6c80769b5642
7
- data.tar.gz: da9de96010abbc0bd01299206e38f6b45e774fe80071c797d84a1e72bc88701d0677247ccb4b07e58518bd2afb32b6b7e1786cc5ac486647f28f5e58e7e6fe01
6
+ metadata.gz: 1c01fe6b8d64ed50928b3f2863eef629f169559d2c2e0b180dc2721b21421dccf0cae2ee017e8b929e7c538375f0f2ae0ec2118096f716027a082d69f9705a39
7
+ data.tar.gz: 03d663ac04d65ba878620d0e9f555f6c3e5fa6280666e807089c9a48cad7fe684379ee9bd18b7dba29875a168206178555738aab54f3e310456e03aa60810d83
@@ -1,3 +1,6 @@
1
+ # 1.0.3 (2018-12-18)
2
+ - Fix Blouson::SensitiveQueryFilter::StatementInvalidErrorFilter for exceptions created with no arguments (like ActiveRecord::NoDatabaseError)
3
+
1
4
  # 1.0.2 (2017-09-21)
2
5
  - Change Raven filter's secure_headers config to be case insensitive https://github.com/cookpad/blouson/pull/4
3
6
 
@@ -15,7 +15,7 @@ module Blouson
15
15
  end
16
16
 
17
17
  module StatementInvalidErrorFilter
18
- def initialize(message, original_exception = nil)
18
+ def initialize(message = nil, original_exception = nil)
19
19
  if SensitiveQueryFilter.contain_sensitive_query?(message)
20
20
  message = SensitiveQueryFilter.filter_sensitive_words(message)
21
21
  if defined?(Mysql2::Error)
@@ -1,3 +1,3 @@
1
1
  module Blouson
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blouson
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cookpad Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-21 00:00:00.000000000 Z
11
+ date: 2018-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  requirements: []
190
190
  rubyforge_project:
191
- rubygems_version: 2.5.2
191
+ rubygems_version: 2.7.6
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Filter tools to mask sensitive data in various logs