blouson 1.0.2 → 1.0.3
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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +3 -0
- data/lib/blouson/sensitive_query_filter.rb +1 -1
- data/lib/blouson/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 8f9575654a89180550fb446183db9d6935efd25cc77c2548c92365d73f69619f
|
|
4
|
+
data.tar.gz: '087596650cb1589c8d3f9e0c9f1b305f7946f4f15bde401c5a192a42b9844fdc'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c01fe6b8d64ed50928b3f2863eef629f169559d2c2e0b180dc2721b21421dccf0cae2ee017e8b929e7c538375f0f2ae0ec2118096f716027a082d69f9705a39
|
|
7
|
+
data.tar.gz: 03d663ac04d65ba878620d0e9f555f6c3e5fa6280666e807089c9a48cad7fe684379ee9bd18b7dba29875a168206178555738aab54f3e310456e03aa60810d83
|
data/CHANGELOG.md
CHANGED
|
@@ -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)
|
data/lib/blouson/version.rb
CHANGED
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.
|
|
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:
|
|
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.
|
|
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
|