flipper-sequel 0.27.1 → 0.28.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/sequel/internals.rb +2 -2
- data/lib/flipper/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f873e29a7090967d66ded038d78b0158095890375ec18c561b9c3cd49479e18
|
4
|
+
data.tar.gz: 5e2793872e558a891151a69f2ff37582cd683fd2411aa6dc0f24bf525903f890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 659d8df4b5e83df6748c17a48d85a11ad932ea8e2579170bfff9e26554ecc2d2448879e4df94b3633223a9abe71a0fc5545a7dc0b767e85545aa9e8560a6025c
|
7
|
+
data.tar.gz: 31f607f15df46bc2bf72ed9bfd3e6e6c030b9b32a89713ce9a4cdab50ed09390ed1f5fde2fb4c88abd782e00fd4d42ad0ddc0dd0ec27362d5fa783f1a806a2c6
|
@@ -9,8 +9,8 @@ CreateFlipperTablesSequel.new(Sequel::Model.db).up
|
|
9
9
|
require 'flipper/adapters/sequel'
|
10
10
|
|
11
11
|
# Register a few groups.
|
12
|
-
Flipper.register(:admins) { |
|
13
|
-
Flipper.register(:early_access) { |
|
12
|
+
Flipper.register(:admins) { |actor| actor.admin? }
|
13
|
+
Flipper.register(:early_access) { |actor| actor.early_access? }
|
14
14
|
|
15
15
|
# Create a user class that has flipper_id instance method.
|
16
16
|
User = Struct.new(:flipper_id)
|
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.28.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: 2023-
|
11
|
+
date: 2023-07-17 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.28.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.28.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sequel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|