ruby_shopify_app 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +9 -9
- data/lib/ruby_shopify_app/omniauth/omniauth_configuration.rb +6 -4
- data/lib/ruby_shopify_app/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: 168effe34bcce65dfa9479f8e54da222422df9eb1076d6bc85df5316a9bc7206
|
4
|
+
data.tar.gz: 29be70f5e1573aedc5b92e4bd28c2ef93cfb5157818d5643c003cd0c286a3520
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1d451fd0ba155fc4c873faacf0b81b9c4906d327aa8ed864fdc3d51a875a22c8e78ee069f5e0634d999ad0ef08664e48fbc04471a25e6b08825b45807cb9d85
|
7
|
+
data.tar.gz: aa5947fe71372462ed7dc5714fcc8fb3ecddfec39fd6b5c6ee8044ae9bc1e96894cf2cffec767b977e9f22073d002d9a2e55c3eb70914fc1bad983bd4103ca38
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby_shopify_app (1.
|
4
|
+
ruby_shopify_app (1.3.3)
|
5
5
|
browser_sniffer (~> 2.0)
|
6
6
|
jwt (>= 2.2.3)
|
7
7
|
omniauth-rails_csrf_protection
|
@@ -108,7 +108,7 @@ GEM
|
|
108
108
|
net-http
|
109
109
|
globalid (1.2.1)
|
110
110
|
activesupport (>= 6.1)
|
111
|
-
graphql (2.3.
|
111
|
+
graphql (2.3.4)
|
112
112
|
base64
|
113
113
|
graphql-client (0.22.0)
|
114
114
|
activesupport (>= 3.0)
|
@@ -142,7 +142,7 @@ GEM
|
|
142
142
|
bigdecimal (~> 3.1)
|
143
143
|
net-http (0.4.1)
|
144
144
|
uri
|
145
|
-
net-imap (0.4.
|
145
|
+
net-imap (0.4.12)
|
146
146
|
date
|
147
147
|
net-protocol
|
148
148
|
net-pop (0.1.2)
|
@@ -151,7 +151,7 @@ GEM
|
|
151
151
|
timeout
|
152
152
|
net-smtp (0.5.0)
|
153
153
|
net-protocol
|
154
|
-
nio4r (2.7.
|
154
|
+
nio4r (2.7.3)
|
155
155
|
nokogiri (1.16.4)
|
156
156
|
mini_portile2 (~> 2.8.2)
|
157
157
|
racc (~> 1.4)
|
@@ -166,7 +166,7 @@ GEM
|
|
166
166
|
hashie (>= 3.4.6)
|
167
167
|
rack (>= 2.2.3)
|
168
168
|
rack-protection
|
169
|
-
omniauth-rails_csrf_protection (1.0.
|
169
|
+
omniauth-rails_csrf_protection (1.0.2)
|
170
170
|
actionpack (>= 4.2)
|
171
171
|
omniauth (~> 2.0)
|
172
172
|
omniauth-shopify-app (1.0.0)
|
@@ -251,9 +251,9 @@ GEM
|
|
251
251
|
sprockets (4.2.1)
|
252
252
|
concurrent-ruby (~> 1.0)
|
253
253
|
rack (>= 2.2.4, < 4)
|
254
|
-
sprockets-rails (3.
|
255
|
-
actionpack (>=
|
256
|
-
activesupport (>=
|
254
|
+
sprockets-rails (3.5.1)
|
255
|
+
actionpack (>= 6.1)
|
256
|
+
activesupport (>= 6.1)
|
257
257
|
sprockets (>= 3.0.0)
|
258
258
|
sqlite3 (1.7.3)
|
259
259
|
mini_portile2 (~> 2.8.0)
|
@@ -271,7 +271,7 @@ GEM
|
|
271
271
|
websocket-driver (0.7.6)
|
272
272
|
websocket-extensions (>= 0.1.0)
|
273
273
|
websocket-extensions (0.1.5)
|
274
|
-
zeitwerk (2.6.
|
274
|
+
zeitwerk (2.6.15)
|
275
275
|
|
276
276
|
PLATFORMS
|
277
277
|
ruby
|
@@ -21,6 +21,7 @@ module ShopifyApp
|
|
21
21
|
|
22
22
|
def request_online_tokens?
|
23
23
|
return @per_user_permissions unless @per_user_permissions.nil?
|
24
|
+
|
24
25
|
default_request_online_tokens?
|
25
26
|
end
|
26
27
|
|
@@ -41,8 +42,9 @@ module ShopifyApp
|
|
41
42
|
end
|
42
43
|
|
43
44
|
def default_client_options_site
|
44
|
-
return
|
45
|
-
|
45
|
+
return "" unless shop_domain.present?
|
46
|
+
|
47
|
+
"https://#{shop_domain}"
|
46
48
|
end
|
47
49
|
|
48
50
|
def default_request_online_tokens?
|
@@ -54,11 +56,11 @@ module ShopifyApp
|
|
54
56
|
end
|
55
57
|
|
56
58
|
def shop_domain
|
57
|
-
request.params[
|
59
|
+
request.params["shop"] || (shopify_auth_params && shopify_auth_params["shop"])
|
58
60
|
end
|
59
61
|
|
60
62
|
def shopify_auth_params
|
61
|
-
strategy.session[
|
63
|
+
strategy.session["shopify.omniauth_params"]&.with_indifferent_access
|
62
64
|
end
|
63
65
|
end
|
64
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_shopify_app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hopper Gee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: browser_sniffer
|