anycable-rails-core 1.4.2 → 1.4.3

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: 713258efa713cd94cb2aa57891bf52f2483732f6e84b918a90d77924bc9d78e2
4
- data.tar.gz: 45151b26a79c7ab05ba42629fcbb2c64a147142a39fe8d9eaff54dbce3b905c6
3
+ metadata.gz: 8ac8286d286d0df2da0d7dba9d8234cf874f1e6bb42a1a4239d026ed928e7dd7
4
+ data.tar.gz: 469e98720377a3d65bddd63f921a3faf78706d1c7f335b447ff0939719d0bd15
5
5
  SHA512:
6
- metadata.gz: d98ee91a26f73b7e9ff7c60820211ddebf53566520903f6ca26be838f4c27fed6f0a2a36787fe3207b569f32881c83efd263517eaa71a5f74bdee00dd61c63ff
7
- data.tar.gz: e0a86e5ccbef6d7735f71663a5a9511dc9dd3a7a7df8fa1ffd4e3cccbf653184c0048cbbd22007f21614f4d78f30ee5aa4bb55b275964f1b9b690e3927c27069
6
+ metadata.gz: 28eb7aaba4c993e055f40bbfd8f00d52d85f1dc1d95b952891c8ef99122f483b90851d4b5627477f9c63efa581acdd2770acaa13f06ea88c5d4ef0e33b48958f
7
+ data.tar.gz: a89a9448aff1a8e03fc6e95f332b40df1fc295fcc3a406c393e1aeb312fdd947aba2c5cecd9978e03a84e422915e94ef34f7d30effa8398b4b401671d3d6ef8a
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.4.3 (2023-12-13)
6
+
7
+ - Fix console logging in Rails 7.1 when the app's logger has no broadcast support. ([@palkan][])
8
+
5
9
  ## 1.4.2 (2023-10-15)
6
10
 
7
11
  - Print warning if the database pool size is less than RPC pool size. ([@palkan][])
@@ -33,8 +33,10 @@ module AnyCable
33
33
  # Rails 7.1+
34
34
  if AnyCable.logger.respond_to?(:broadcast_to)
35
35
  AnyCable.logger.broadcast_to(console)
36
- else
36
+ elsif ActiveSupport::Logger.respond_to?(:broadcast)
37
37
  AnyCable.logger.extend(ActiveSupport::Logger.broadcast(console))
38
+ elsif defined?(ActiveSupport::BroadcastLogger)
39
+ AnyCable.logger = ActiveSupport::BroadcastLogger.new(AnyCable.logger, console)
38
40
  end
39
41
  end
40
42
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AnyCable
4
4
  module Rails
5
- VERSION = "1.4.2"
5
+ VERSION = "1.4.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable-rails-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-16 00:00:00.000000000 Z
11
+ date: 2023-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: anycable-core
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.4.8
127
+ rubygems_version: 3.4.20
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: AnyCable integration for Rails (w/o RPC dependencies)