solid_cable 1.0.1 → 1.0.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: 23edb723bc4c63ca470dd0ec912e8c4f0cc1634656c02c6b10be0af03169941b
4
- data.tar.gz: a3431d685dd29267393292f7dc6a2a442a5434d9d60a84d9a33d8fca1534a103
3
+ metadata.gz: 3be9bb75e998d4747b217592557933db44027b2c0087b9b789141b3f8ee36604
4
+ data.tar.gz: 88adf3d11921559c610cc11a59c5776a8f4ed656340c1c51f949fdb431df6fa6
5
5
  SHA512:
6
- metadata.gz: 456350c379c9565b79d8e76b4b09a57d2c7b56b56c17d2f3216b438e9f1045a79978b3f94b8703629e7567675efb2ea1813fe127463ad6a25d16d3afce3d8d11
7
- data.tar.gz: 45f891b293411b3abd82b22e63c17093c9c16963237da39db117c374706337c50be71a33c1bd3177cdf6cbed01e22ccd9437755dc578d71454a8abdb5f992409
6
+ metadata.gz: 756cf4cdd2884b49c1560affba6102366eccff5e8bcf8ec4529a00cf853694d6768e446cc7263cf0ec4ac58f63ed2e7c929ee390ccf0f05909ea6106cb4e6c6d
7
+ data.tar.gz: 8c92c0365088b61e733812fad62e3a545ddb05a451cb7316fb1893878159e45b5ea0a0198a43e3e65dedde512842426522747a3c2fdef8b0857614c0ca490ff4
@@ -4,6 +4,6 @@ module SolidCable
4
4
  class Record < ActiveRecord::Base
5
5
  self.abstract_class = true
6
6
 
7
- connects_to(**SolidCable.connects_to) if SolidCable.connects_to
7
+ connects_to(**SolidCable.connects_to) if SolidCable.connects_to.present?
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidCable
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.3"
5
5
  end
data/lib/solid_cable.rb CHANGED
@@ -7,7 +7,7 @@ require "action_cable/subscription_adapter/solid_cable"
7
7
  module SolidCable
8
8
  class << self
9
9
  def connects_to
10
- cable_config.connects_to
10
+ cable_config.connects_to.to_h.deep_transform_values(&:to_sym)
11
11
  end
12
12
 
13
13
  def silence_polling?
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solid_cable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pezza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-09 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: concurrent-ruby
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rails
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  requirements: []
84
- rubygems_version: 3.5.10
70
+ rubygems_version: 3.5.9
85
71
  signing_key:
86
72
  specification_version: 4
87
73
  summary: Database-backed Action Cable backend.