ft_gem 3.1.14 → 3.2.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: db43b97ec5443d62e7c13333b733500fed1cbd9c2f13462955ef242dd810a0c2
4
- data.tar.gz: 1941b502277a462f749f29199c068007c614e0ad175a1e65ccf8139f35dcd86b
3
+ metadata.gz: c87e1b362c32c626bae277df5143edae9272ecd266f35385f1357f4e160afc56
4
+ data.tar.gz: 1b344e81360b00da689b46c280b9bd4e5c7e396f539dbe9164f9aaba75811d79
5
5
  SHA512:
6
- metadata.gz: 78dd064fd71a7862fa0a8ab4c61a5c30b0faf4bb3e4a0394429e1669fd9c57e6795dbb2d68ce85af9393b306e03f536db2dcde0704b8b77ba03dc8048b36189d
7
- data.tar.gz: 36cc45d908f1ce9e74963b65169d2c546962c49d9b9c415a30f341e391b7b64558f61c20a96e8e397b5b5034bb79acb2d4c19b3027261b98d9f12643e37ce09c
6
+ metadata.gz: 5b130653d438520557292a204f73369a791c724a4e1063e947e63a77dc4853315bbb889049785313f0a9eabb8e8fa15570e74e523fad5178db2a6f141e0c9e24
7
+ data.tar.gz: 341027d3da3318695a647480268aa71925caab0d1dfabc82b21e778cb8ada8fd2efb27ee8b8d28c37838623858c8d55c199c04c196c9925efd6b9c5d57e2a942
@@ -16,7 +16,7 @@ module FtGem
16
16
  toggle_percentage = toggles[index.to_i]['attributes']['percentage']
17
17
  whitelisted = FtShared.new.whitelisted?(url: url, whitelist_urls: toggles[index.to_i]['attributes']['whitelist-urls'])
18
18
 
19
- return true && whitelisted if FtGem::Services::BetaService.public_beta?(cookie: Base64.decode64(cookies[PUBLICBETA_COOKIE_NAME]),toggles: toggles, index: index)
19
+ return true && whitelisted if FtGem::Services::BetaService.public_beta?(cookie: cookies[PUBLICBETA_COOKIE_NAME],toggles: toggles, index: index)
20
20
  return true && whitelisted if FtGem::Services::BetaService.private_beta?(user_id: user_id, toggles: toggles, index: index)
21
21
 
22
22
  return client_percentage.to_i <= toggle_percentage.to_i && whitelisted
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.14
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto