ft_gem 3.1.2 → 3.1.3
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/controllers/helpers.rb +1 -1
- 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: ef9fd27c96559162edf384f50805b181bb19a6f413b68b0dd25c1bb7bb91b8ca
|
4
|
+
data.tar.gz: c2805800a918ee5439a42f5a94fe625dd7220d6e905cd793cea11135e68f563a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0ff18ca90cdebf23ce7caa62caf24b978cc3fe6e74964c0f2adcd138635d6e718d85a27325e5b1f6b226ba21c11c6135d21715ef37d58c1c4b86ca380f28c1a
|
7
|
+
data.tar.gz: 341fa06b4cb8ae03e2a4a43a34748b8ad90731628d970e4ef9c5011b734d613bc36beaf3d5d163c7ba0e79b709a4ee234e2e6efaafa7f2cfe0c5d7ab08d8b98e
|
@@ -29,7 +29,7 @@ module FtGem
|
|
29
29
|
new_cookie.push("#{toggle['attributes']['name']}:#{client_percentage}")
|
30
30
|
end
|
31
31
|
cookies.delete TOGGLE_COOKIE_NAME, domain: ENV['COOKIE_DOMAIN']
|
32
|
-
cookies[TOGGLE_COOKIE_NAME] = { value: Base64.
|
32
|
+
cookies[TOGGLE_COOKIE_NAME] = { value: Base64.strict_encode64(new_cookie.join(',')).to_s, secure: true }
|
33
33
|
rescue StandardError => e
|
34
34
|
Rails.logger.error "FTApiGem::update_feature_toggles error #{e.backtrace}"
|
35
35
|
nil
|