anycable-rails-core 1.5.0 → 1.5.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: e23407a3fe0b10d54fdb4c0b368f23df917dc5f901b821312c9464c37099c23d
4
- data.tar.gz: ce1ea7b919210c7ea6a2d0098a5bf90141ce3910d57f17f9cbb116b96d93753f
3
+ metadata.gz: 047a37c59ff5b5e9e0074302b02450b8e7ab78af36382db634843eb8d1e0a802
4
+ data.tar.gz: 92234b820387917f2f1321b1175b3f1bdfd6305d386320fefcbfc68384476f9d
5
5
  SHA512:
6
- metadata.gz: 658fffc579a1ddea3001a6ed05f6b59dbe1f05f48ce27c70924cd0ae18b0d8c2bd4c3151b0ea82b52ea78f37e9217f2b80769683dadeba21b2f9f50b6588a566
7
- data.tar.gz: c8982b7cae01bfdefa4c0bef71581b7de2b579a0471bf2ff32619c043e84710822026e9814682474e84c386880808d79a651db0d42ff68d0d7ae646630050522
6
+ metadata.gz: 86938782b2903250bf2a6fdfa205ff70f8356414c035e4d195c93967051fccc731d520b74b373b54ac74cbbd0b3182678b863a06f466ddd17926c2dba3209025
7
+ data.tar.gz: 2112a294b4fe22efd05835a2a93b60dfecaae996e990d8690af89d28017ae495d79df147b0cc451bb1a8ae429bceed594d38ded78c1b09de8518f20fe1075b55
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.5.1 (2024-04-05)
6
+
7
+ - Add `anycable-rails-core.rb` to avoid adding `require: ["anycable-rails"]` to Gemfiles manually. ([@palkan][])
8
+
9
+ - Mount HTTP RPC independently of the current Action Cable adapter. ([@palkan][])
10
+
11
+ This makes it possible to use it in tests without manually adding the middleware.
12
+
5
13
  ## 1.5.0 (2024-04-01)
6
14
 
7
15
  - Allow specifying the _whispering_ stream via `#stream_from(..., whisper: true)`. ([@palkan][])
@@ -117,8 +117,6 @@ module AnyCable
117
117
  end
118
118
 
119
119
  initializer "anycable.routes" do
120
- next unless AnyCable::Rails.enabled?
121
-
122
120
  config.after_initialize do |app|
123
121
  config = AnyCable.config
124
122
  unless config.http_rpc_mount_path.nil?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AnyCable
4
4
  module Rails
5
- VERSION = "1.5.0"
5
+ VERSION = "1.5.1"
6
6
  end
7
7
  end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "anycable/rails"
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.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-01 00:00:00.000000000 Z
11
+ date: 2024-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: anycable-core
@@ -64,6 +64,7 @@ files:
64
64
  - README.md
65
65
  - lib/action_cable/subscription_adapter/any_cable.rb
66
66
  - lib/action_cable/subscription_adapter/anycable.rb
67
+ - lib/anycable-rails-core.rb
67
68
  - lib/anycable-rails.rb
68
69
  - lib/anycable/rails.rb
69
70
  - lib/anycable/rails/action_cable_ext/broadcast_options.rb
@@ -118,7 +119,7 @@ metadata:
118
119
  homepage_uri: https://anycable.io/
119
120
  source_code_uri: http://github.com/anycable/anycable-rails
120
121
  funding_uri: https://github.com/sponsors/anycable
121
- post_install_message:
122
+ post_install_message:
122
123
  rdoc_options: []
123
124
  require_paths:
124
125
  - lib
@@ -133,8 +134,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
134
  - !ruby/object:Gem::Version
134
135
  version: '0'
135
136
  requirements: []
136
- rubygems_version: 3.4.20
137
- signing_key:
137
+ rubygems_version: 3.4.19
138
+ signing_key:
138
139
  specification_version: 4
139
140
  summary: AnyCable integration for Rails (w/o RPC dependencies)
140
141
  test_files: []