production_toolkit 0.1.4 → 0.1.5

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: 8decafc51f7262f8bb1a05e5a5c32cf653f4119e
4
- data.tar.gz: e517d570e497b0db181683841e488784deaa7979
3
+ metadata.gz: 53d9821ed7da14bcf0d5434176d3be0c08d98e61
4
+ data.tar.gz: 227a8cc8c13392d0e1af884bae03ac094da4c57e
5
5
  SHA512:
6
- metadata.gz: d7bd6c17def268414d6aab765a4524de599e9fd7171ed08214d09e2f01adec0ff5619b7874ee715d1a63ea5057f867a15e4d5676c823dcc9fa2a5528e37664fd
7
- data.tar.gz: 1543453285821d7237413082b247a02ac29d1724fe87e40bfc3a43f0a4eac7370f19fa7862864b769eeefb7af94c836f40a64ee0a4fe1fb06704825ad8d16289
6
+ metadata.gz: 8ecd3d8716c0aa1dac95d9ca4de1473d14e9aec8b62d5d34283782923447af25e259a07f5a44afeb5b381dad9acd2c4aafeb4bf63bdc15e6933aed903c087c2f
7
+ data.tar.gz: 17bcfcd76116caea037bd97cd364a9e07d3e61cdf0480b5165d3923c07bfd9cf97200a04becb01fbfd8ff467e40ed67b2d95eff97f762352dbba5c06b389b9cb
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Production Toolkit 0.1.5 ##
2
+
3
+ * Fix require in 0.1.4
4
+ * Fix log level
5
+
1
6
  ## Production Toolkit 0.1.4 ##
2
7
 
3
8
  * Fix typo in 0.1.3
@@ -2,7 +2,8 @@ if defined?(Rails)
2
2
  if Rails.env.production?
3
3
  require 'le'
4
4
  log_entries_key = Rails.application.secrets.log_entries_key
5
- log_level = Rails.application.config.log_level || :info
5
+ log_level_symbol = Rails.application.config.log_level || :info
6
+ log_level = Logger.const_get(log_level_symbol.to_s.upcase)
6
7
  Rails.logger = Le.new(log_entries_key, ssl: true, tag: true, log_level: log_level)
7
8
  end
8
9
  end
@@ -1,4 +1,4 @@
1
- require 'rollbar_configurator'
1
+ require 'production_toolkit/rollbar_configurator'
2
2
 
3
3
  if defined?(Rails)
4
4
  config = Rails.application.secrets.rollbar
@@ -1,3 +1,3 @@
1
1
  module ProductionToolkit
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: production_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack