flipper-redis 0.23.1 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/flipper-redis.gemspec +1 -1
- data/lib/flipper/adapters/redis.rb +4 -4
- data/lib/flipper/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dfd7a85f2a17ef2eeec28024d54f4a77549fce6c99502b9f2149788137367a7
|
4
|
+
data.tar.gz: ea6fd76d477edaf615f63ee8c78d9358c3f91e1ab1cd49d6f1694a7aa1439b25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 675c0df977e88f03c2d5801ccc2dcdd916147c497052feb7f3169aa2b8b0b23415afbfefadc7d10240d2621a70748dad9215b5f654e33a376ec15b6d797b23f8
|
7
|
+
data.tar.gz: cc7f3ffaa6b8e513b71ace6cbc71938c29ab9811a21eb59dba4e50c85b6a95202bc2293000763daf8e9addfe0fbdff1defb331a31e2ed1477e7e02a7c31a3176
|
data/flipper-redis.gemspec
CHANGED
@@ -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
|
-
|
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
|
data/lib/flipper/version.rb
CHANGED
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.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-17 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.
|
19
|
+
version: 0.24.0
|
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.
|
26
|
+
version: 0.24.0
|
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: '
|
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: '
|
43
|
+
version: '3.0'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '5'
|