production_toolkit 0.2.0.pre.alpha.1 → 0.2.0.pre.alpha.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: 263aa6cae3036ca708f5963381c05b2663fb77d8
4
- data.tar.gz: 34d6315d4f1ecd3b585888a6aa403bd4d5d68b92
3
+ metadata.gz: b8b35c0ab79e8d8cc1d11c0a0cc5e982cd043b68
4
+ data.tar.gz: 511980952cdd98b8732d3613e783f7f114fdc6c7
5
5
  SHA512:
6
- metadata.gz: a727d8ad5440a97dbffa5bb4dc605045358981aafedc14565c5bf285d9798b9b92e6a9bc419e6aa5e2d1c5c5581bf8b244be496eba9a25b0182d0457e227b51f
7
- data.tar.gz: c6227ab3cfb160e006ac4f064db4948bd13b6f2809d095cf7daad504031aacc9a1c95d3b3cdac4e89450a6fa0fca63dea1905d7f35b8ac8fa500f008af51305e
6
+ metadata.gz: b88addacb9240c97e4c321c9fe0fec5170da050b07630ae40ff3d29cda25c36b8a463a31477019ac4e5442f2fad501cd7f81ed945ce363ddc5fb241a6fc2ae86
7
+ data.tar.gz: 492fd60b253415cac7d11fab8a16a6040d43ffbab13a8aebe37908b427adde90e82cdb995b54fae363c04895ce7aad8afb2f80ac0c8ab75cb6973111f4c47821
data/CHANGELOG.md CHANGED
@@ -1,23 +1,17 @@
1
- ## Production Toolkit
2
-
3
- ## Unreleased
4
-
5
- * [DO-117] Disable the tag option of the Logentries integration
6
-
7
- ## 0.1.6
1
+ ## Production Toolkit 0.1.6 ##
8
2
 
9
3
  * Fix lograge railtie
10
4
 
11
- ## 0.1.5
5
+ ## Production Toolkit 0.1.5 ##
12
6
 
13
7
  * Fix require in 0.1.4
14
8
  * Fix log level
15
9
 
16
- ## 0.1.4
10
+ ## Production Toolkit 0.1.4 ##
17
11
 
18
12
  * Fix typo in 0.1.3
19
13
 
20
- ## 0.1.3
14
+ ## Production Toolkit 0.1.3 ##
21
15
 
22
16
  * Ignore ActionController::RoutingError in rollbar
23
17
  * Read the log_level from Rails or default to info
@@ -1,7 +1,6 @@
1
1
  module ProductionToolkit
2
2
  class Railtie < Rails::Railtie
3
3
  config.before_initialize do
4
- require 'production_toolkit/initializers/logging'
5
4
  require 'production_toolkit/initializers/rollbar'
6
5
  end
7
6
  end
@@ -1,3 +1,3 @@
1
1
  module ProductionToolkit
2
- VERSION = '0.2.0-alpha.1'
2
+ VERSION = '0.2.0-alpha.2'
3
3
  end
@@ -3,7 +3,6 @@ require 'production_toolkit/railtie' if defined?(Rails)
3
3
  TOOL_DEFAULTS = {
4
4
  config_fetcher: 'pansophy',
5
5
  error_reporting: 'rollbar',
6
- log_files: 'le',
7
6
  performance_monitor: 'newrelic_rpm',
8
7
  server: 'unicorn',
9
8
  log_format: 'production_toolkit/lograge'
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.2.0.pre.alpha.1
4
+ version: 0.2.0.pre.alpha.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: 2017-12-06 00:00:00.000000000 Z
11
+ date: 2018-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rollbar
@@ -233,7 +233,6 @@ files:
233
233
  - README.md
234
234
  - Rakefile
235
235
  - lib/production_toolkit.rb
236
- - lib/production_toolkit/initializers/logging.rb
237
236
  - lib/production_toolkit/initializers/lograge.rb
238
237
  - lib/production_toolkit/initializers/rollbar.rb
239
238
  - lib/production_toolkit/lograge.rb
@@ -1,9 +0,0 @@
1
- if defined?(Rails)
2
- if Rails.env.production?
3
- require 'le'
4
- log_entries_key = Rails.application.secrets.log_entries_key
5
- log_level_symbol = Rails.application.config.log_level || :info
6
- log_level = Logger.const_get(log_level_symbol.to_s.upcase)
7
- Rails.logger = Le.new(log_entries_key, ssl: true, log_level: log_level)
8
- end
9
- end