lograge 0.7.0 → 0.7.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
  SHA1:
3
- metadata.gz: 9b9f29d4cb8e753f67fcb93dab316c00fae737ec
4
- data.tar.gz: cb70bd835d38527c98eff9a93aef533df7a6047c
3
+ metadata.gz: 794cb4f90104c70ec130d7e76616fd5f2f98d635
4
+ data.tar.gz: 849237755782f80091e100da8980f2eba36e63d3
5
5
  SHA512:
6
- metadata.gz: 12d089b3027655fda4fa97cc5e9b85cb6264effcc56c23bdc310a44e6a1fd66d22fd2f230747fd98cbfaab5d3f3eeabef5e3431e6b9579fcc976e30e27218232
7
- data.tar.gz: 21e5d3a4796f3f1c78a3dc7df465a890b892877bde5a11988d4d225c2111a5087f13e767ca3e6c4455c45bed0b8bc7b682ab81764c9bf95d40ef6cc7f8fe9960
6
+ metadata.gz: ae07fa3866c8deeb9887dee23f8be3b2d8908b55c4adfb1c33e514e49f182077517ea74fca08ecffdca8d133bfb96c68159407092e319a8685be42f31e6fd530
7
+ data.tar.gz: d1df2bb0c4f4e6c5ae392022f43b11d58fcd70676f6842fd469e74329d2da40d4af68307df8d90699cccc91f29e8f3890f2efb5c04f7b1169bb01c8410bbdcae
data/lib/lograge.rb CHANGED
@@ -144,7 +144,7 @@ module Lograge
144
144
 
145
145
  def setup_custom_payload
146
146
  return unless lograge_config.custom_payload_method.respond_to?(:call)
147
- base_controller_class = lograge_config.base_controller_class || ActionController::Base
147
+ base_controller_class = lograge_config.base_controller_class.try(:constantize) || ActionController::Base
148
148
  append_payload_method = base_controller_class.instance_method(:append_info_to_payload)
149
149
  custom_payload_method = lograge_config.custom_payload_method
150
150
 
@@ -1,3 +1,3 @@
1
1
  module Lograge
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.7.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lograge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Meyer