app_manager 2.3.0 → 2.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 +73 -71
- data/app/controllers/app_manager/charges_controller.rb +1 -1
- data/lib/app_manager/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b31e9471677527b7f6face01beac639469cab8dc2ff202978da8817466cad8cb
|
4
|
+
data.tar.gz: '08708078a2e0fc375969590f7542946102754c8d01c9e321a84f8bb172c9e956'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 803859a49d8698a6f6f1e706ce54c7505f992c8fde1974e505f37fa5113ffdcd553d1efb52c42774ae50a33d0b8808015171b739fe1442a4001c89d913b4e022
|
7
|
+
data.tar.gz: bb3e910739a76c982f5510cb1bdd4610a20854f55f969fde0916550005da5da525c7f83e7ca0331e8090d2a35d591dce40b6f3233d55870a93fbe7ca50fec239
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
app_manager (2.3.
|
4
|
+
app_manager (2.3.1)
|
5
5
|
activerecord-import (~> 1.4)
|
6
6
|
httparty
|
7
7
|
kaminari (>= 0.16.3)
|
@@ -10,35 +10,35 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (7.1.
|
14
|
-
actionpack (= 7.1.
|
15
|
-
activesupport (= 7.1.
|
13
|
+
actioncable (7.1.4)
|
14
|
+
actionpack (= 7.1.4)
|
15
|
+
activesupport (= 7.1.4)
|
16
16
|
nio4r (~> 2.0)
|
17
17
|
websocket-driver (>= 0.6.1)
|
18
18
|
zeitwerk (~> 2.6)
|
19
|
-
actionmailbox (7.1.
|
20
|
-
actionpack (= 7.1.
|
21
|
-
activejob (= 7.1.
|
22
|
-
activerecord (= 7.1.
|
23
|
-
activestorage (= 7.1.
|
24
|
-
activesupport (= 7.1.
|
19
|
+
actionmailbox (7.1.4)
|
20
|
+
actionpack (= 7.1.4)
|
21
|
+
activejob (= 7.1.4)
|
22
|
+
activerecord (= 7.1.4)
|
23
|
+
activestorage (= 7.1.4)
|
24
|
+
activesupport (= 7.1.4)
|
25
25
|
mail (>= 2.7.1)
|
26
26
|
net-imap
|
27
27
|
net-pop
|
28
28
|
net-smtp
|
29
|
-
actionmailer (7.1.
|
30
|
-
actionpack (= 7.1.
|
31
|
-
actionview (= 7.1.
|
32
|
-
activejob (= 7.1.
|
33
|
-
activesupport (= 7.1.
|
29
|
+
actionmailer (7.1.4)
|
30
|
+
actionpack (= 7.1.4)
|
31
|
+
actionview (= 7.1.4)
|
32
|
+
activejob (= 7.1.4)
|
33
|
+
activesupport (= 7.1.4)
|
34
34
|
mail (~> 2.5, >= 2.5.4)
|
35
35
|
net-imap
|
36
36
|
net-pop
|
37
37
|
net-smtp
|
38
38
|
rails-dom-testing (~> 2.2)
|
39
|
-
actionpack (7.1.
|
40
|
-
actionview (= 7.1.
|
41
|
-
activesupport (= 7.1.
|
39
|
+
actionpack (7.1.4)
|
40
|
+
actionview (= 7.1.4)
|
41
|
+
activesupport (= 7.1.4)
|
42
42
|
nokogiri (>= 1.8.5)
|
43
43
|
racc
|
44
44
|
rack (>= 2.2.4)
|
@@ -46,37 +46,37 @@ GEM
|
|
46
46
|
rack-test (>= 0.6.3)
|
47
47
|
rails-dom-testing (~> 2.2)
|
48
48
|
rails-html-sanitizer (~> 1.6)
|
49
|
-
actiontext (7.1.
|
50
|
-
actionpack (= 7.1.
|
51
|
-
activerecord (= 7.1.
|
52
|
-
activestorage (= 7.1.
|
53
|
-
activesupport (= 7.1.
|
49
|
+
actiontext (7.1.4)
|
50
|
+
actionpack (= 7.1.4)
|
51
|
+
activerecord (= 7.1.4)
|
52
|
+
activestorage (= 7.1.4)
|
53
|
+
activesupport (= 7.1.4)
|
54
54
|
globalid (>= 0.6.0)
|
55
55
|
nokogiri (>= 1.8.5)
|
56
|
-
actionview (7.1.
|
57
|
-
activesupport (= 7.1.
|
56
|
+
actionview (7.1.4)
|
57
|
+
activesupport (= 7.1.4)
|
58
58
|
builder (~> 3.1)
|
59
59
|
erubi (~> 1.11)
|
60
60
|
rails-dom-testing (~> 2.2)
|
61
61
|
rails-html-sanitizer (~> 1.6)
|
62
|
-
activejob (7.1.
|
63
|
-
activesupport (= 7.1.
|
62
|
+
activejob (7.1.4)
|
63
|
+
activesupport (= 7.1.4)
|
64
64
|
globalid (>= 0.3.6)
|
65
|
-
activemodel (7.1.
|
66
|
-
activesupport (= 7.1.
|
67
|
-
activerecord (7.1.
|
68
|
-
activemodel (= 7.1.
|
69
|
-
activesupport (= 7.1.
|
65
|
+
activemodel (7.1.4)
|
66
|
+
activesupport (= 7.1.4)
|
67
|
+
activerecord (7.1.4)
|
68
|
+
activemodel (= 7.1.4)
|
69
|
+
activesupport (= 7.1.4)
|
70
70
|
timeout (>= 0.4.0)
|
71
|
-
activerecord-import (1.
|
71
|
+
activerecord-import (1.7.0)
|
72
72
|
activerecord (>= 4.2)
|
73
|
-
activestorage (7.1.
|
74
|
-
actionpack (= 7.1.
|
75
|
-
activejob (= 7.1.
|
76
|
-
activerecord (= 7.1.
|
77
|
-
activesupport (= 7.1.
|
73
|
+
activestorage (7.1.4)
|
74
|
+
actionpack (= 7.1.4)
|
75
|
+
activejob (= 7.1.4)
|
76
|
+
activerecord (= 7.1.4)
|
77
|
+
activesupport (= 7.1.4)
|
78
78
|
marcel (~> 1.0)
|
79
|
-
activesupport (7.1.
|
79
|
+
activesupport (7.1.4)
|
80
80
|
base64
|
81
81
|
bigdecimal
|
82
82
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -89,10 +89,10 @@ GEM
|
|
89
89
|
addressable (2.8.0)
|
90
90
|
public_suffix (>= 2.0.2, < 5.0)
|
91
91
|
base64 (0.2.0)
|
92
|
-
bigdecimal (3.1.
|
93
|
-
builder (3.
|
92
|
+
bigdecimal (3.1.8)
|
93
|
+
builder (3.3.0)
|
94
94
|
coderay (1.1.3)
|
95
|
-
concurrent-ruby (1.
|
95
|
+
concurrent-ruby (1.3.4)
|
96
96
|
connection_pool (2.4.1)
|
97
97
|
crack (0.4.5)
|
98
98
|
rexml
|
@@ -102,7 +102,7 @@ GEM
|
|
102
102
|
diff-lcs (1.5.0)
|
103
103
|
dotenv (2.1.2)
|
104
104
|
drb (2.2.1)
|
105
|
-
erubi (1.
|
105
|
+
erubi (1.13.0)
|
106
106
|
globalid (1.2.1)
|
107
107
|
activesupport (>= 6.1)
|
108
108
|
hashdiff (1.0.1)
|
@@ -110,11 +110,11 @@ GEM
|
|
110
110
|
csv
|
111
111
|
mini_mime (>= 1.0.0)
|
112
112
|
multi_xml (>= 0.5.2)
|
113
|
-
i18n (1.14.
|
113
|
+
i18n (1.14.5)
|
114
114
|
concurrent-ruby (~> 1.0)
|
115
115
|
io-console (0.7.2)
|
116
|
-
irb (1.
|
117
|
-
rdoc
|
116
|
+
irb (1.14.0)
|
117
|
+
rdoc (>= 4.0.0)
|
118
118
|
reline (>= 0.4.2)
|
119
119
|
kaminari (1.2.2)
|
120
120
|
activesupport (>= 4.1.0)
|
@@ -139,7 +139,8 @@ GEM
|
|
139
139
|
marcel (1.0.4)
|
140
140
|
method_source (1.0.0)
|
141
141
|
mini_mime (1.1.5)
|
142
|
-
|
142
|
+
mini_portile2 (2.8.7)
|
143
|
+
minitest (5.25.1)
|
143
144
|
multi_xml (0.6.0)
|
144
145
|
mutex_m (0.2.0)
|
145
146
|
net-imap (0.3.7)
|
@@ -151,8 +152,9 @@ GEM
|
|
151
152
|
timeout
|
152
153
|
net-smtp (0.5.0)
|
153
154
|
net-protocol
|
154
|
-
nio4r (2.7.
|
155
|
-
nokogiri (1.15.6
|
155
|
+
nio4r (2.7.3)
|
156
|
+
nokogiri (1.15.6)
|
157
|
+
mini_portile2 (~> 2.8.2)
|
156
158
|
racc (~> 1.4)
|
157
159
|
pry (0.14.1)
|
158
160
|
coderay (~> 1.1)
|
@@ -160,8 +162,8 @@ GEM
|
|
160
162
|
psych (5.1.2)
|
161
163
|
stringio
|
162
164
|
public_suffix (4.0.6)
|
163
|
-
racc (1.
|
164
|
-
rack (3.
|
165
|
+
racc (1.8.1)
|
166
|
+
rack (3.1.7)
|
165
167
|
rack-session (2.0.0)
|
166
168
|
rack (>= 3.0.0)
|
167
169
|
rack-test (2.1.0)
|
@@ -169,20 +171,20 @@ GEM
|
|
169
171
|
rackup (2.1.0)
|
170
172
|
rack (>= 3)
|
171
173
|
webrick (~> 1.8)
|
172
|
-
rails (7.1.
|
173
|
-
actioncable (= 7.1.
|
174
|
-
actionmailbox (= 7.1.
|
175
|
-
actionmailer (= 7.1.
|
176
|
-
actionpack (= 7.1.
|
177
|
-
actiontext (= 7.1.
|
178
|
-
actionview (= 7.1.
|
179
|
-
activejob (= 7.1.
|
180
|
-
activemodel (= 7.1.
|
181
|
-
activerecord (= 7.1.
|
182
|
-
activestorage (= 7.1.
|
183
|
-
activesupport (= 7.1.
|
174
|
+
rails (7.1.4)
|
175
|
+
actioncable (= 7.1.4)
|
176
|
+
actionmailbox (= 7.1.4)
|
177
|
+
actionmailer (= 7.1.4)
|
178
|
+
actionpack (= 7.1.4)
|
179
|
+
actiontext (= 7.1.4)
|
180
|
+
actionview (= 7.1.4)
|
181
|
+
activejob (= 7.1.4)
|
182
|
+
activemodel (= 7.1.4)
|
183
|
+
activerecord (= 7.1.4)
|
184
|
+
activestorage (= 7.1.4)
|
185
|
+
activesupport (= 7.1.4)
|
184
186
|
bundler (>= 1.15.0)
|
185
|
-
railties (= 7.1.
|
187
|
+
railties (= 7.1.4)
|
186
188
|
rails-dom-testing (2.2.0)
|
187
189
|
activesupport (>= 5.0.0)
|
188
190
|
minitest
|
@@ -190,18 +192,18 @@ GEM
|
|
190
192
|
rails-html-sanitizer (1.6.0)
|
191
193
|
loofah (~> 2.21)
|
192
194
|
nokogiri (~> 1.14)
|
193
|
-
railties (7.1.
|
194
|
-
actionpack (= 7.1.
|
195
|
-
activesupport (= 7.1.
|
195
|
+
railties (7.1.4)
|
196
|
+
actionpack (= 7.1.4)
|
197
|
+
activesupport (= 7.1.4)
|
196
198
|
irb
|
197
199
|
rackup (>= 1.0.0)
|
198
200
|
rake (>= 12.2)
|
199
201
|
thor (~> 1.0, >= 1.2.2)
|
200
202
|
zeitwerk (~> 2.6)
|
201
203
|
rake (13.0.6)
|
202
|
-
rdoc (6.
|
204
|
+
rdoc (6.7.0)
|
203
205
|
psych (>= 4.0.0)
|
204
|
-
reline (0.5.
|
206
|
+
reline (0.5.9)
|
205
207
|
io-console (~> 0.5)
|
206
208
|
rexml (3.2.5)
|
207
209
|
rspec (3.11.0)
|
@@ -219,7 +221,7 @@ GEM
|
|
219
221
|
diff-lcs (>= 1.2.0, < 2.0)
|
220
222
|
rspec-support (~> 3.11.0)
|
221
223
|
rspec-support (3.11.0)
|
222
|
-
stringio (3.1.
|
224
|
+
stringio (3.1.1)
|
223
225
|
thor (1.3.1)
|
224
226
|
timeout (0.4.1)
|
225
227
|
tzinfo (2.0.6)
|
@@ -232,7 +234,7 @@ GEM
|
|
232
234
|
websocket-driver (0.7.6)
|
233
235
|
websocket-extensions (>= 0.1.0)
|
234
236
|
websocket-extensions (0.1.5)
|
235
|
-
zeitwerk (2.6.
|
237
|
+
zeitwerk (2.6.17)
|
236
238
|
|
237
239
|
PLATFORMS
|
238
240
|
ruby
|
@@ -140,7 +140,7 @@ module AppManager
|
|
140
140
|
|
141
141
|
begin
|
142
142
|
plan_obj = AppManager::Client.new
|
143
|
-
if params[:discount].present? && !params[:discount].nil? && params[:discount] != '0' && !
|
143
|
+
if params[:discount].present? && !params[:discount].nil? && params[:discount] != '0' && !plan_data['is_global']
|
144
144
|
discounted_plans = plan_obj.get_related_discounted_plans(params[:discount])
|
145
145
|
if discounted_plans.empty? || discounted_plans.include?(params[:plan].to_i)
|
146
146
|
plan_obj.discount_used(@shop[shopify_domain], params[:discount])
|
data/lib/app_manager/version.rb
CHANGED
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: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rahul Tiwari @ Hulkapps
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|