anycable-rails 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/MIT-LICENSE +1 -1
- data/lib/anycable/rails/railtie.rb +8 -1
- 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: d21ee870a0caaeed44d71d571303e0e9ab835457360ee1b205279f38379716e2
|
4
|
+
data.tar.gz: 0e1f4c986782474601d40228ae272ab795bd038ad837420b9a689f74c91edfcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cd248fd53e2f09632a9fec2e3439c788f70b96b40270480b0b519ac70738740df783afc7bf7d107bf718dfe08cf31e8880796beace87cc87b20b5aa69cf90e2
|
7
|
+
data.tar.gz: 6c8e6cedcdd61b58e0dcfd82dfa72a4f3f1e0591bb90e27ef7b8b5c10bbe51a37163f83b12daba720f64f9519cbeadb9fbcb24e9d9af5ec84e988faa1cc54ad0
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
+
## 1.2.1 (2021-01-31)
|
6
|
+
|
7
|
+
- Add a temporary fix to be compatible with `sentry-rails`. ([@palkan][])
|
8
|
+
|
9
|
+
See [#165](https://github.com/anycable/anycable-rails/issues/165).
|
10
|
+
|
11
|
+
- Run embedded RPC server only if `any_cable` adapter is used for Action Cable. ([@palkan][])
|
12
|
+
|
5
13
|
## 1.2.0 (2021-12-21) 🎄
|
6
14
|
|
7
15
|
- Drop Rails 5 support.
|
data/MIT-LICENSE
CHANGED
@@ -60,10 +60,17 @@ module AnyCable
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
+
# Temp hack to fix Sentry vs AnyCable incompatibility
|
64
|
+
# See https://github.com/anycable/anycable-rails/issues/165
|
65
|
+
initializer "anycable.sentry_hack", after: :"sentry.extend_action_cable" do
|
66
|
+
next unless defined?(::Sentry::Rails::ActionCableExtensions::Connection)
|
67
|
+
Sentry::Rails::ActionCableExtensions::Connection.send :public, :handle_open, :handle_close
|
68
|
+
end
|
69
|
+
|
63
70
|
# Since Rails 6.1
|
64
71
|
if respond_to?(:server)
|
65
72
|
server do
|
66
|
-
next unless AnyCable.config.embedded?
|
73
|
+
next unless AnyCable.config.embedded? && AnyCable::Rails.enabled?
|
67
74
|
|
68
75
|
require "anycable/cli"
|
69
76
|
AnyCable::CLI.embed!
|
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.2.
|
4
|
+
version: 1.2.1
|
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: 2022-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: anycable
|