ruby_shopify_app 1.3.2 → 1.3.3

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: cc9eee8b1899a69aa9a93c647372ba6355f5631ab6abf0b4e96a050d91d3f3a6
4
- data.tar.gz: e997285d216f48ba365ee9e7eb91add73e38c7a831356842f6d4053e0787ff70
3
+ metadata.gz: 168effe34bcce65dfa9479f8e54da222422df9eb1076d6bc85df5316a9bc7206
4
+ data.tar.gz: 29be70f5e1573aedc5b92e4bd28c2ef93cfb5157818d5643c003cd0c286a3520
5
5
  SHA512:
6
- metadata.gz: fb7655a30f1b2b66d496deb06be8ad7ea473de55ed0968afd036385666cdb51c3578abda2045ecce5fd8d387d7d4c3b15fe61b2207b4595cc65ed8490e3d5848
7
- data.tar.gz: 0501dc206c10c78f02f1406d846837f8587fb61b830e209ff0d1caccccec7e053fd1615e5e8fbb259cac6e5d992c103e894203be390a1d07e09f0e7677e36961
6
+ metadata.gz: b1d451fd0ba155fc4c873faacf0b81b9c4906d327aa8ed864fdc3d51a875a22c8e78ee069f5e0634d999ad0ef08664e48fbc04471a25e6b08825b45807cb9d85
7
+ data.tar.gz: aa5947fe71372462ed7dc5714fcc8fb3ecddfec39fd6b5c6ee8044ae9bc1e96894cf2cffec767b977e9f22073d002d9a2e55c3eb70914fc1bad983bd4103ca38
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 1.3.3
2
+ -----
3
+
4
+ * Fix a auth issue happens on safari 8
5
+
1
6
  1.3.2
2
7
  -----
3
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_shopify_app (1.2.0)
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.2)
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.10)
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.1)
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.1)
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.4.2)
255
- actionpack (>= 5.2)
256
- activesupport (>= 5.2)
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.13)
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 '' unless shop_domain.present?
45
- "https://#{shopify_auth_params[:shop]}"
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['shop'] || (shopify_auth_params && shopify_auth_params['shop'])
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['shopify.omniauth_params']&.with_indifferent_access
63
+ strategy.session["shopify.omniauth_params"]&.with_indifferent_access
62
64
  end
63
65
  end
64
66
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShopifyApp
4
- VERSION = "1.3.2"
4
+ VERSION = "1.3.3"
5
5
  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.2
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 00:00:00.000000000 Z
11
+ date: 2024-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser_sniffer