flipper-active_record 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: 2fff52f2b2c04e2ceb37e9972b6231dda6c34e14dc079e30226e68c92e5693dd
4
- data.tar.gz: 89c40f2d531b0bab42acd7b19f9bdb92e7639bda6e0c9242f3453d4bb7301c8e
3
+ metadata.gz: 32251b50bd0d6e6d88152a14788c73fc5c24ffd2e75e56dad3d7721db9cdb1e9
4
+ data.tar.gz: 5c7a4f171fdf6af6c93925e02f990742edcea50d27bbadf425cedf1c3e373fcd
5
5
  SHA512:
6
- metadata.gz: 9abe37972c4ccdf229d14ad884cf6c3a1448acba517a372378567db9e5740b67dc367ca944ddaba1c10a66828eb91ceb6f8fffbb0d214fd29e3a145c3bfc8fd1
7
- data.tar.gz: 77a16598f4ce67723cb3bcfdacd2a2f7ceea3bd6c463a9dad44cb922f8804a1f159b0dd2e15175f193b2a728967f36f29531fc02af88ac03942d7c313d5a26ba
6
+ metadata.gz: f8484049fe8c1ffc9826c4f1b2bbea71026cabad2a4d9cc452215f9f920637064fe959dc6573d6ccf2fb54dc668698848135af93bb068b88ca3a28cd1ec7e3f9
7
+ data.tar.gz: 13f3a9507afcaee3c38299f2fb152b00e58f19a167f6f7575992248e6d4535c51ac303a71eebcaaedcd91e3641bceed2d661b91548b236faf03b07715e8d3c0f
@@ -4,8 +4,8 @@ require_relative "./ar_setup"
4
4
  require 'flipper/adapters/active_record'
5
5
 
6
6
  # Register a few groups.
7
- Flipper.register(:admins) { |thing| thing.admin? }
8
- Flipper.register(:early_access) { |thing| thing.early_access? }
7
+ Flipper.register(:admins) { |actor| actor.admin? }
8
+ Flipper.register(:early_access) { |actor| actor.early_access? }
9
9
 
10
10
  # Create a user class that has flipper_id instance method.
11
11
  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-active_record
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: activerecord
29
29
  requirement: !ruby/object:Gem::Requirement