shopify_app 22.2.1 → 22.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.nvmrc +1 -1
  3. data/CHANGELOG.md +15 -1
  4. data/CONTRIBUTING.md +0 -5
  5. data/Gemfile.lock +75 -71
  6. data/README.md +8 -1
  7. data/app/assets/javascripts/shopify_app/redirect.js +3 -9
  8. data/app/controllers/shopify_app/sessions_controller.rb +2 -1
  9. data/app/views/shopify_app/shared/redirect.html.erb +5 -1
  10. data/config/locales/cs.yml +0 -18
  11. data/config/locales/da.yml +0 -15
  12. data/config/locales/de.yml +0 -17
  13. data/config/locales/en.yml +0 -11
  14. data/config/locales/es.yml +0 -17
  15. data/config/locales/fi.yml +0 -15
  16. data/config/locales/fr.yml +0 -18
  17. data/config/locales/it.yml +0 -16
  18. data/config/locales/ja.yml +0 -12
  19. data/config/locales/ko.yml +0 -14
  20. data/config/locales/nb.yml +0 -16
  21. data/config/locales/nl.yml +0 -16
  22. data/config/locales/pl.yml +0 -16
  23. data/config/locales/pt-BR.yml +0 -16
  24. data/config/locales/pt-PT.yml +0 -17
  25. data/config/locales/sv.yml +0 -16
  26. data/config/locales/th.yml +0 -15
  27. data/config/locales/tr.yml +0 -17
  28. data/config/locales/vi.yml +0 -17
  29. data/config/locales/zh-CN.yml +0 -11
  30. data/config/locales/zh-TW.yml +0 -11
  31. data/docs/Upgrading.md +17 -3
  32. data/docs/shopify_app/sessions.md +4 -1
  33. data/karma.conf.js +0 -3
  34. data/lib/generators/shopify_app/install/templates/shopify_app.rb.tt +2 -2
  35. data/lib/shopify_app/configuration.rb +6 -4
  36. data/lib/shopify_app/controller_concerns/csrf_protection.rb +2 -1
  37. data/lib/shopify_app/controller_concerns/embedded_app.rb +5 -1
  38. data/lib/shopify_app/controller_concerns/localization.rb +1 -1
  39. data/lib/shopify_app/controller_concerns/login_protection.rb +8 -1
  40. data/lib/shopify_app/controller_concerns/token_exchange.rb +12 -8
  41. data/lib/shopify_app/controller_concerns/with_shopify_id_token.rb +16 -9
  42. data/lib/shopify_app/engine.rb +4 -9
  43. data/lib/shopify_app/utils.rb +10 -1
  44. data/lib/shopify_app/version.rb +1 -1
  45. data/package.json +1 -1
  46. data/shopify_app.gemspec +2 -1
  47. data/yarn.lock +8 -8
  48. metadata +23 -26
  49. data/app/assets/images/storage_access.svg +0 -1
  50. data/app/assets/javascripts/shopify_app/app_bridge_3.7.8.js +0 -10
  51. data/app/assets/javascripts/shopify_app/app_bridge_redirect.js +0 -22
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 22.2.1
4
+ version: 22.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-06 00:00:00.000000000 Z
11
+ date: 2024-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.7'
41
- - !ruby/object:Gem::Dependency
42
- name: jwt
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 2.2.3
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: 2.2.3
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rails
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -114,6 +100,20 @@ dependencies:
114
100
  - - ">="
115
101
  - !ruby/object:Gem::Version
116
102
  version: 2.0.0
103
+ - !ruby/object:Gem::Dependency
104
+ name: jwt
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 2.2.3
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 2.2.3
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: byebug
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -268,8 +268,8 @@ dependencies:
268
268
  - - ">="
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
- description:
272
- email:
271
+ description:
272
+ email:
273
273
  executables: []
274
274
  extensions: []
275
275
  extra_rdoc_files: []
@@ -301,9 +301,6 @@ files:
301
301
  - README.md
302
302
  - Rakefile
303
303
  - SECURITY.md
304
- - app/assets/images/storage_access.svg
305
- - app/assets/javascripts/shopify_app/app_bridge_3.7.8.js
306
- - app/assets/javascripts/shopify_app/app_bridge_redirect.js
307
304
  - app/assets/javascripts/shopify_app/redirect.js
308
305
  - app/controllers/concerns/shopify_app/ensure_authenticated_links.rb
309
306
  - app/controllers/concerns/shopify_app/ensure_has_session.rb
@@ -462,11 +459,11 @@ files:
462
459
  - translation.yml
463
460
  - webpack.config.js
464
461
  - yarn.lock
465
- homepage:
462
+ homepage:
466
463
  licenses: []
467
464
  metadata:
468
465
  allowed_push_host: https://rubygems.org
469
- post_install_message:
466
+ post_install_message:
470
467
  rdoc_options: []
471
468
  require_paths:
472
469
  - lib
@@ -481,8 +478,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
481
478
  - !ruby/object:Gem::Version
482
479
  version: '0'
483
480
  requirements: []
484
- rubygems_version: 3.5.10
485
- signing_key:
481
+ rubygems_version: 3.5.16
482
+ signing_key:
486
483
  specification_version: 4
487
484
  summary: This gem is used to get quickly started with the Shopify API
488
485
  test_files: []
@@ -1 +0,0 @@
1
- <svg width="140" height="140" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M79 55a9 9 0 00-18 0v8h18v-8zm6 8v-8a15 15 0 00-30 0v8h-5a2 2 0 00-2 2v20a15 15 0 0015 15h14a15 15 0 0015-15V65a2 2 0 00-2-2h-5zM70 90a3 3 0 01-3-3V75a3 3 0 116 0v12a3 3 0 01-3 3z" fill="#8C9196"/></svg>