app_manager 1.3.3 → 1.3.4

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: 9b43df1c21cb67c078b9a24c4152573750ffcaf7e13e9748380c642ebe62a7f1
4
- data.tar.gz: 1d0e8f8dff11ff42024d85999189384408b663b6d196798d415ba6eed1ff606f
3
+ metadata.gz: 73c07b966d8cbce529a652bd4765b5f4107280a9438868e4b5d898631d8d8c38
4
+ data.tar.gz: a7fe2691818b06e7f43feb481046f3c6ff4bd3e4c744b737f2c6ca81abf80a56
5
5
  SHA512:
6
- metadata.gz: 15cb229b021268ad6a36ac708cdb50a5305db6e654ec34317b0685c91cbde3515789ab84d57f13118313b7355be7d1084c43b2ae60dbc84098d5e72f04d47ae3
7
- data.tar.gz: 126d03e0ce67248128236fde8cbd4c98d246f012358965b5b8fd000df7bb396e5e75125b42e3d0552b7cd8177e49ffdd0cd73d931af769a6606400953b657afc
6
+ metadata.gz: 335f46ddc9d884bd9edf6b3361d8e4c2c0fda5f4ed8ece90a18eec729b00bdc5fed894700dee1a423678a259af025ff9013fb21fc7e016d8f0a07e1f34c84a0c
7
+ data.tar.gz: 4624f11210812f05fb6f421b8ceb624a31b64aabde7a757bafceca97cd21705f17eb3b2851d49139526940f37f999abeed5497cab88b705de47e2a936d130229
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_manager (1.3.3)
4
+ app_manager (1.3.4)
5
5
  httparty
6
6
  kaminari (>= 0.16.3)
7
7
  rails (>= 5.2.0)
@@ -9,67 +9,67 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actioncable (7.0.3)
13
- actionpack (= 7.0.3)
14
- activesupport (= 7.0.3)
12
+ actioncable (7.0.3.1)
13
+ actionpack (= 7.0.3.1)
14
+ activesupport (= 7.0.3.1)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailbox (7.0.3)
18
- actionpack (= 7.0.3)
19
- activejob (= 7.0.3)
20
- activerecord (= 7.0.3)
21
- activestorage (= 7.0.3)
22
- activesupport (= 7.0.3)
17
+ actionmailbox (7.0.3.1)
18
+ actionpack (= 7.0.3.1)
19
+ activejob (= 7.0.3.1)
20
+ activerecord (= 7.0.3.1)
21
+ activestorage (= 7.0.3.1)
22
+ activesupport (= 7.0.3.1)
23
23
  mail (>= 2.7.1)
24
24
  net-imap
25
25
  net-pop
26
26
  net-smtp
27
- actionmailer (7.0.3)
28
- actionpack (= 7.0.3)
29
- actionview (= 7.0.3)
30
- activejob (= 7.0.3)
31
- activesupport (= 7.0.3)
27
+ actionmailer (7.0.3.1)
28
+ actionpack (= 7.0.3.1)
29
+ actionview (= 7.0.3.1)
30
+ activejob (= 7.0.3.1)
31
+ activesupport (= 7.0.3.1)
32
32
  mail (~> 2.5, >= 2.5.4)
33
33
  net-imap
34
34
  net-pop
35
35
  net-smtp
36
36
  rails-dom-testing (~> 2.0)
37
- actionpack (7.0.3)
38
- actionview (= 7.0.3)
39
- activesupport (= 7.0.3)
37
+ actionpack (7.0.3.1)
38
+ actionview (= 7.0.3.1)
39
+ activesupport (= 7.0.3.1)
40
40
  rack (~> 2.0, >= 2.2.0)
41
41
  rack-test (>= 0.6.3)
42
42
  rails-dom-testing (~> 2.0)
43
43
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
- actiontext (7.0.3)
45
- actionpack (= 7.0.3)
46
- activerecord (= 7.0.3)
47
- activestorage (= 7.0.3)
48
- activesupport (= 7.0.3)
44
+ actiontext (7.0.3.1)
45
+ actionpack (= 7.0.3.1)
46
+ activerecord (= 7.0.3.1)
47
+ activestorage (= 7.0.3.1)
48
+ activesupport (= 7.0.3.1)
49
49
  globalid (>= 0.6.0)
50
50
  nokogiri (>= 1.8.5)
51
- actionview (7.0.3)
52
- activesupport (= 7.0.3)
51
+ actionview (7.0.3.1)
52
+ activesupport (= 7.0.3.1)
53
53
  builder (~> 3.1)
54
54
  erubi (~> 1.4)
55
55
  rails-dom-testing (~> 2.0)
56
56
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (7.0.3)
58
- activesupport (= 7.0.3)
57
+ activejob (7.0.3.1)
58
+ activesupport (= 7.0.3.1)
59
59
  globalid (>= 0.3.6)
60
- activemodel (7.0.3)
61
- activesupport (= 7.0.3)
62
- activerecord (7.0.3)
63
- activemodel (= 7.0.3)
64
- activesupport (= 7.0.3)
65
- activestorage (7.0.3)
66
- actionpack (= 7.0.3)
67
- activejob (= 7.0.3)
68
- activerecord (= 7.0.3)
69
- activesupport (= 7.0.3)
60
+ activemodel (7.0.3.1)
61
+ activesupport (= 7.0.3.1)
62
+ activerecord (7.0.3.1)
63
+ activemodel (= 7.0.3.1)
64
+ activesupport (= 7.0.3.1)
65
+ activestorage (7.0.3.1)
66
+ actionpack (= 7.0.3.1)
67
+ activejob (= 7.0.3.1)
68
+ activerecord (= 7.0.3.1)
69
+ activesupport (= 7.0.3.1)
70
70
  marcel (~> 1.0)
71
71
  mini_mime (>= 1.1.0)
72
- activesupport (7.0.3)
72
+ activesupport (7.0.3.1)
73
73
  concurrent-ruby (~> 1.0, >= 1.0.2)
74
74
  i18n (>= 1.6, < 2)
75
75
  minitest (>= 5.1)
@@ -117,6 +117,7 @@ GEM
117
117
  mime-types-data (~> 3.2015)
118
118
  mime-types-data (3.2022.0105)
119
119
  mini_mime (1.1.2)
120
+ mini_portile2 (2.8.0)
120
121
  minitest (5.16.2)
121
122
  multi_xml (0.6.0)
122
123
  net-imap (0.2.3)
@@ -134,7 +135,8 @@ GEM
134
135
  net-protocol
135
136
  timeout
136
137
  nio4r (2.5.8)
137
- nokogiri (1.13.6-x86_64-linux)
138
+ nokogiri (1.13.7)
139
+ mini_portile2 (~> 2.8.0)
138
140
  racc (~> 1.4)
139
141
  pry (0.14.1)
140
142
  coderay (~> 1.1)
@@ -144,28 +146,28 @@ GEM
144
146
  rack (2.2.4)
145
147
  rack-test (2.0.2)
146
148
  rack (>= 1.3)
147
- rails (7.0.3)
148
- actioncable (= 7.0.3)
149
- actionmailbox (= 7.0.3)
150
- actionmailer (= 7.0.3)
151
- actionpack (= 7.0.3)
152
- actiontext (= 7.0.3)
153
- actionview (= 7.0.3)
154
- activejob (= 7.0.3)
155
- activemodel (= 7.0.3)
156
- activerecord (= 7.0.3)
157
- activestorage (= 7.0.3)
158
- activesupport (= 7.0.3)
149
+ rails (7.0.3.1)
150
+ actioncable (= 7.0.3.1)
151
+ actionmailbox (= 7.0.3.1)
152
+ actionmailer (= 7.0.3.1)
153
+ actionpack (= 7.0.3.1)
154
+ actiontext (= 7.0.3.1)
155
+ actionview (= 7.0.3.1)
156
+ activejob (= 7.0.3.1)
157
+ activemodel (= 7.0.3.1)
158
+ activerecord (= 7.0.3.1)
159
+ activestorage (= 7.0.3.1)
160
+ activesupport (= 7.0.3.1)
159
161
  bundler (>= 1.15.0)
160
- railties (= 7.0.3)
162
+ railties (= 7.0.3.1)
161
163
  rails-dom-testing (2.0.3)
162
164
  activesupport (>= 4.2.0)
163
165
  nokogiri (>= 1.6)
164
166
  rails-html-sanitizer (1.4.3)
165
167
  loofah (~> 2.3)
166
- railties (7.0.3)
167
- actionpack (= 7.0.3)
168
- activesupport (= 7.0.3)
168
+ railties (7.0.3.1)
169
+ actionpack (= 7.0.3.1)
170
+ activesupport (= 7.0.3.1)
169
171
  method_source
170
172
  rake (>= 12.2)
171
173
  thor (~> 1.0)
@@ -58,12 +58,16 @@ module AppManager
58
58
  if fetch_static_cached_response(cache_key).present?
59
59
  return fetch_static_cached_response(cache_key)
60
60
  end
61
+ begin
61
62
  response = self.class.send(http_method, path, { body: options, timeout: 10 })
62
63
  if response.class.to_s == "HTTParty::Response" && (response.code.to_s.start_with?('2') or response.code.to_s.start_with?('4')) && (response.code.to_s != '429')
63
64
  Rails.cache.write(cache_key, response, expires_in: AppManager.configuration.expires_in)
64
65
  else
65
66
  response = response_from_failsafe(path,options)
66
67
  end
68
+ rescue Net::ReadTimeout => error
69
+ response = response_from_failsafe(path,options)
70
+ end
67
71
  return response
68
72
  end
69
73
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppManager
4
- VERSION = "1.3.3"
4
+ VERSION = "1.3.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hulkapps
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-12 00:00:00.000000000 Z
11
+ date: 2022-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty