chihiro 0.3.6 → 0.3.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aba4e872ff6ea7f79ba531b8e757da3d858f78be7a176013d342b7c7bc153dd5
4
- data.tar.gz: 94a6cdc26a1dc25fc7464ff9b6e36ed3b305c2a9c906f27def85ac3289add1d3
3
+ metadata.gz: bbe05874ac15f0eb91ec65be0d3f5b197d00d3009ca8a59c54a4b7efe2f27398
4
+ data.tar.gz: 1f60735bb2f90743f8b90828411e7cf78b10d93d6145402e45c89a80be8471e6
5
5
  SHA512:
6
- metadata.gz: e7dfd000bb8eaed9e26b8ecd696984251a93dde3e8d05c814635680d21e36bd3217fe7269fe5cbff786643396834794964cf2db16402bea9be20c13978cf7f2a
7
- data.tar.gz: 89917e7797282c42a8ae3ecb65d72b7dc0b41eae4e52d6d1fd40cdf00020158d32f776d18c7626d0b52efae048486f0668cd7bbb95ffb20743b7dcdb85214097
6
+ metadata.gz: 0c0d2045db8303b6126a0c8fcee3eb20784a2488cb9580115a08ba94d40accbfab3a74b18ab68aebe187ce5f49bd8d72e0fc8f1bc57049e203e13d232351bd3f
7
+ data.tar.gz: 423f0769c36940f5b77df54778ef052bc0debe0c3a00799166a87ee7978bc79caf3116ee7e3ee50a776accadb04e180ac07c621f87dd91d42015803be016e677
data/README.md CHANGED
@@ -24,7 +24,7 @@ add `Chihiro::Initializer.new.execute` to your `application.rb`
24
24
 
25
25
  ## Contributing
26
26
 
27
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/chihiro. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
27
+ Bug reports and pull requests are welcome on GitHub at https://github.com/blockchaintech-au/chihiro. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
28
28
 
29
29
  ## License
30
30
 
@@ -21,12 +21,13 @@ module Chihiro
21
21
  config.colorize_logging = false
22
22
  config.lograge.enabled = true
23
23
  config.lograge.base_controller_class = 'ActionController::API'
24
- config.lograge.ignore_actions = ['HealthCheckController#index']
25
-
26
- logger = ActiveSupport::Logger.new(STDOUT)
27
- logger.formatter = config.log_formatter
28
- config.logger = logger
24
+ config.lograge.ignore_actions = ['HealthCheckController#index', 'HealthCheckController#quick_health']
29
25
 
26
+ if ENV['RAILS_LOG_TO_STDOUT'].present?
27
+ logger = ActiveSupport::Logger.new(STDOUT)
28
+ logger.formatter = config.log_formatter
29
+ config.logger = logger
30
+ end
30
31
  end
31
32
  end
32
33
  end
@@ -27,6 +27,7 @@ module Chihiro
27
27
 
28
28
  def masks
29
29
  @all_masks ||= {
30
+ 'private_key' => mask_all_characters,
30
31
  'password' => mask_all_characters,
31
32
  'account_number' => mask_all_characters,
32
33
  'token' => mask_all_characters,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Chihiro
4
- VERSION = '0.3.6'
4
+ VERSION = '0.3.8'
5
5
  end
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chihiro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shu Hui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-20 00:00:00.000000000 Z
11
+ date: 2018-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge
@@ -115,6 +115,8 @@ files:
115
115
  - pkg/chihiro-0.3.2.gem
116
116
  - pkg/chihiro-0.3.3.gem
117
117
  - pkg/chihiro-0.3.5.gem
118
+ - pkg/chihiro-0.3.6.gem
119
+ - pkg/chihiro-0.3.7.gem
118
120
  - spec/chihiro_spec.rb
119
121
  - spec/mask_util_spec.rb
120
122
  - spec/spec_helper.rb