app_manager 2.3.6 → 2.3.7

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: e3d64d0ffdff623bbbd97c138297df0607d4621926c02c42404103626ff3592b
4
- data.tar.gz: de6e2e35c943c8cfa30649173d126d3ed8274daad83c13e46e28b4ea689c9fea
3
+ metadata.gz: 65de0d94a90a9b1c656bbc2fba01e4ab8efab00c5cef9625516fe82b771de75c
4
+ data.tar.gz: c705887f73bf5634e805c7af9038869edcfcd3e18f18ec245895fb7a91d9a95f
5
5
  SHA512:
6
- metadata.gz: d572b354aedc7762a4989e86ba513651705943130d4fe89483c4d11e2bbfa78be4894ac816b3ba3a7e6a0663d26df17735bab1cf9e6cade164837021582bdc8c
7
- data.tar.gz: 0c4c262796b39cb38c22dc902dba79124f411e631270ef3e0ed405b5aaf7cbc7c72f4786b61c104e2ff26d84ba2f80cb625acf0af7ecbecd4ccc1d4bfeabf0c2
6
+ metadata.gz: 993a9870f84b778ad8fecedb7bfea401469300a5daf7a8b0993b2db97d261ee8e7ef57332468f8cae4c6a41351e9ca79f3478d1b94e3d1ab909a4f4608c825c2
7
+ data.tar.gz: a2bfc4327453ed04674f06dbb85d5cbf309bfd71ad3200b492b6172236c3cce9bfc88511683a116ccc6f401b266a1cd91ba6f6e3bf94c5a06c62cb46b3299a46
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_manager (2.3.6)
4
+ app_manager (2.3.7)
5
5
  activerecord-import (~> 1.4)
6
6
  httparty
7
7
  kaminari (>= 0.16.3)
@@ -10,31 +10,31 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- action_text-trix (2.1.15)
13
+ action_text-trix (2.1.16)
14
14
  railties
15
- actioncable (8.1.0)
16
- actionpack (= 8.1.0)
17
- activesupport (= 8.1.0)
15
+ actioncable (8.1.2)
16
+ actionpack (= 8.1.2)
17
+ activesupport (= 8.1.2)
18
18
  nio4r (~> 2.0)
19
19
  websocket-driver (>= 0.6.1)
20
20
  zeitwerk (~> 2.6)
21
- actionmailbox (8.1.0)
22
- actionpack (= 8.1.0)
23
- activejob (= 8.1.0)
24
- activerecord (= 8.1.0)
25
- activestorage (= 8.1.0)
26
- activesupport (= 8.1.0)
21
+ actionmailbox (8.1.2)
22
+ actionpack (= 8.1.2)
23
+ activejob (= 8.1.2)
24
+ activerecord (= 8.1.2)
25
+ activestorage (= 8.1.2)
26
+ activesupport (= 8.1.2)
27
27
  mail (>= 2.8.0)
28
- actionmailer (8.1.0)
29
- actionpack (= 8.1.0)
30
- actionview (= 8.1.0)
31
- activejob (= 8.1.0)
32
- activesupport (= 8.1.0)
28
+ actionmailer (8.1.2)
29
+ actionpack (= 8.1.2)
30
+ actionview (= 8.1.2)
31
+ activejob (= 8.1.2)
32
+ activesupport (= 8.1.2)
33
33
  mail (>= 2.8.0)
34
34
  rails-dom-testing (~> 2.2)
35
- actionpack (8.1.0)
36
- actionview (= 8.1.0)
37
- activesupport (= 8.1.0)
35
+ actionpack (8.1.2)
36
+ actionview (= 8.1.2)
37
+ activesupport (= 8.1.2)
38
38
  nokogiri (>= 1.8.5)
39
39
  rack (>= 2.2.4)
40
40
  rack-session (>= 1.0.1)
@@ -42,38 +42,38 @@ GEM
42
42
  rails-dom-testing (~> 2.2)
43
43
  rails-html-sanitizer (~> 1.6)
44
44
  useragent (~> 0.16)
45
- actiontext (8.1.0)
45
+ actiontext (8.1.2)
46
46
  action_text-trix (~> 2.1.15)
47
- actionpack (= 8.1.0)
48
- activerecord (= 8.1.0)
49
- activestorage (= 8.1.0)
50
- activesupport (= 8.1.0)
47
+ actionpack (= 8.1.2)
48
+ activerecord (= 8.1.2)
49
+ activestorage (= 8.1.2)
50
+ activesupport (= 8.1.2)
51
51
  globalid (>= 0.6.0)
52
52
  nokogiri (>= 1.8.5)
53
- actionview (8.1.0)
54
- activesupport (= 8.1.0)
53
+ actionview (8.1.2)
54
+ activesupport (= 8.1.2)
55
55
  builder (~> 3.1)
56
56
  erubi (~> 1.11)
57
57
  rails-dom-testing (~> 2.2)
58
58
  rails-html-sanitizer (~> 1.6)
59
- activejob (8.1.0)
60
- activesupport (= 8.1.0)
59
+ activejob (8.1.2)
60
+ activesupport (= 8.1.2)
61
61
  globalid (>= 0.3.6)
62
- activemodel (8.1.0)
63
- activesupport (= 8.1.0)
64
- activerecord (8.1.0)
65
- activemodel (= 8.1.0)
66
- activesupport (= 8.1.0)
62
+ activemodel (8.1.2)
63
+ activesupport (= 8.1.2)
64
+ activerecord (8.1.2)
65
+ activemodel (= 8.1.2)
66
+ activesupport (= 8.1.2)
67
67
  timeout (>= 0.4.0)
68
68
  activerecord-import (1.8.1)
69
69
  activerecord (>= 4.2)
70
- activestorage (8.1.0)
71
- actionpack (= 8.1.0)
72
- activejob (= 8.1.0)
73
- activerecord (= 8.1.0)
74
- activesupport (= 8.1.0)
70
+ activestorage (8.1.2)
71
+ actionpack (= 8.1.2)
72
+ activejob (= 8.1.2)
73
+ activerecord (= 8.1.2)
74
+ activesupport (= 8.1.2)
75
75
  marcel (~> 1.0)
76
- activesupport (8.1.0)
76
+ activesupport (8.1.2)
77
77
  base64
78
78
  bigdecimal
79
79
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -86,39 +86,41 @@ GEM
86
86
  securerandom (>= 0.3)
87
87
  tzinfo (~> 2.0, >= 2.0.5)
88
88
  uri (>= 0.13.1)
89
- addressable (2.8.0)
90
- public_suffix (>= 2.0.2, < 5.0)
89
+ addressable (2.8.8)
90
+ public_suffix (>= 2.0.2, < 8.0)
91
91
  base64 (0.3.0)
92
- bigdecimal (3.3.1)
92
+ bigdecimal (4.0.1)
93
93
  builder (3.3.0)
94
94
  coderay (1.1.3)
95
- concurrent-ruby (1.3.5)
96
- connection_pool (2.5.4)
97
- crack (0.4.5)
95
+ concurrent-ruby (1.3.6)
96
+ connection_pool (3.0.2)
97
+ crack (1.0.1)
98
+ bigdecimal
98
99
  rexml
99
100
  crass (1.0.6)
100
101
  csv (3.3.5)
101
- date (3.4.1)
102
- diff-lcs (1.5.0)
102
+ date (3.5.1)
103
+ diff-lcs (1.6.2)
103
104
  dotenv (2.1.2)
104
105
  drb (2.2.3)
105
- erb (5.1.3)
106
+ erb (6.0.1)
106
107
  erubi (1.13.1)
107
108
  globalid (1.3.0)
108
109
  activesupport (>= 6.1)
109
- hashdiff (1.0.1)
110
- httparty (0.23.2)
110
+ hashdiff (1.2.1)
111
+ httparty (0.24.2)
111
112
  csv
112
113
  mini_mime (>= 1.0.0)
113
114
  multi_xml (>= 0.5.2)
114
- i18n (1.14.7)
115
+ i18n (1.14.8)
115
116
  concurrent-ruby (~> 1.0)
116
- io-console (0.8.1)
117
- irb (1.15.2)
117
+ io-console (0.8.2)
118
+ irb (1.17.0)
118
119
  pp (>= 0.6.0)
120
+ prism (>= 1.3.0)
119
121
  rdoc (>= 4.0.0)
120
122
  reline (>= 0.4.2)
121
- json (2.15.2)
123
+ json (2.18.1)
122
124
  kaminari (1.2.2)
123
125
  activesupport (>= 4.1.0)
124
126
  kaminari-actionview (= 1.2.2)
@@ -132,7 +134,7 @@ GEM
132
134
  kaminari-core (= 1.2.2)
133
135
  kaminari-core (1.2.2)
134
136
  logger (1.7.0)
135
- loofah (2.24.1)
137
+ loofah (2.25.0)
136
138
  crass (~> 1.0.2)
137
139
  nokogiri (>= 1.12.0)
138
140
  mail (2.9.0)
@@ -142,13 +144,14 @@ GEM
142
144
  net-pop
143
145
  net-smtp
144
146
  marcel (1.1.0)
145
- method_source (1.0.0)
147
+ method_source (1.1.0)
146
148
  mini_mime (1.1.5)
147
149
  mini_portile2 (2.8.9)
148
- minitest (5.26.0)
149
- multi_xml (0.7.2)
150
- bigdecimal (~> 3.1)
151
- net-imap (0.5.12)
150
+ minitest (6.0.1)
151
+ prism (~> 1.5)
152
+ multi_xml (0.8.1)
153
+ bigdecimal (>= 3.1, < 5)
154
+ net-imap (0.6.3)
152
155
  date
153
156
  net-protocol
154
157
  net-pop (0.1.2)
@@ -157,45 +160,47 @@ GEM
157
160
  timeout
158
161
  net-smtp (0.5.1)
159
162
  net-protocol
160
- nio4r (2.7.4)
161
- nokogiri (1.18.10)
163
+ nio4r (2.7.5)
164
+ nokogiri (1.19.1)
162
165
  mini_portile2 (~> 2.8.2)
163
166
  racc (~> 1.4)
164
- nokogiri (1.18.10-x86_64-linux-gnu)
167
+ nokogiri (1.19.1-x86_64-linux-gnu)
165
168
  racc (~> 1.4)
166
169
  pp (0.6.3)
167
170
  prettyprint
168
171
  prettyprint (0.2.0)
169
- pry (0.14.1)
172
+ prism (1.9.0)
173
+ pry (0.16.0)
170
174
  coderay (~> 1.1)
171
175
  method_source (~> 1.0)
172
- psych (5.2.6)
176
+ reline (>= 0.6.0)
177
+ psych (5.3.1)
173
178
  date
174
179
  stringio
175
- public_suffix (4.0.6)
180
+ public_suffix (7.0.2)
176
181
  racc (1.8.1)
177
- rack (3.2.3)
182
+ rack (3.2.5)
178
183
  rack-session (2.1.1)
179
184
  base64 (>= 0.1.0)
180
185
  rack (>= 3.0.0)
181
186
  rack-test (2.2.0)
182
187
  rack (>= 1.3)
183
- rackup (2.2.1)
188
+ rackup (2.3.1)
184
189
  rack (>= 3)
185
- rails (8.1.0)
186
- actioncable (= 8.1.0)
187
- actionmailbox (= 8.1.0)
188
- actionmailer (= 8.1.0)
189
- actionpack (= 8.1.0)
190
- actiontext (= 8.1.0)
191
- actionview (= 8.1.0)
192
- activejob (= 8.1.0)
193
- activemodel (= 8.1.0)
194
- activerecord (= 8.1.0)
195
- activestorage (= 8.1.0)
196
- activesupport (= 8.1.0)
190
+ rails (8.1.2)
191
+ actioncable (= 8.1.2)
192
+ actionmailbox (= 8.1.2)
193
+ actionmailer (= 8.1.2)
194
+ actionpack (= 8.1.2)
195
+ actiontext (= 8.1.2)
196
+ actionview (= 8.1.2)
197
+ activejob (= 8.1.2)
198
+ activemodel (= 8.1.2)
199
+ activerecord (= 8.1.2)
200
+ activestorage (= 8.1.2)
201
+ activesupport (= 8.1.2)
197
202
  bundler (>= 1.15.0)
198
- railties (= 8.1.0)
203
+ railties (= 8.1.2)
199
204
  rails-dom-testing (2.3.0)
200
205
  activesupport (>= 5.0.0)
201
206
  minitest
@@ -203,48 +208,48 @@ GEM
203
208
  rails-html-sanitizer (1.6.2)
204
209
  loofah (~> 2.21)
205
210
  nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
206
- railties (8.1.0)
207
- actionpack (= 8.1.0)
208
- activesupport (= 8.1.0)
211
+ railties (8.1.2)
212
+ actionpack (= 8.1.2)
213
+ activesupport (= 8.1.2)
209
214
  irb (~> 1.13)
210
215
  rackup (>= 1.0.0)
211
216
  rake (>= 12.2)
212
217
  thor (~> 1.0, >= 1.2.2)
213
218
  tsort (>= 0.2)
214
219
  zeitwerk (~> 2.6)
215
- rake (13.0.6)
216
- rdoc (6.15.0)
220
+ rake (13.3.1)
221
+ rdoc (7.2.0)
217
222
  erb
218
223
  psych (>= 4.0.0)
219
224
  tsort
220
- reline (0.6.2)
225
+ reline (0.6.3)
221
226
  io-console (~> 0.5)
222
- rexml (3.2.5)
223
- rspec (3.11.0)
224
- rspec-core (~> 3.11.0)
225
- rspec-expectations (~> 3.11.0)
226
- rspec-mocks (~> 3.11.0)
227
- rspec-core (3.11.0)
228
- rspec-support (~> 3.11.0)
229
- rspec-expectations (3.11.0)
227
+ rexml (3.4.4)
228
+ rspec (3.13.2)
229
+ rspec-core (~> 3.13.0)
230
+ rspec-expectations (~> 3.13.0)
231
+ rspec-mocks (~> 3.13.0)
232
+ rspec-core (3.13.6)
233
+ rspec-support (~> 3.13.0)
234
+ rspec-expectations (3.13.5)
230
235
  diff-lcs (>= 1.2.0, < 2.0)
231
- rspec-support (~> 3.11.0)
232
- rspec-github (2.3.1)
236
+ rspec-support (~> 3.13.0)
237
+ rspec-github (3.0.0)
233
238
  rspec-core (~> 3.0)
234
- rspec-mocks (3.11.0)
239
+ rspec-mocks (3.13.7)
235
240
  diff-lcs (>= 1.2.0, < 2.0)
236
- rspec-support (~> 3.11.0)
237
- rspec-support (3.11.0)
241
+ rspec-support (~> 3.13.0)
242
+ rspec-support (3.13.7)
238
243
  securerandom (0.4.1)
239
- stringio (3.1.7)
240
- thor (1.4.0)
241
- timeout (0.4.3)
244
+ stringio (3.2.0)
245
+ thor (1.5.0)
246
+ timeout (0.6.0)
242
247
  tsort (0.2.0)
243
248
  tzinfo (2.0.6)
244
249
  concurrent-ruby (~> 1.0)
245
- uri (1.0.4)
250
+ uri (1.1.1)
246
251
  useragent (0.16.11)
247
- webmock (3.14.0)
252
+ webmock (3.26.1)
248
253
  addressable (>= 2.8.0)
249
254
  crack (>= 0.3.2)
250
255
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -252,7 +257,7 @@ GEM
252
257
  base64
253
258
  websocket-extensions (>= 0.1.0)
254
259
  websocket-extensions (0.1.5)
255
- zeitwerk (2.7.3)
260
+ zeitwerk (2.7.4)
256
261
 
257
262
  PLATFORMS
258
263
  ruby
@@ -165,11 +165,11 @@ module AppManager
165
165
  old_plan_string = !old_plan_data.nil? ? "#{old_plan_data['name'].gsub(" ", "-")}-#{old_plan_data['interval']['label']}" : "none" rescue ""
166
166
  plan_query_string = "new_plan=#{current_plan_string}&old_plan=#{old_plan_string}"
167
167
  if app_slug.present? && plan_page_route_value.present?
168
- redirect_to "https://#{params[:shop]}/admin/apps/#{app_slug}/#{plan_page_route_value}?#{plan_query_string}"
168
+ redirect_to "https://#{params[:shop]}/admin/apps/#{app_slug}/#{plan_page_route_value}?#{plan_query_string}", :allow_other_host => true
169
169
  elsif app_slug.present? && !plan_page_route_value.present?
170
- redirect_to "https://#{params[:shop]}/admin/apps/#{app_slug}"
170
+ redirect_to "https://#{params[:shop]}/admin/apps/#{app_slug}", :allow_other_host => true
171
171
  else
172
- redirect_to "#{app_url}?host=#{embed_host}&shop=#{params[:shop]}", :status => 301 and return
172
+ redirect_to "#{app_url}?host=#{embed_host}&shop=#{params[:shop]}", :allow_other_host => true, :status => 301 and return
173
173
  end
174
174
  else
175
175
  raise Error, "Invalid shopify charge #{charges.inspect}"
@@ -181,9 +181,9 @@ module AppManager
181
181
  if params[:shop].present?
182
182
  embed_host = Base64.encode64(params[:shop] + "/admin")
183
183
  if app_slug.present?
184
- redirect_to "https://#{params[:shop]}/admin/apps/#{app_slug}"
184
+ redirect_to "https://#{params[:shop]}/admin/apps/#{app_slug}", :allow_other_host => true
185
185
  else
186
- redirect_to "#{app_url}?host=#{embed_host}&shop=#{params[:shop]}", :status => 301 and return
186
+ redirect_to "#{app_url}?host=#{embed_host}&shop=#{params[:shop]}", :allow_other_host => true, :status => 301 and return
187
187
  end
188
188
  else
189
189
  raise Error, "Invalid params, must have charge_id,shop && plan in charge controller"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppManager
4
- VERSION = "2.3.6"
4
+ VERSION = "2.3.7"
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: 2.3.6
4
+ version: 2.3.7
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: 2025-10-28 00:00:00.000000000 Z
11
+ date: 2026-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty