redstruct 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: f2a542b5597811e35ed17b643ae0df3fb01fb226
4
- data.tar.gz: bc58fb20c1cc5d2b4a502c3ba085f2d2d1304056
3
+ metadata.gz: 24f641b7af2b6207244ce2e1f6cc48b4ace00501
4
+ data.tar.gz: d313d71fb27eb36fd6fb6cb34c21709fa0e1f08e
5
5
  SHA512:
6
- metadata.gz: 8a98538b8e61c874e1b42d487d46a83176cb563ede67eefa78131e577f6a16627678658fd314e11a7981c0c6f7ab0e9022ca82c61e6723e4620c0a3bb099fa1b
7
- data.tar.gz: 7a230c6f9cc89433e0580efa59ddfd716bdaf569ae2f2f20c53dc2b1909d1d8f332f2b789870a834f90a9fbcc5953cc275639478ff842b40368fa41608da7add
6
+ metadata.gz: b4a29bff10074805abbb590a238d5e302ab3d426148c60fced3a54af99970978a24fb39815f95f6e9a382af8ae4452bd47d989ca5674ebaa761b58649114296b
7
+ data.tar.gz: 82677b93e0bfd290d9c3733b30c00daeae115de057092931635b1178c18b974c04916fb334497a509703b92e1a5db0ea2eb9ba505500af3f405bace568cfca02
@@ -49,9 +49,9 @@ module Redstruct
49
49
 
50
50
  # Builds a Redis backed lock from the key
51
51
  # @param [::String] key base key to use
52
- # @return [Redstruct::Types::Lock]
52
+ # @return [Redstruct::Hls::Lock]
53
53
  def lock(key, **options)
54
- return create(Redstruct::Types::Lock, key, **options)
54
+ return create(Redstruct::Hls::Lock, key, **options)
55
55
  end
56
56
 
57
57
  # Builds a Redis counter struct from the key
@@ -63,9 +63,9 @@ module Redstruct
63
63
 
64
64
  # Builds a Redis backed queue from the key
65
65
  # @param [::String] key base key to use
66
- # @return [Redstruct::Types::Queue]
66
+ # @return [Redstruct::Hls::Queue]
67
67
  def queue(key)
68
- return create(Redstruct::Types::Queue, key)
68
+ return create(Redstruct::Hls::Queue, key)
69
69
  end
70
70
 
71
71
  # @todo The script cache is actually based on the database you will connect to. Therefore, it might be smarter to move it to the connection used?
@@ -1,3 +1,3 @@
1
1
  module Redstruct
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redstruct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Pepin-Perreault