bmg-redis 0.21.4 → 0.21.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bmg/redis/relation.rb +1 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec0886c03014352ae18ef4123e567946b9727659
4
- data.tar.gz: 2d2c1a7f5aec01e7c1e950d92f1c0d28731a9dab
3
+ metadata.gz: 7f8d90b9a5c17b66fb2ff7b39687c32988ab2a9c
4
+ data.tar.gz: 18a8ba637c32eed995d858620c31a64063cab5af
5
5
  SHA512:
6
- metadata.gz: a445f95c30afcb1b03b56f32c84c590d4e9f168e285c61dca375cf3c67d69fcbcf2e958885ba2391885cb16ca8ab9bc6907f707cfa5ad329d5e6ac481bb2bf65
7
- data.tar.gz: c91d3813471396293bd714660af209e6e06795c279868a3e4d2de3f96301c9840ee080693f23ff75b40c4335ce08d4b6a917097cbaf322a45dc046d6dae5c29e
6
+ metadata.gz: d5cb7950b1f5d377ce6f36cdf6c01c88384f6655b563c54c2533d4eeda78481a2e922e3d7c5c76a1bf40d09ae53524518a4b01a9874e119d759074d0568e8ba7
7
+ data.tar.gz: f1e282c0327ef69443d10815ab317e58d54a3f8c901cb198dc6ae175c580cc36bc1d523951a98d4138a1ae67b3dcb9a9a4ea891f083c67a3a900e0404e86d61d
@@ -63,6 +63,7 @@ module Bmg
63
63
  key = extract_key(tuple)
64
64
  serialized = serializer.serialize(tuple)
65
65
  redis.set(key, serialized)
66
+ redis.expire(key, options[:ttl]) if options[:ttl]
66
67
  self
67
68
  end
68
69
  private :insert_one
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmg-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.4
4
+ version: 0.21.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-08 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bmg
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.21.4
19
+ version: 0.21.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.21.4
26
+ version: 0.21.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis
29
29
  requirement: !ruby/object:Gem::Requirement