ft_gem 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ft_gem/view/helpers.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4db912daaeeb0db5f4c4f53619d7069f67d9e8fbbed1af743626ec1c33f4f580
4
- data.tar.gz: 90063c269dd4d8282f4c1e415d17a565a6270a318dd59db5f77edf317b4e2368
3
+ metadata.gz: fb7655fa5e38795c63e69e1dccf1e101d2ddf5f2c52885a96264f86990e7fb47
4
+ data.tar.gz: 8595affca30c4dfea73bb9ffb895d4b3215205db4e0f08be700f0a7799ce891c
5
5
  SHA512:
6
- metadata.gz: c6a7bab0398bccc298e3e559bdad08626b43fde41d32d2dae6cd4b2391556193917af0c0ee4fcfa15f047fe7b0ec12ec46f48e7db9cb67aa6bc3ca8e9ac34ddb
7
- data.tar.gz: 90e54c1ba7272e485d5adb3bd6a79017cbfc1331ce4d3b80f095c694206c1a771267251e81fe5be2836bd2812c471166ceec2797f61472d15f750da8354f471a
6
+ metadata.gz: 7f065ba0cfa3356eda13b7df33da4f833caaea8cca77e9561b704a70b348934ff92d18d4c9bbaead6522f0f892ce23dcf8975fdcbd8d084aa00bfd849077c65c
7
+ data.tar.gz: f34ab23b8a0612d84dfa65c5967c9a29e9b1d5e6562dfede89928cc24cb432aac50147c2dbab526bd11d9fbe9a715183a7f595b71f29a81a76e4bc4db1097c03
@@ -4,7 +4,7 @@ module FtGem
4
4
  def self.status(name:)
5
5
  toggle = FtShared.fetch(name: name)
6
6
  return false if toggle.nil?
7
- toggle['attributes']['percentage'].to_i == 100
7
+ toggle['data']['attributes']['percentage'].to_i == 100
8
8
  rescue StandardError => e
9
9
  Rails.logger.error "FtHelper::status error #{e.backtrace}"
10
10
  false
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.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto