orbitcast 0.3.1-aarch64-linux-gnu → 0.3.2-aarch64-linux-gnu

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0035e4be0a030ef8872b63ab214b847ee2e6c52b06f986a7a62b98bba6a673f
4
- data.tar.gz: 568e5cbda8cdd690c9f25af03557ec1af45a3b3257716043bb25eda823ef745c
3
+ metadata.gz: e5c41a9c24962cf5a95cfd2782c99e8912822e92fd2ebc07d7276a303ff17729
4
+ data.tar.gz: bc1bb1e413a0b3d6dcb42e629a81bfd2d9a05fd5fe68090a0a64db720454070b
5
5
  SHA512:
6
- metadata.gz: 860c9ecf664d960e827ab2c33e9a7293ff1d03dc196abed83776a9cf6ed3fce182fe223764318e3b94bc260e1f09d882cd634dbf5532f50f4b19545618b7db11
7
- data.tar.gz: 2b2d187bb62104e4bacf3a6be9fe3764b61aab4a89be37f5d5597a97d3389331442e146128499c73092122a923c171f6cf0d88ce1e6b31254e5815d554890342
6
+ metadata.gz: 5f25326f665ba5188b02f07a982097ba3b23211fd42912947b63f49805b6c1c96408e231dd08e8a3ae3bd84c8371223424ed897a4784cdbcdd568e67fcb944d3
7
+ data.tar.gz: e0df2854b7266fddc57e6f3ef2aaba5fd25a8371695ac63a840512e898536bd83bb01d7ce1511220205d746f7b678c62fde13893aa1ac804b90341815e78acbc
@@ -28,6 +28,8 @@ module ActionCable
28
28
  class Orbitcast < Base
29
29
  def initialize(server)
30
30
  super
31
+ # Rails main's Base keeps no `server` reader; read the config now.
32
+ @cable = server.config.cable
31
33
  @publisher = nil
32
34
  @mutex = Mutex.new
33
35
  end
@@ -88,7 +90,7 @@ module ActionCable
88
90
  # `cable[:id]` is ActionCable's own connection tag and `adapter` selects
89
91
  # us; neither is an Orbitcast setting.
90
92
  def cable_options
91
- server.config.cable.to_h.transform_keys(&:to_sym).except(:adapter, :id)
93
+ @cable.to_h.transform_keys(&:to_sym).except(:adapter, :id)
92
94
  end
93
95
 
94
96
  def unsupported_message(operation, channel)
@@ -32,8 +32,9 @@ module Orbitcast
32
32
  V1 = Protocol::V1
33
33
 
34
34
  # Named capabilities reported by `describe`. The relay admits a node by
35
- # envelope version and capability, never by build equality.
36
- CAPABILITIES = %w[rails_dispatch].freeze
35
+ # envelope version and capability (its REQUIRED_CAPABILITIES), never by
36
+ # build equality.
37
+ CAPABILITIES = %w[rails_dispatch identify open_channel run_action release].freeze
37
38
 
38
39
  def initialize(config: nil, registry: nil, connection_class: nil, logger: nil)
39
40
  @config = config || Orbitcast.config
@@ -6,5 +6,5 @@ module Orbitcast
6
6
  # `Cargo.toml` is the release authority; release-please keeps this constant in
7
7
  # lockstep through its extra-file updater. The trailing annotation below is the
8
8
  # updater marker -- do not reformat the line or the bump will silently no-op.
9
- VERSION = "0.3.1" # x-release-please-version
9
+ VERSION = "0.3.2" # x-release-please-version
10
10
  end
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.1",
2
+ "version": "0.3.2",
3
3
  "target": "aarch64-unknown-linux-gnu",
4
4
  "features": [
5
5
  "postgres"
@@ -8,7 +8,7 @@
8
8
  1
9
9
  ],
10
10
  "rust_toolchain": "1.99",
11
- "commit": "b9d10e789b0530850e7ce4e7788111ce9d012a2f",
11
+ "commit": "f77e3980b00b18620711f04a44e461c1be9272c8",
12
12
  "glibc_floor": "2.34",
13
13
  "gem_platform": "aarch64-linux-gnu"
14
14
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orbitcast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: aarch64-linux-gnu
6
6
  authors:
7
7
  - Abdelkader Boudih