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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39a9a9772dee5dba0e499afda4092932c5946c1d9f1eb82f4d30d02ea5c8a10a
4
- data.tar.gz: 0543e9b71399df27e8505a72bbc57b55bbc90fea55ae61964107d2002d8c2b3d
3
+ metadata.gz: 816a5c567d0c372bf9da4de797c9f3052ece2098abbbc2dbbad42f0056be4968
4
+ data.tar.gz: ae8ce8e3ae282ac8ed8fb3e15ab8de46a3f5e0dbaea297a4a0ca0854e92f633e
5
5
  SHA512:
6
- metadata.gz: 0b01c628512e5425e03c07d30886249c84d3c2d278416942ff776e9acadfbcf17caf0b354130b2392f47726f35c83ea707ecfe59d51411e9f43460e5b7258f3c
7
- data.tar.gz: cf2a4ed35b4dbbe1a324eba1bbf1246f7698554d0ee69804313754bde8af29d3128ec5cf35917bfd2bc8984691b497ed170eed9e3f1e2445c239363e35a67349
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
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.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto