console-adapter-rails 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: '0482a25ab09b8ca5a4cd8b52c7509da5626a5a9c66c623d2d370348bc6701846'
4
- data.tar.gz: f10ed2abff10dc4a103b7d2b23e57e2586f13f1e0f5c156335f89ec204077f95
3
+ metadata.gz: 5d0d63b5d2eee8a85dd9af60f5ea38071d16ae6506c9d116dd61ff1af514d379
4
+ data.tar.gz: b38c25092480c71bf7dbf6668cdba42e6f33886277869d9a852de693d2118de1
5
5
  SHA512:
6
- metadata.gz: 8259a2f4a8177535c620c77933d9ec09688392119cdc344b4118817bb8e16447eb9ca1d73f3dccd04728bdff3d2ea9b83046331399c8abdc1fa7efa058d15461
7
- data.tar.gz: b6d4b017db0f3e69f871551884a1f4144d029f3caad6bfd1568e695ede9d77428dcdabd303f5a5690bc25fea52dbf8149164fec46e59f4a2a1f68d3a8a267f65
6
+ metadata.gz: 81faae0a7dc869ae12990880ef85368cc46dabd33a14c655c84b74865bbabecc7cde5ee9ff0e2c31db2733948b99f21da511bf6bbcfce6878af895a8c7bd53be
7
+ data.tar.gz: 1c14615ebd356719fa8999d50552536c0963b4a9cf17adcc011ebeb73549e2e1274d6367b36aec8525283c1de22d42a356fd8d36b2f5790cd2b04e175ecb1696
checksums.yaml.gz.sig CHANGED
Binary file
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the MIT License.
4
+ # Copyright, 2023, by Samuel Williams.
5
+
6
+ require 'active_support/logger'
7
+
8
+ if ActiveSupport::Logger.respond_to?(:logger_outputs_to?)
9
+ # https://github.com/rails/rails/issues/44800
10
+ class ActiveSupport::Logger
11
+ def self.logger_outputs_to?(*)
12
+ true
13
+ end
14
+ end
15
+ end
@@ -6,7 +6,7 @@
6
6
  module Console
7
7
  module Adapter
8
8
  module Rails
9
- VERSION = "0.1.0"
9
+ VERSION = "0.1.1"
10
10
  end
11
11
  end
12
12
  end
@@ -10,6 +10,8 @@ require 'action_controller/log_subscriber'
10
10
  require 'action_view/log_subscriber'
11
11
  require 'active_job/log_subscriber'
12
12
 
13
+ require_relative 'rails/active_support'
14
+
13
15
  module Console
14
16
  module Adapter
15
17
  # A Rails adapter for the console logger.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console-adapter-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -74,6 +74,7 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - lib/console/adapter/rails.rb
77
+ - lib/console/adapter/rails/active_support.rb
77
78
  - lib/console/adapter/rails/version.rb
78
79
  - license.md
79
80
  - readme.md
metadata.gz.sig CHANGED
Binary file