flipper-mongo 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: 26a22fb95ab9f8e6cec85da0b0f4260aa8b6ec815bf221cb2b53617d209234ec
4
- data.tar.gz: fd31fd261eabd35560b3df3b3e3f255f682e8e0330bddfece4ecd710a5ac1807
3
+ metadata.gz: d4dd511ae3a7d8d8bcc104dc93c7c330474b7bd0803925ebd0afaff76113321a
4
+ data.tar.gz: 600766ae708d9c6002d930cdfb2690d426bac12c66b1aa275c585a3e583104a4
5
5
  SHA512:
6
- metadata.gz: f3435599ea189245d15d3ef9a60fc766ce2235c9b92ff8fa34199e5673385d876c6970ad895310961e04a4388d2c9614311171b02412ce87ca702db25820b365
7
- data.tar.gz: 98c45854dad7bace6dbec44f1b73c03772de5c5262af9aed7139b22e8496fcc4ed248a74a729903c4aff9e681d4d2fe92a7f3607ce54ce05b68f8f809f577f1d
6
+ metadata.gz: 67d42d8938ee5c8f792933e78b182927f20a714c21a641c67c97b7590cbb5f1e18104feaa5cf857909766e82b8827dea1967cf165c9b753d2530e3acea79fa6b
7
+ data.tar.gz: c163c7f41f5cad6bd5e6cabf1cb74f014f22262881ca795253975d04a33208c8caa4b2655be4273607458a4529ade496b0b10d2721ed2325e947f641802acd3a
@@ -6,8 +6,8 @@ ENV["FLIPPER_MONGO_URL"] ||= "mongodb://127.0.0.1:#{ENV["MONGODB_PORT"] || 27017
6
6
  require 'flipper/adapters/mongo'
7
7
 
8
8
  # Register a few groups.
9
- Flipper.register(:admins) { |thing| thing.admin? }
10
- Flipper.register(:early_access) { |thing| thing.early_access? }
9
+ Flipper.register(:admins) { |actor| actor.admin? }
10
+ Flipper.register(:early_access) { |actor| actor.early_access? }
11
11
 
12
12
  # Create a user class that has flipper_id instance method.
13
13
  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-mongo
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: mongo
29
29
  requirement: !ruby/object:Gem::Requirement