production_toolkit 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: de2f2e4a2662ff50dd78b10f8ad21ea822988203
4
- data.tar.gz: 92be2a2954d41a34b1a2eb4475eb3aa699995f0e
3
+ metadata.gz: 34ddd65e4397f91bda5ce0b8addcb6a0e5afb9ce
4
+ data.tar.gz: 10030f31896350f41d5b47ec378a756552bbe2fb
5
5
  SHA512:
6
- metadata.gz: 1a928182dda24f006d972a4b36b50c4bb97fc7e181c1abc2fec0726b1a44bcfa0b6511d53dbfdcdf486bba8d1933aa3671a4c0cf916b97ea8ca732f9ccd8f37e
7
- data.tar.gz: c3514a9b46553636794303be1ff50222ad21ffe2610481d905c2a31a2166fe2335ecf9e807e48740ef7f9b36514ba07eb4bc6de9128f95cba26dbeecdea22acf
6
+ metadata.gz: f3ee90e0491f1ef180a531c9f2ba9ff8f48aea30bdbc2804ae84790d61cceff4d945715ac423f18a68d24d33e24c45740071de7eb1c724010478253886a6c970
7
+ data.tar.gz: c11009f6f8f203a259f53d813f62a67c47fdc60c9defbc2e67dbbda853d8edbbf05481364b396769b6743ee371e77d260bb89b8c4ba1fa959c3682b0967ebb92
@@ -1,3 +1,8 @@
1
+ ## Production Toolkit 0.3.2 ##
2
+
3
+ * [TT-6412] Ignore logging health checks
4
+ * [TT-6412] Add additional headers to be scrubed from rollbar
5
+
1
6
  ## Production Toolkit 0.3.1 ##
2
7
 
3
8
  * [TT-6387] Fix initalisation error when sprockets is not installed
@@ -1,6 +1,7 @@
1
1
  if defined?(Rails) && Rails.env.production?
2
2
  Rails.application.class.configure do
3
3
  config.lograge.enabled = true
4
+ config.lograge.ignore_actions = ['status#index']
4
5
 
5
6
  # Disable sprockets asset logging
6
7
  config.assets.logger = false if config.respond_to?(:assets)
@@ -46,7 +46,7 @@ class RollbarConfigurator
46
46
  config.environment = rollbar_config.environment
47
47
  config.exception_level_filters.merge!('ActionController::RoutingError' => 'ignore')
48
48
  config.scrub_fields |= [:access_token, :client_token, :api_key]
49
- config.scrub_headers |= ["X-API-KEY", :access_token]
49
+ config.scrub_headers |= ["X-API-KEY", :access_token, :client_token, :api_key]
50
50
  end
51
51
  end
52
52
 
@@ -1,3 +1,3 @@
1
1
  module ProductionToolkit
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: production_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-25 00:00:00.000000000 Z
11
+ date: 2019-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rollbar