ft_gem 3.1.1 → 3.1.2
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/shared/ft_shared.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d19039825e1e26531c6abefaefc2e368679d26dcfc87f7172c4b0780a3eda49
|
4
|
+
data.tar.gz: abe53272347dd4e2e3d820fdcd321f8e9d166a62b47bb875bb2e6a62c515ea4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2a093c4a64b3725248f3abc40f367ea9c84ea40caefb8da77cf414c5d96136f33a468af8bc7d603e0ad2e18a4cf55e80e0f35a0e14a9b316b4f57d971e3f959
|
7
|
+
data.tar.gz: 3a5f60221a4f0f61032dd7dfdb232f324f285c3f318f25593564d9262fbfccb6ddae27b0de7ed186a104b08316824315b5f9dcb2b4bc2027e2b6bfb399d5565e
|
@@ -12,7 +12,7 @@ class FtShared
|
|
12
12
|
|
13
13
|
def all_toggles
|
14
14
|
Rails.cache.fetch('all-feature-toggles', expires_in: 1.minute) do
|
15
|
-
JSON.parse(HTTParty.get("#{ENV['SITE_URL']}/service/ft/api/v1/feature-toggles
|
15
|
+
JSON.parse(HTTParty.get("#{ENV['SITE_URL']}/service/ft/api/v1/feature-toggles", headers: authentication_header).to_json)['data']
|
16
16
|
end
|
17
17
|
rescue StandardError => e
|
18
18
|
Rails.logger.error "FtHelper::all_toggles error #{e.message}"
|
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.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Murray Catto
|
@@ -66,7 +66,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '0'
|
68
68
|
requirements: []
|
69
|
-
|
69
|
+
rubyforge_project:
|
70
|
+
rubygems_version: 2.7.8
|
70
71
|
signing_key:
|
71
72
|
specification_version: 4
|
72
73
|
summary: Client side feature toggle
|