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 +4 -4
- data/lib/lograge.rb +1 -1
- data/lib/lograge/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 794cb4f90104c70ec130d7e76616fd5f2f98d635
|
4
|
+
data.tar.gz: 849237755782f80091e100da8980f2eba36e63d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/lograge/version.rb
CHANGED