ft_gem 3.0.0 → 3.0.1
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: 816a5c567d0c372bf9da4de797c9f3052ece2098abbbc2dbbad42f0056be4968
|
4
|
+
data.tar.gz: ae8ce8e3ae282ac8ed8fb3e15ab8de46a3f5e0dbaea297a4a0ca0854e92f633e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e215fa09ea091d7aea42bf59ee9eb66a47f4099b99e20364285c243b9757ef2e9aa37471245641e844cb334780fc2b19f0ac21446614335753a5135e2643761a
|
7
|
+
data.tar.gz: 0f8cc5c5bbd5af2310115a47368f14f3d00759f792be928dc85b18c1e1bb381d7786b8de5d5e277f7de8d7adfe1788bf83d522e7521cc6cab61a6a9cad6eb146
|
@@ -27,7 +27,7 @@ module FtGem
|
|
27
27
|
client_percentage = calc_client_percentage(decoded_cookie: decoded_cookie, toggle_name: toggle['attributes']['name'])
|
28
28
|
new_cookie.push("#{toggle['attributes']['name']}:#{client_percentage}")
|
29
29
|
end
|
30
|
-
cookies[TOGGLE_COOKIE_NAME] = Base64.encode64(new_cookie.join(','))
|
30
|
+
cookies[TOGGLE_COOKIE_NAME] = { value: Base64.encode64(new_cookie.join(',')).to_s }
|
31
31
|
rescue StandardError => e
|
32
32
|
Rails.logger.error "FTApiGem::update_feature_toggles error #{e.backtrace}"
|
33
33
|
nil
|