flipper-sequel 0.27.1 → 0.28.0

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
2
  SHA256:
3
- metadata.gz: 8b44679cc90de32abf17596b96d1e9b899bac3ba8c9e8d2a55a63894ae6c7785
4
- data.tar.gz: 4c5207e63bf07afbebf9fd1b6b7bffe022fd8d5fa9ca760d3268ab05cfe622d3
3
+ metadata.gz: eba56dec81f857db0a960da3a7eb5bf87f86c4c96ad406d4c51b2ce3e423abff
4
+ data.tar.gz: 6e0a968f820b91fed0c6abdf3c56389396d5a0575eaf54a78aae4d041829b806
5
5
  SHA512:
6
- metadata.gz: 8749037d612da7405e1bbcff28ae02f5995507c555b1e3e9aff6c6af45acd45e5a8982b929ff44372861b9d4264584fd9fd4551ea8ed8ba091b64f6357cf981b
7
- data.tar.gz: 8d2004e480d18cac28aec3741f7ce131ee402462afe54cc5ebfa8d635b321fdfe7034e1bb6211acba96941cc8e09c8c05d8de68ca6700e7804134c47b8010467
6
+ metadata.gz: 9f9d5f01b25caeacc0a634c14de2876f75fcc2cdbd514946800880c12d06856f975f299736bc8457dd6f9a5160eecfc7e4f491edc4630328d94e367541f584fc
7
+ data.tar.gz: a9bf715d5fbd708544373ebd47e29539dc88defe1205c617bfa7b817885d921fc53e56ca48536eed46956ad263479557614f10f27a615a1665a749600ad71b73
@@ -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) { |thing| thing.admin? }
13
- Flipper.register(:early_access) { |thing| thing.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)
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.27.1'.freeze
2
+ VERSION = '0.28.0'.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.27.1
4
+ version: 0.28.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: 2023-03-20 00:00:00.000000000 Z
11
+ date: 2023-03-21 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.27.1
19
+ version: 0.28.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.27.1
26
+ version: 0.28.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sequel
29
29
  requirement: !ruby/object:Gem::Requirement