flipper-active_record 0.25.0 → 0.25.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flipper/adapters/active_record.rb +1 -1
- data/lib/flipper/version.rb +1 -1
- data/lib/flipper-active_record.rb +1 -5
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c34f40bdfae35dbaa6a0d1573e54cf55d29af2820c2b9deacbdddaa6db7af5f8
|
4
|
+
data.tar.gz: 12d80ba4b9dfe24482cf28ae26467becf691c75400fc31ff71adced263d6d755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 588963466a5baaa11b6e6662ac26dd75eb7b1e407165acbf933fdf5744c830da5f64bd2f07dcde9635a1957e1602f114bbf8c926996986b2b8e3fd2b52f9b8d0
|
7
|
+
data.tar.gz: ebad584501d82c15d4ceae25e1457db6e1d4b6cf7768e2d5ff4fb103e94e9332fb771d19639203053e79cb0c659c7cdcd7a58f20f6ac25a551354a01caa5bd3a
|
@@ -112,7 +112,7 @@ module Flipper
|
|
112
112
|
.on(features[:key].eq(gates[:feature_key]))
|
113
113
|
.project(features[:key].as('feature_key'), gates[:key], gates[:value])
|
114
114
|
rows = @feature_class.connection.select_all rows_query
|
115
|
-
db_gates = rows.map { |row|
|
115
|
+
db_gates = rows.map { |row| @gate_class.new(row) }
|
116
116
|
grouped_db_gates = db_gates.group_by(&:feature_key)
|
117
117
|
result = Hash.new { |hash, key| hash[key] = default_config }
|
118
118
|
features = grouped_db_gates.keys.map { |key| Flipper::Feature.new(key, self) }
|
data/lib/flipper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-active_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.25.
|
4
|
+
version: 0.25.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-19 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.25.
|
19
|
+
version: 0.25.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.25.
|
26
|
+
version: 0.25.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '8'
|
47
|
-
description:
|
47
|
+
description:
|
48
48
|
email:
|
49
49
|
- nunemaker@gmail.com
|
50
50
|
executables: []
|
@@ -68,7 +68,7 @@ licenses:
|
|
68
68
|
- MIT
|
69
69
|
metadata:
|
70
70
|
changelog_uri: https://github.com/jnunemaker/flipper/blob/master/Changelog.md
|
71
|
-
post_install_message:
|
71
|
+
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
74
74
|
- lib
|
@@ -83,8 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
rubygems_version: 3.
|
87
|
-
signing_key:
|
86
|
+
rubygems_version: 3.3.7
|
87
|
+
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: ActiveRecord adapter for Flipper
|
90
90
|
test_files:
|