blouson 1.1.0 → 1.1.1

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
2
  SHA256:
3
- metadata.gz: 6ad669af9102968f46d5359d6d286e7abe8a67f377c66dc59c42ea58e25082c1
4
- data.tar.gz: dd62f6ea3a7bc021dbe9ea22aef53ad1208f954f5a9dcfbe795126eb4fd31d73
3
+ metadata.gz: 1a088372f568649175af63be6d52577a3847dd532664ea5a2370ccdf40a4f3db
4
+ data.tar.gz: c13bc3482ec0a909d85cddb8b4a404ce6f072360b1f5d91fd49e959d70ba1785
5
5
  SHA512:
6
- metadata.gz: f43a624ded7239bd0651503a2893f9a7a8e7a10aa178cf06fd6520dda27b534374d35fcbd539d8c6d6bd0113ddcc2132c87d87fcefe83d8a0e3b2ce2cfdaa627
7
- data.tar.gz: b645e860e18ddf99e36bc758a3982cf40796fc73c10eabb2229bed0d0a964b7ed3b9046841ad1ac8e6d7063225d9913d8aced500913fdfb71ddd7249f133db0c
6
+ metadata.gz: 6213fbb353b32e31154ea5e986103ec1b6568e82c1cea386062259f4ed99fb2a4a734d4d3c7fec7d2aa184ba65dd671030861125108e47830f6685a3369510e2
7
+ data.tar.gz: 6fa70f5b597dca1c95929c51c08c5ef4284ee3fe0daf15d7a44a17f9f4c2abf3e9ce2c5b933cc8b750e25b795804ec3a690cbc74841e2d4f82ef252b93229c91
data/Appraisals CHANGED
@@ -1,13 +1,3 @@
1
- appraise 'rails-4.0' do
2
- gem 'rails', '~> 4.0.0'
3
- gem 'mysql2', '~> 0.3.10'
4
- end
5
-
6
- appraise 'rails-4.1' do
7
- gem 'rails', '~> 4.1.0'
8
- gem 'mysql2', '~> 0.3.13'
9
- end
10
-
11
1
  appraise 'rails-4.2' do
12
2
  gem 'rails', '~> 4.2.0'
13
3
  end
@@ -20,4 +10,8 @@ appraise 'rails-5.1' do
20
10
  gem 'rails', '~> 5.1.0'
21
11
  end
22
12
 
13
+ appraise 'rails-5.2' do
14
+ gem 'rails', '~> 5.2.0'
15
+ end
16
+
23
17
  # vim: set ft=ruby:
@@ -1,3 +1,6 @@
1
+ # 1.1.1 (2019-09-27)
2
+ - Change to use ActiveSupport::LoggerSilence for thread safety #10
3
+
1
4
  # 1.1.0 (2019-08-09)
2
5
  - Add feature to filter sensitive mail logs.
3
6
 
@@ -5,12 +5,9 @@ module Blouson
5
5
  return super(sql, name)
6
6
  end
7
7
 
8
- begin
9
- ActiveRecord::Base.logger.level = Logger::INFO
8
+ ActiveRecord::Base.logger.silence(Logger::INFO) do
10
9
  Rails.logger.info " [Blouson::SensitiveTableQueryLogSilencer] SQL Log is skipped for sensitive table"
11
10
  super(sql, name)
12
- ensure
13
- ActiveRecord::Base.logger.level = Logger::DEBUG
14
11
  end
15
12
  end
16
13
  end
@@ -1,3 +1,3 @@
1
1
  module Blouson
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
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.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cookpad Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-09 00:00:00.000000000 Z
11
+ date: 2019-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails