ft_gem 3.1.11 → 3.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ft_gem/services/beta_service.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0e2da07f3d2533e273a4c2b299dc80c3fe95cf2d6dd30f84c2258a3a2ae6b22
|
4
|
+
data.tar.gz: 9eeca9dbd37d564fa512ed2cfec993af971911878ad46c54d4d573400a7e37a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a55724fd18a65cb6d31d82bcb74951d36727bd9d7e7331ccfa624695724d346ff3b521afecec209f668becf8a59be0fb344f9cfd7ef655f80120928184c88d5
|
7
|
+
data.tar.gz: 637e41c423d27e01e4fe40fb810f307acbefacc4d00b58f24257a4502c3f2dc3bcc4a5382fff94a4e87e874b5c8cb9b783562fd22b912381589cc7bb60a3d236
|
@@ -5,7 +5,7 @@ module FtGem
|
|
5
5
|
return false unless user_id.present?
|
6
6
|
return false unless toggles.present?
|
7
7
|
|
8
|
-
attributes = toggles.dig(
|
8
|
+
attributes = toggles[index.to_i].dig('attributes')
|
9
9
|
|
10
10
|
attributes['status'] == "privatebeta" && attributes['beta-users'].split(",").include?(user_id.to_s)
|
11
11
|
end
|
@@ -14,7 +14,7 @@ module FtGem
|
|
14
14
|
return false unless toggles.present?
|
15
15
|
|
16
16
|
attributes = toggles.dig(index.to_i, 'attributes')
|
17
|
-
cookie == "true" && attributes['status'] == "
|
17
|
+
cookie == "true" && attributes['status'] == "publicbeta"
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|