katalyst-koi 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/flipper.rb +2 -6
- data/lib/koi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90e5721b8bace02f68122960be426eaf1dca28b0d53519427d946725f514048b
|
4
|
+
data.tar.gz: 8f1d20633b556d6142ca2d9db7c4f643c7d8aa6ef55de0f08516475fd992dd1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64fcc8bd6d9bcf30de3deef6c7c5cce8599d11ec70a6e48caafe0409d29794e04e7025aaa10f9986d48f241862ac9b21fa39ae3dd44a76689e7215fade8213b6
|
7
|
+
data.tar.gz: 3af3963bd76e9f74c2fb2a71cc4af2d13ea239319dc68a5e9b61fcc37a1773b65ffcff958a7ae69003ba7909260b83cf307ad908a5729b192dd1c10d0c74af67
|
@@ -4,10 +4,6 @@
|
|
4
4
|
|
5
5
|
return unless Object.const_defined?("Flipper")
|
6
6
|
|
7
|
-
Flipper.register(:admins) do |
|
8
|
-
actor.
|
9
|
-
end
|
10
|
-
|
11
|
-
Flipper.register(:super_admins) do |actor, _context|
|
12
|
-
actor.respond_to?("role") && (actor.role.eql? "Super")
|
7
|
+
Flipper.register(:admins) do |flipper, _context|
|
8
|
+
flipper.actor.is_a?(Admin::User) && !flipper.actor.archived?
|
13
9
|
end
|
data/lib/koi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katalyst-koi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katalyst Interactive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|