app_manager 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/app_manager/plans_controller.rb +10 -10
- data/lib/app_manager/client/connection.rb +1 -1
- data/lib/app_manager/version.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: 6727df8a0c9cc4df0425d8b62c206f3b9076bedb62d5ede29266ba9d43ef5df9
|
4
|
+
data.tar.gz: ace50d6916ff9f6c14c0ab9388fb194bada931f19b613ad664a68c1d20f06089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd7e2afad41cedc53566ef723d5451a4435a0b15d2cb6726252819021fce43e869c50fcd27349df0987f395aa59b24e37a72335dd02f188ad3d13f5e439e8d70
|
7
|
+
data.tar.gz: 926eb7293fd9e2c0bdbc2b61737cb9cd74a4e17291aed9dac2f0fd537f518b91be5ebd5b36162f71d212a5953eed1546b3f039713abda16a1c6d4387c3a4f6ae
|
data/Gemfile.lock
CHANGED
@@ -160,18 +160,18 @@ module AppManager
|
|
160
160
|
params_permit
|
161
161
|
Thread.new do
|
162
162
|
@fs = AppManager::FailSafe.new
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
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
|
-
|
169
|
+
begin
|
170
170
|
@fs.save_api_data(params)
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
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
|
data/lib/app_manager/version.rb
CHANGED