flipper-sequel 0.16.2 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/flipper-sequel.gemspec +2 -2
- data/lib/flipper/adapters/sequel.rb +4 -4
- data/lib/flipper/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8572027a4d492f0195bfb859807cf01f1db5f27039808513a61784819fe830b9
|
4
|
+
data.tar.gz: 89a75746d43949b3bc7c1ead22cf61454ab56e41a11509037a2cd177bd1f1c3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c191dcfeab56b3831a6a48f2e74aa4b901c40925be27eb47278503d353ab04252f26432c1429ac9af435bf117c10de7c2bd9f9f358b5c2075a3a7059c96bd77
|
7
|
+
data.tar.gz: 5673707e05b9081b44692842a08b726fdf386573f855fe871a30e907e45289e86dafd7bc084c90e2a9bdb2214dd1838b76e32cfc5cab062a8f268b6b6083e201
|
data/flipper-sequel.gemspec
CHANGED
@@ -15,8 +15,8 @@ Gem::Specification.new do |gem|
|
|
15
15
|
extra_files = [
|
16
16
|
'lib/flipper/version.rb',
|
17
17
|
]
|
18
|
-
gem.files = `git ls-files`.split("\n").select(&flipper_sequel_files) + extra_files
|
19
|
-
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_sequel_files)
|
18
|
+
gem.files = `git ls-files`.split("\n").select(&flipper_sequel_files) + extra_files # rubocop:disable Metrics/LineLength
|
19
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_sequel_files) # rubocop:disable Metrics/LineLength
|
20
20
|
gem.name = 'flipper-sequel'
|
21
21
|
gem.require_paths = ['lib']
|
22
22
|
gem.version = Flipper::VERSION
|
@@ -192,12 +192,12 @@ module Flipper
|
|
192
192
|
result[gate.key] =
|
193
193
|
case gate.data_type
|
194
194
|
when :boolean
|
195
|
-
if
|
196
|
-
|
195
|
+
if detected_db_gate = db_gates.detect { |db_gate| db_gate.key == gate.key.to_s }
|
196
|
+
detected_db_gate.value
|
197
197
|
end
|
198
198
|
when :integer
|
199
|
-
if
|
200
|
-
|
199
|
+
if detected_db_gate = db_gates.detect { |db_gate| db_gate.key == gate.key.to_s }
|
200
|
+
detected_db_gate.value
|
201
201
|
end
|
202
202
|
when :set
|
203
203
|
db_gates.select { |db_gate| db_gate.key == gate.key.to_s }.map(&:value).to_set
|
data/lib/flipper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-sequel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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: 2019-
|
11
|
+
date: 2019-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flipper
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.17.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.
|
26
|
+
version: 0.17.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sequel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
|
85
|
-
rubygems_version: 2.4.5.4
|
84
|
+
rubygems_version: 3.0.3
|
86
85
|
signing_key:
|
87
86
|
specification_version: 4
|
88
87
|
summary: Sequel adapter for Flipper
|