solid_cable 1.0.1 → 1.0.2

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: b9a6a47503cbd7f1e11a3ac05879bcf5eafb106f38ed0dc9b02726ba7152cd80
4
+ data.tar.gz: f754cc9413be68cdd822d5299f70ff75e6b8d59d26b332a9189a68d50a9bf50f
5
5
  SHA512:
6
- metadata.gz: 456350c379c9565b79d8e76b4b09a57d2c7b56b56c17d2f3216b438e9f1045a79978b3f94b8703629e7567675efb2ea1813fe127463ad6a25d16d3afce3d8d11
7
- data.tar.gz: 45f891b293411b3abd82b22e63c17093c9c16963237da39db117c374706337c50be71a33c1bd3177cdf6cbed01e22ccd9437755dc578d71454a8abdb5f992409
6
+ metadata.gz: 9ace1cda46f5899bd5f13b9899ac7704b723291650b09d4a160ab5ecae32180e5240aa4d80355be6472921a01a4e8f45f7ee147a716be8ef2d9c2f1c5666eabb
7
+ data.tar.gz: b664e56ffaf4bb2062fe9a3d47c61d452b83a3a437748f9bd1188ac6ee5f83ad7fe2bfd27da77351ab9b59da17bf0b6b3694d0bf0bfe44fa0d01786a970c6b45
@@ -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.2"
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,14 +1,14 @@
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.2
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-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby