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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c537e62f6e618caf376cebb4629ae15bca98ab9e
4
- data.tar.gz: adf62476d3e6c2da3fb3af5764ff84a1dd0d52f9
2
+ SHA256:
3
+ metadata.gz: 8572027a4d492f0195bfb859807cf01f1db5f27039808513a61784819fe830b9
4
+ data.tar.gz: 89a75746d43949b3bc7c1ead22cf61454ab56e41a11509037a2cd177bd1f1c3a
5
5
  SHA512:
6
- metadata.gz: 6e64828fab17918eee38a9f30ca43cd9df0476b8c1d38f511408649474c031d9b209ce035e6beb26710e32185836579995584690c1e6ddadeef2a3fcf8446165
7
- data.tar.gz: ebb49fc205c96870beae0c67c54e15ff1bac4752962b8bd476337aee2d8178f22c7d9a73e15838b2593f0cfdbd64f1b4a81ce27c9ae87f20a0e8985f40b9189a
6
+ metadata.gz: 1c191dcfeab56b3831a6a48f2e74aa4b901c40925be27eb47278503d353ab04252f26432c1429ac9af435bf117c10de7c2bd9f9f358b5c2075a3a7059c96bd77
7
+ data.tar.gz: 5673707e05b9081b44692842a08b726fdf386573f855fe871a30e907e45289e86dafd7bc084c90e2a9bdb2214dd1838b76e32cfc5cab062a8f268b6b6083e201
@@ -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 db_gate = db_gates.detect { |db_gate| db_gate.key == gate.key.to_s }
196
- db_gate.value
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 db_gate = db_gates.detect { |db_gate| db_gate.key == gate.key.to_s }
200
- db_gate.value
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
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.16.2'.freeze
2
+ VERSION = '0.17.1'.freeze
3
3
  end
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.16.2
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-04-20 00:00:00.000000000 Z
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.16.2
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.16.2
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
- rubyforge_project:
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