app_manager 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccc14af26b2bc149bba059ef2c7d45e58bc0d8460f02141d26edce1ba465aaeb
4
- data.tar.gz: 51da1f98e7d8bb114e3adbf80cfe510fd66caa7965525adf0cb98c8ad4fa5ca0
3
+ metadata.gz: 6727df8a0c9cc4df0425d8b62c206f3b9076bedb62d5ede29266ba9d43ef5df9
4
+ data.tar.gz: ace50d6916ff9f6c14c0ab9388fb194bada931f19b613ad664a68c1d20f06089
5
5
  SHA512:
6
- metadata.gz: 13238860ae46955c3c6fa71e304d0be8e29b30c2940d29ff07e8b31e724bf887349f4148c452e137b4b5d0f551e1e047f9ca16a413cb09788795dacc304dbc75
7
- data.tar.gz: 18d9de82d48bcaa9dd9dff5a4cc8473d704c06096228e3a2148a26d2022ef6b8c71a6bb45cf877f9296ed391e33508fa7368ecc0b77eac8ed77c2dc25d100129
6
+ metadata.gz: fd7e2afad41cedc53566ef723d5451a4435a0b15d2cb6726252819021fce43e869c50fcd27349df0987f395aa59b24e37a72335dd02f188ad3d13f5e439e8d70
7
+ data.tar.gz: 926eb7293fd9e2c0bdbc2b61737cb9cd74a4e17291aed9dac2f0fd537f518b91be5ebd5b36162f71d212a5953eed1546b3f039713abda16a1c6d4387c3a4f6ae
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_manager (1.3.0)
4
+ app_manager (1.3.1)
5
5
  httparty
6
6
  kaminari (>= 0.16.3)
7
7
  rails (>= 5.2.0)
@@ -160,18 +160,18 @@ module AppManager
160
160
  params_permit
161
161
  Thread.new do
162
162
  @fs = AppManager::FailSafe.new
163
- # begin
164
- # @fs.sync_app_manager
165
- # rescue Exception => e
166
- # Rails.logger.info "APP MANAGER >>>> LOCAL DB couldn't sync with POTAL DB #{e.inspect}"
167
- # end
163
+ begin
164
+ @fs.sync_app_manager
165
+ rescue Exception => e
166
+ Rails.logger.info "APP MANAGER >>>> LOCAL DB couldn't sync with POTAL DB #{e.inspect}"
167
+ end
168
168
 
169
- # begin
169
+ begin
170
170
  @fs.save_api_data(params)
171
- # rescue Exception => e
172
- # Rails.logger.info "APP MANAGER >>>> #{e.inspect}"
173
- # end
174
- # AppManager.clear_cache
171
+ rescue Exception => e
172
+ Rails.logger.info "APP MANAGER >>>> #{e.inspect}"
173
+ end
174
+ AppManager.clear_cache
175
175
  end
176
176
  head :ok
177
177
  end
@@ -37,7 +37,7 @@ module AppManager
37
37
  if response.code.to_s.start_with?('2') or response.code.to_s.start_with?('4')
38
38
  data = response.parsed_response
39
39
  data = parse_data(response.parsed_response)
40
- data = response_from_failsafe(path,options)
40
+ # data = response_from_failsafe(path,options)
41
41
  else
42
42
  data = response_from_failsafe(path,options)
43
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppManager
4
- VERSION = "1.3.0"
4
+ VERSION = "1.3.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hulkapps