bmg-redis 0.21.3 → 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: 4607ec0a55b5382b04032e19050b4a21572697ba
4
- data.tar.gz: '09cbb6ed002b84f2c7fdb18253013a34da787dc7'
3
+ metadata.gz: 7f8d90b9a5c17b66fb2ff7b39687c32988ab2a9c
4
+ data.tar.gz: 18a8ba637c32eed995d858620c31a64063cab5af
5
5
  SHA512:
6
- metadata.gz: 165c7c8a5929eb55a140372d9741ff3b19a4bf1a9afaab2a56ec2aefcf87bb4f813da768e231017bee41702b4cada28ab2e7f4f7e02a10418db3042ac7d8f840
7
- data.tar.gz: dcff1c2d1c44ffee20927a436ca1d8e26603c94008daa8175682a46159c81c5192c71709a92c8d3a8f459a7aa05856ff11499c21a4c5fcb48d9e0bbcf8926137
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.3
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-01-18 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.3
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.3
26
+ version: 0.21.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis
29
29
  requirement: !ruby/object:Gem::Requirement