app_manager 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/app/controllers/app_manager/charges_controller.rb +5 -2
- 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: 8dfdd07111c73c3c82b14f21099777f2b8f173e5ee38a8a8bd2eb1413993690f
|
4
|
+
data.tar.gz: 23e680f4470a0ac86745fc51379f60770e75d9391f02758a9152930afe42c463
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64f68a22812c58a5cb3c2156b8dc1a5d8c0d95a216b61d5bc145494ca53157e3faa424be03cee86bf93a4b5d5466b1e2e2076960e5ef8fd770be91980e38d909
|
7
|
+
data.tar.gz: a014b7af9a38fecdd17cebb6d978984cfa95fae711931fca5968a7c1d4160d758acb264e677e9be36a584ca4ee1ca7194739a6dff16784e8b7998c54081f102c
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
app_manager (1.3.
|
4
|
+
app_manager (1.3.9)
|
5
5
|
activerecord-import (~> 1.4)
|
6
6
|
httparty
|
7
7
|
kaminari (>= 0.16.3)
|
@@ -121,7 +121,7 @@ GEM
|
|
121
121
|
mime-types-data (3.2022.0105)
|
122
122
|
mini_mime (1.1.2)
|
123
123
|
mini_portile2 (2.8.0)
|
124
|
-
minitest (5.16.
|
124
|
+
minitest (5.16.3)
|
125
125
|
multi_xml (0.6.0)
|
126
126
|
net-imap (0.2.3)
|
127
127
|
digest
|
@@ -134,7 +134,9 @@ module AppManager
|
|
134
134
|
end
|
135
135
|
end
|
136
136
|
end
|
137
|
-
|
137
|
+
embed_host = Base64.encode64(params[:shop] + "/admin")
|
138
|
+
# redirect_to "/login?host=#{embed_host}&shop=#{shop}" and return
|
139
|
+
redirect_to "#{app_url}?host=#{embed_host}&shop=#{params[:shop]}", :status => 301 and return
|
138
140
|
else
|
139
141
|
raise Error, "Invalid shopify charge #{charges.insect}"
|
140
142
|
end
|
@@ -143,7 +145,8 @@ module AppManager
|
|
143
145
|
end
|
144
146
|
else
|
145
147
|
if params[:shop].present?
|
146
|
-
|
148
|
+
embed_host = Base64.encode64(params[:shop] + "/admin")
|
149
|
+
redirect_to "#{app_url}?host=#{embed_host}&shop=#{params[:shop]}", :status => 301 and return
|
147
150
|
else
|
148
151
|
raise Error, "Invalid params, must have charge_id,shop && plan in charge controller"
|
149
152
|
end
|
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: 1.3.
|
4
|
+
version: 1.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hulkapps
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|