solid_cable 0.2.0 → 0.2.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: fdc881f5bdbc42849563b7a04165bd1681810bd938fa9d7edb293c0d59ecc098
4
- data.tar.gz: 560d1ad6d1583e360617157d2cc6f87f3b611dd9f408bad200801e20d773513a
3
+ metadata.gz: 6f21d57b5c3c839b30ef880bb84c02fe5e375d3674d282a1b8541e1d86b131a4
4
+ data.tar.gz: 2b58076180cb59dcfd61f5c39620d14399ce0cbf14c681038488e404ed3f81a6
5
5
  SHA512:
6
- metadata.gz: 2059991512cf183a42448deabbd5a48946b3ff6d7412d405ef92c1fea4dad7b5816539efdd671c6c0fd475b43dc1c6295fc920b87e042663454914d49bb7c18c
7
- data.tar.gz: a8a895d63fca959c60ff5c63ab349c5c7c7414646dd95a88167b2c7d7a92f228a180ecb71f35b2ed84208f80242f6417cf185e4a6ba72e6e5b44a223de6b39bc
6
+ metadata.gz: 2fe8d98cd77a1db28afa1e3d2c4a917f8eb1741ea56969974fb9944ba43f9a46f20e49204b40315fccb7aa8534cf143c2cd225d93c85ff5b1454690f6e3eb2b9
7
+ data.tar.gz: c254587b2e46bac28c16cfe0dd7c25631fff6ec4930c38be4e4dda63acb70a74b5a194b9a9ed3060361b56eac6f07f4462672ae74fbc69bda024b6ebec4dae51
@@ -3,7 +3,7 @@
3
3
  module SolidCable
4
4
  class Message < SolidCable::Record
5
5
  scope :prunable, lambda {
6
- where(created_at: ..SolidCable.keep_messages_around_for.ago)
6
+ where(created_at: ..::SolidCable.keep_messages_around_for.ago)
7
7
  }
8
8
  scope :broadcastable, lambda { |channels, last_id|
9
9
  where(channel: channels).where(id: (last_id + 1)..).order(:id)
@@ -48,7 +48,7 @@ module ActionCable
48
48
  while running?
49
49
  with_polling_volume { broadcast_messages }
50
50
 
51
- sleep SolidCable.polling_interval
51
+ sleep ::SolidCable.polling_interval
52
52
  end
53
53
  end
54
54
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidCable
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solid_cable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pezza