flipper-redis 0.23.0 → 0.24.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: f706a006cded4a69aae9111b474980bb860266a46783837a034cea02e5c1eadd
4
- data.tar.gz: 7bba88347b296d211bda3d56579eaf50d2df927cfe3b9e420fafbabeb4a48fe7
3
+ metadata.gz: d03229764fb9f1ca1443a0e32779bc8a0d23913b57debf63513e6b55251004fa
4
+ data.tar.gz: 3ed534fc6218a2df061008e8057beaa08bd6645318ae33d2ca1cb491d1ebb683
5
5
  SHA512:
6
- metadata.gz: 78af61d87f2e96da7871633d71cc678b6130e4a8d32c8681077cb2a972e38ee11380989a2814aa3bcda569a2da493128388b460d6dff1a294780e629570b905b
7
- data.tar.gz: 0aeed67601a79e5936d8501478a6bb797b59000c4694c6875b9325ff9ef50518674cfad633efebb572295bcbad465529b5309b53c52a979d8e9013ec35757b3f
6
+ metadata.gz: d487eb67f3e4d9f3b4f5e590eb1a56c5cadd4ac24cfd95fe26f68315e595cfbb3103a9138035f511a282ad07cd7b356ed76fef669538ec6a15d5556996263b72
7
+ data.tar.gz: be0cce07afcc3dbb907928698c6c88667c5a3d652f8791936c55842c37451d4e364375e444528c6d64567003455c466fe56633c94385e49b8de18f726d0e78d8
@@ -21,5 +21,5 @@ Gem::Specification.new do |gem|
21
21
  gem.metadata = Flipper::METADATA
22
22
 
23
23
  gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
24
- gem.add_dependency 'redis', '>= 2.2', '< 5'
24
+ gem.add_dependency 'redis', '>= 3.0', '< 5'
25
25
  end
@@ -125,14 +125,14 @@ module Flipper
125
125
  # Private: Gets a hash of fields => values for the given feature.
126
126
  #
127
127
  # Returns a Hash of fields => values.
128
- def doc_for(feature)
129
- @client.hgetall(feature.key)
128
+ def doc_for(feature, pipeline: @client)
129
+ pipeline.hgetall(feature.key)
130
130
  end
131
131
 
132
132
  def docs_for(features)
133
- @client.pipelined do
133
+ @client.pipelined do |pipeline|
134
134
  features.each do |feature|
135
- doc_for(feature)
135
+ doc_for(feature, pipeline: pipeline)
136
136
  end
137
137
  end
138
138
  end
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.23.0'.freeze
2
+ VERSION = '0.24.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-24 00:00:00.000000000 Z
11
+ date: 2022-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flipper
@@ -16,21 +16,21 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.23.0
19
+ version: 0.24.1
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.23.0
26
+ version: 0.24.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '2.2'
33
+ version: '3.0'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: '5'
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '2.2'
43
+ version: '3.0'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '5'