shopify_app 9.0.3 → 11.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/README.md +32 -22
  4. data/app/assets/javascripts/shopify_app/storage_access.js +1 -1
  5. data/app/controllers/shopify_app/callback_controller.rb +6 -3
  6. data/app/controllers/shopify_app/sessions_controller.rb +27 -14
  7. data/app/views/shopify_app/sessions/enable_cookies.html.erb +1 -0
  8. data/config/locales/cs.yml +23 -0
  9. data/config/locales/da.yml +20 -0
  10. data/config/locales/de.yml +2 -2
  11. data/config/locales/es.yml +2 -2
  12. data/config/locales/fi.yml +20 -0
  13. data/config/locales/fr.yml +3 -3
  14. data/config/locales/hi.yml +23 -0
  15. data/config/locales/it.yml +2 -3
  16. data/config/locales/ja.yml +1 -1
  17. data/config/locales/ko.yml +19 -0
  18. data/config/locales/ms.yml +22 -0
  19. data/config/locales/nb.yml +21 -0
  20. data/config/locales/nl.yml +7 -7
  21. data/config/locales/pl.yml +21 -0
  22. data/config/locales/pt-BR.yml +2 -2
  23. data/config/locales/pt-PT.yml +22 -0
  24. data/config/locales/sv.yml +21 -0
  25. data/config/locales/th.yml +20 -0
  26. data/config/locales/tr.yml +22 -0
  27. data/config/locales/zh-CN.yml +2 -2
  28. data/config/locales/zh-TW.yml +1 -2
  29. data/lib/generators/shopify_app/add_after_authenticate_job/add_after_authenticate_job_generator.rb +1 -1
  30. data/lib/generators/shopify_app/install/install_generator.rb +8 -6
  31. data/lib/generators/shopify_app/install/templates/flash_messages.js +5 -5
  32. data/lib/generators/shopify_app/install/templates/shopify_app.rb +2 -2
  33. data/lib/generators/shopify_app/install/templates/user_agent.rb +5 -0
  34. data/lib/shopify_app/controller_concerns/login_protection.rb +12 -3
  35. data/lib/shopify_app/version.rb +1 -1
  36. data/package-lock.json +1144 -1164
  37. data/package.json +1 -1
  38. data/shopify_app.gemspec +3 -3
  39. metadata +26 -14
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopify_app",
3
- "version": "9.0.3",
3
+ "version": "11.0.0",
4
4
  "repository": "git@github.com:Shopify/shopify_app.git",
5
5
  "author": "Shopify",
6
6
  "license": "MIT",
data/shopify_app.gemspec CHANGED
@@ -11,13 +11,13 @@ Gem::Specification.new do |s|
11
11
  s.required_ruby_version = ">= 2.3.1"
12
12
 
13
13
  s.add_runtime_dependency('browser_sniffer', '~> 1.1.2')
14
- s.add_runtime_dependency('rails', '>= 5.0.0')
15
- s.add_runtime_dependency('shopify_api', '>= 7.0.0')
14
+ s.add_runtime_dependency('rails', '> 5.2.1')
15
+ s.add_runtime_dependency('shopify_api', '~> 7.0')
16
16
  s.add_runtime_dependency('omniauth-shopify-oauth2', '~> 2.1.0')
17
17
 
18
18
  s.add_development_dependency('rake')
19
19
  s.add_development_dependency('byebug')
20
- s.add_development_dependency('sqlite3', '~> 1.3.6')
20
+ s.add_development_dependency('sqlite3', '~> 1.4')
21
21
  s.add_development_dependency('minitest')
22
22
  s.add_development_dependency('mocha')
23
23
 
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: 9.0.3
4
+ version: 11.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-06 00:00:00.000000000 Z
11
+ date: 2019-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser_sniffer
@@ -28,30 +28,30 @@ dependencies:
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
- version: 5.0.0
33
+ version: 5.2.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ">"
39
39
  - !ruby/object:Gem::Version
40
- version: 5.0.0
40
+ version: 5.2.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: shopify_api
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 7.0.0
47
+ version: '7.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 7.0.0
54
+ version: '7.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: omniauth-shopify-oauth2
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.3.6
103
+ version: '1.4'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.3.6
110
+ version: '1.4'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: minitest
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -181,14 +181,26 @@ files:
181
181
  - app/views/shopify_app/sessions/request_storage_access.html.erb
182
182
  - app/views/shopify_app/sessions/top_level_interaction.html.erb
183
183
  - app/views/shopify_app/shared/redirect.html.erb
184
+ - config/locales/cs.yml
185
+ - config/locales/da.yml
184
186
  - config/locales/de.yml
185
187
  - config/locales/en.yml
186
188
  - config/locales/es.yml
189
+ - config/locales/fi.yml
187
190
  - config/locales/fr.yml
191
+ - config/locales/hi.yml
188
192
  - config/locales/it.yml
189
193
  - config/locales/ja.yml
194
+ - config/locales/ko.yml
195
+ - config/locales/ms.yml
196
+ - config/locales/nb.yml
190
197
  - config/locales/nl.yml
198
+ - config/locales/pl.yml
191
199
  - config/locales/pt-BR.yml
200
+ - config/locales/pt-PT.yml
201
+ - config/locales/sv.yml
202
+ - config/locales/th.yml
203
+ - config/locales/tr.yml
192
204
  - config/locales/zh-CN.yml
193
205
  - config/locales/zh-TW.yml
194
206
  - config/routes.rb
@@ -221,6 +233,7 @@ files:
221
233
  - lib/generators/shopify_app/install/templates/shopify_app.js
222
234
  - lib/generators/shopify_app/install/templates/shopify_app.rb
223
235
  - lib/generators/shopify_app/install/templates/shopify_provider.rb
236
+ - lib/generators/shopify_app/install/templates/user_agent.rb
224
237
  - lib/generators/shopify_app/rotate_shopify_token_job/rotate_shopify_token_job_generator.rb
225
238
  - lib/generators/shopify_app/rotate_shopify_token_job/templates/rotate_shopify_token.rake
226
239
  - lib/generators/shopify_app/rotate_shopify_token_job/templates/rotate_shopify_token_job.rb
@@ -276,8 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
289
  - !ruby/object:Gem::Version
277
290
  version: '0'
278
291
  requirements: []
279
- rubyforge_project:
280
- rubygems_version: 2.7.6
292
+ rubygems_version: 3.0.3
281
293
  signing_key:
282
294
  specification_version: 4
283
295
  summary: This gem is used to get quickly started with the Shopify API