anycable-rails 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/MIT-LICENSE +1 -1
- data/lib/anycable/rails/actioncable/channel.rb +1 -1
- data/lib/anycable/rails/actioncable/connection.rb +1 -1
- data/lib/anycable/rails/actioncable/testing.rb +0 -2
- data/lib/anycable/rails/compatibility.rb +2 -0
- data/lib/anycable/rails/railtie.rb +2 -2
- data/lib/anycable/rails/session_proxy.rb +3 -3
- data/lib/anycable/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1459676363d0523338a496163a296330e1bfbe363cc95b7e4433122163402a06
|
|
4
|
+
data.tar.gz: d3c074189aa5858f2b7ffbc455c68b7bf96885e493cc8ed6bfce86c9a870a375
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51ab9db5efba8e737e6608d958e550933c7ddc20e9cee8a9a830bce94403d2895a158a643f27a026fd9cb1ff486ece078f823158f2ac2fabe6cabe33fc9948ea
|
|
7
|
+
data.tar.gz: 61b4563345b1e26ee1da6a7b61325040dca72942165f3508d1615dd06912fc2ab6ffbd8732fe9b9ebf04076a15707f51ae028d6479d90d97bc9f9590ff7c4929
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## master
|
|
4
4
|
|
|
5
|
+
## 1.0.5 (2021-02-24)
|
|
6
|
+
|
|
7
|
+
- Fixed bug with compatibility false negatives in development. ([@palkan][])
|
|
8
|
+
|
|
9
|
+
See [#151](https://github.com/anycable/anycable-rails/issues/151).
|
|
10
|
+
|
|
5
11
|
## 1.0.4 (2020-10-02)
|
|
6
12
|
|
|
7
13
|
- Relax Rails dependencies. ([@palkan][])
|
data/MIT-LICENSE
CHANGED
|
@@ -18,8 +18,8 @@ module AnyCable
|
|
|
18
18
|
AnyCable.logger = ActiveSupport::TaggedLogging.new(::ActionCable.server.config.logger)
|
|
19
19
|
# Broadcast server logs to STDOUT in development
|
|
20
20
|
if ::Rails.env.development? &&
|
|
21
|
-
!ActiveSupport::Logger.logger_outputs_to?(::Rails.logger,
|
|
22
|
-
console = ActiveSupport::Logger.new(
|
|
21
|
+
!ActiveSupport::Logger.logger_outputs_to?(::Rails.logger, $stdout)
|
|
22
|
+
console = ActiveSupport::Logger.new($stdout)
|
|
23
23
|
console.formatter = ::Rails.logger.formatter
|
|
24
24
|
console.level = ::Rails.logger.level
|
|
25
25
|
AnyCable.logger.extend(ActiveSupport::Logger.broadcast(console))
|
|
@@ -21,8 +21,8 @@ module AnyCable
|
|
|
21
21
|
CODE
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
alias_method :include?, :has_key?
|
|
25
|
+
alias_method :key?, :has_key?
|
|
26
26
|
|
|
27
27
|
%i[update merge! to_hash].each do |mid|
|
|
28
28
|
class_eval <<~CODE, __FILE__, __LINE__ + 1
|
|
@@ -33,7 +33,7 @@ module AnyCable
|
|
|
33
33
|
CODE
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
alias_method :to_h, :to_hash
|
|
37
37
|
|
|
38
38
|
def keys
|
|
39
39
|
rack_session.keys + socket_session.keys
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anycable-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- palkan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: anycable
|