solid_cable 1.0.0 → 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: bc6eab3ef9348ae133b005484482e8dccefe7c98aadeb8810ca23b632a976783
4
- data.tar.gz: 1f867d1c133390a0894956c1c621e8e561b4bf1de14096196ae1768a541c59ac
3
+ metadata.gz: b9a6a47503cbd7f1e11a3ac05879bcf5eafb106f38ed0dc9b02726ba7152cd80
4
+ data.tar.gz: f754cc9413be68cdd822d5299f70ff75e6b8d59d26b332a9189a68d50a9bf50f
5
5
  SHA512:
6
- metadata.gz: 1d6ffad7a1564e2e2aaa20cc5bf459fe630a6e739fb574c5eb0509ea6c3bfa31e38d47ac75a5ea74e2293c87804445d2700b9f4e1cecafd199724d07850cf433
7
- data.tar.gz: 3caf1229b5582c91d9c06d7e18a32d79edff83c9453c2ca387b713b9d7caef985a4667faed648aa6c7a95c9174440594c3fd0e83b99d9c261dc9b9ee3259f99a
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.0"
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.0
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
@@ -48,7 +48,7 @@ files:
48
48
  - MIT-LICENSE
49
49
  - README.md
50
50
  - Rakefile
51
- - app/models/jobs/solid_cable/prune_job.rb
51
+ - app/jobs/solid_cable/prune_job.rb
52
52
  - app/models/solid_cable/message.rb
53
53
  - app/models/solid_cable/record.rb
54
54
  - db/migrate/20240103034713_create_solid_cable_message.rb
File without changes