console-adapter-rails 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/console/adapter/rails/version.rb +1 -1
- data/lib/console/adapter/rails.rb +5 -1
- data.tar.gz.sig +1 -3
- metadata +1 -1
- metadata.gz.sig +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32ef4499bd171281da2f8cd2cb4e4b8f2416ca4135422c23d6c2a8bae3d453ef
|
4
|
+
data.tar.gz: 96242d4c920937b903f1d3f8a09503368d3ee6198fbe9eaa76d640f8c7edde3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c99b2b28e664e0739b4bb333c373e691950d1b4f0268c957dc02f4e677e78741d1aa8f6f6cbd4189fa3a7391f241b2db93ed1b55a422fb625f25ac4c973c5610
|
7
|
+
data.tar.gz: e00bd99060fc1b8a0119756fe612f5d1ea89f8816211c2d41eab9da9e752a25c3c24155a778023141336808ec83958868b88199a103d434245ab614af94f8a32
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -7,6 +7,7 @@ require 'console'
|
|
7
7
|
require 'console/compatible/logger'
|
8
8
|
|
9
9
|
require 'active_support/log_subscriber'
|
10
|
+
require 'active_support/tagged_logging'
|
10
11
|
require 'action_controller/log_subscriber'
|
11
12
|
require 'action_view/log_subscriber'
|
12
13
|
require 'active_job/log_subscriber'
|
@@ -71,7 +72,10 @@ module Console
|
|
71
72
|
|
72
73
|
if configuration
|
73
74
|
# Set the logger to a compatible logger to catch `Rails.logger` output:
|
74
|
-
configuration.logger =
|
75
|
+
configuration.logger = ActiveSupport::TaggedLogging.new(
|
76
|
+
Console::Compatible::Logger.new("Rails", Console.logger)
|
77
|
+
)
|
78
|
+
|
75
79
|
# Delete `Rails::Rack::Logger` as it also doubles up on request logs:
|
76
80
|
configuration.middleware.delete ::Rails::Rack::Logger
|
77
81
|
end
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
|
2
|
-
��N,��<'W2`���<���!�}��y�[�K����ÞR7���~{����Ԍ�ף*H��D���$�h0������Oh�\�x�(��W/�0#�wŠ�
|
3
|
-
('vu{I��
|
1
|
+
5"V��z��c}~Y�K|�x��ܑ2�A�[�O1H4����MFl˸�+�gިkjӇ핑K["0����n=�E�?�U�o�%�u��2���%Ͳ�k&�y��p�����.3`��<�(�����BEh��"'�g��v!P���t�_B>��dp���[�7�]�J�;v�'qvE��/�N��}������j�w ������Ƚ} A��ʦ�w�+�S���f���7��<��0�0MזW����q�`�`O��ȁm�.�UЋ�/Ŝ�D���k8PF<��v�^��]uDl�o��qL��,і+�w�òA%��X���hO�3A���ܗ��,u��J�&ɪYY֢�塳�}����^�۩��x�QX[]Z�s���d�Q����
|
metadata
CHANGED
metadata.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
��F=N�l3�Z����I.���r���U�o��qtb�.uf�栛�][B�\5�Qj�ګ&{8ӫ+F^n�lS�������}���*�
|