kredis 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kredis might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f26f56df1898716dc3a37d357857dcf9418709d826a5efdbf7d46f03bac29fcb
4
- data.tar.gz: efb14c911678c9205c54aa06030371a8b0a12944bb93b9e4ba2d83d259321a10
3
+ metadata.gz: 0c7614f548dde6852fd7e654215ba56f103fec5ac7ad6ae477fe2621f3b9964a
4
+ data.tar.gz: a023026462ec8a09f1e26550ce56abaeb95b1f0582665787cda48ef91e9048d1
5
5
  SHA512:
6
- metadata.gz: ea3c23f42567b578efe70cf266c13202b1c8f51284baabaec040091268ec7b6804939892cf99883dd7601c380efd3eb3ec76092945b89d77b0e412c1f4749b35
7
- data.tar.gz: 3b44e4b1d721374be329e567623e1a0d40918173897ca0b688f1bc4c9d2452791ffce2361c95d51f82fd9b726c1a6be7abb636fd5d4907e334227ab9051cedd8
6
+ metadata.gz: e3755bc5be9370676ac5b2a4a6100a26d0ed09b1248d87114911020ec1b9eb6ab094d25ec6686478069add02197d5188f59edcab04ccc69fed9bb80d1db9966f
7
+ data.tar.gz: 6f97f9ad814700b69b5663697add1f4b2d3468d05752c053c883ca0e8d93703b91af06f6a2593ee6ba79835435663c51c78cd17df32dafb1d7efc666150e77f6
@@ -6,20 +6,20 @@ module Kredis::Attributes
6
6
  kredis_connection_with __method__, name, key, config: config, after_change: after_change
7
7
  end
8
8
 
9
- def kredis_string(name, key: nil, config: :shared, after_change: nil)
10
- kredis_connection_with __method__, name, key, config: config, after_change: after_change
9
+ def kredis_string(name, key: nil, config: :shared, after_change: nil, expires_in: nil)
10
+ kredis_connection_with __method__, name, key, config: config, after_change: after_change, expires_in: expires_in
11
11
  end
12
12
 
13
- def kredis_integer(name, key: nil, config: :shared, after_change: nil)
14
- kredis_connection_with __method__, name, key, config: config, after_change: after_change
13
+ def kredis_integer(name, key: nil, config: :shared, after_change: nil, expires_in: nil)
14
+ kredis_connection_with __method__, name, key, config: config, after_change: after_change, expires_in: expires_in
15
15
  end
16
16
 
17
- def kredis_decimal(name, key: nil, config: :shared, after_change: nil)
18
- kredis_connection_with __method__, name, key, config: config, after_change: after_change
17
+ def kredis_decimal(name, key: nil, config: :shared, after_change: nil, expires_in: nil)
18
+ kredis_connection_with __method__, name, key, config: config, after_change: after_change, expires_in: expires_in
19
19
  end
20
20
 
21
- def kredis_datetime(name, key: nil, config: :shared, after_change: nil)
22
- kredis_connection_with __method__, name, key, config: config, after_change: after_change
21
+ def kredis_datetime(name, key: nil, config: :shared, after_change: nil, expires_in: nil)
22
+ kredis_connection_with __method__, name, key, config: config, after_change: after_change, expires_in: expires_in
23
23
  end
24
24
 
25
25
  def kredis_flag(name, key: nil, config: :shared, after_change: nil)
@@ -30,16 +30,16 @@ module Kredis::Attributes
30
30
  end
31
31
  end
32
32
 
33
- def kredis_float(name, key: nil, config: :shared, after_change: nil)
34
- kredis_connection_with __method__, name, key, config: config, after_change: after_change
33
+ def kredis_float(name, key: nil, config: :shared, after_change: nil, expires_in: nil)
34
+ kredis_connection_with __method__, name, key, config: config, after_change: after_change, expires_in: expires_in
35
35
  end
36
36
 
37
37
  def kredis_enum(name, key: nil, values:, default:, config: :shared, after_change: nil)
38
38
  kredis_connection_with __method__, name, key, values: values, default: default, config: config, after_change: after_change
39
39
  end
40
40
 
41
- def kredis_json(name, key: nil, config: :shared, after_change: nil)
42
- kredis_connection_with __method__, name, key, config: config, after_change: after_change
41
+ def kredis_json(name, key: nil, config: :shared, after_change: nil, expires_in: nil)
42
+ kredis_connection_with __method__, name, key, config: config, after_change: after_change, expires_in: expires_in
43
43
  end
44
44
 
45
45
  def kredis_list(name, key: nil, typed: :string, config: :shared, after_change: nil)
@@ -1,3 +1,3 @@
1
1
  module Kredis
2
- VERSION = "0.3.1"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kredis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Timm Hansen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-09-06 00:00:00.000000000 Z
12
+ date: 2021-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport