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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d64498a7f6859d6d51e064192b7812c5b3f3c1d5a7b4b09dfa2f08534fde4dbb
4
- data.tar.gz: d1581653b1cd5fbe017ffac77557f68225b09a4d3264163f8de9b4299b258c8c
3
+ metadata.gz: c0e2da07f3d2533e273a4c2b299dc80c3fe95cf2d6dd30f84c2258a3a2ae6b22
4
+ data.tar.gz: 9eeca9dbd37d564fa512ed2cfec993af971911878ad46c54d4d573400a7e37a7
5
5
  SHA512:
6
- metadata.gz: dd3b8045267e02895e7b0941247ccf9c2de810cee6917b5669c75b420feef27140321c1882bf2f23e2ac279e1aafc90fb4c8272e150fd8fe1292251e43b269b7
7
- data.tar.gz: 4eeb5c92e619c3305a9fc73fec4f2aa86222bae5da0e8f402458e160923e0b491f7fd592d7a68879c968530a0dbe396967d30b24df5ef8493055ac75495839ce
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(index.to_i, 'attributes')
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'] == "privatebeta"
17
+ cookie == "true" && attributes['status'] == "publicbeta"
18
18
  end
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ft_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.11
4
+ version: 3.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto