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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/README.md +32 -22
- data/app/assets/javascripts/shopify_app/storage_access.js +1 -1
- data/app/controllers/shopify_app/callback_controller.rb +6 -3
- data/app/controllers/shopify_app/sessions_controller.rb +27 -14
- data/app/views/shopify_app/sessions/enable_cookies.html.erb +1 -0
- data/config/locales/cs.yml +23 -0
- data/config/locales/da.yml +20 -0
- data/config/locales/de.yml +2 -2
- data/config/locales/es.yml +2 -2
- data/config/locales/fi.yml +20 -0
- data/config/locales/fr.yml +3 -3
- data/config/locales/hi.yml +23 -0
- data/config/locales/it.yml +2 -3
- data/config/locales/ja.yml +1 -1
- data/config/locales/ko.yml +19 -0
- data/config/locales/ms.yml +22 -0
- data/config/locales/nb.yml +21 -0
- data/config/locales/nl.yml +7 -7
- data/config/locales/pl.yml +21 -0
- data/config/locales/pt-BR.yml +2 -2
- data/config/locales/pt-PT.yml +22 -0
- data/config/locales/sv.yml +21 -0
- data/config/locales/th.yml +20 -0
- data/config/locales/tr.yml +22 -0
- data/config/locales/zh-CN.yml +2 -2
- data/config/locales/zh-TW.yml +1 -2
- data/lib/generators/shopify_app/add_after_authenticate_job/add_after_authenticate_job_generator.rb +1 -1
- data/lib/generators/shopify_app/install/install_generator.rb +8 -6
- data/lib/generators/shopify_app/install/templates/flash_messages.js +5 -5
- data/lib/generators/shopify_app/install/templates/shopify_app.rb +2 -2
- data/lib/generators/shopify_app/install/templates/user_agent.rb +5 -0
- data/lib/shopify_app/controller_concerns/login_protection.rb +12 -3
- data/lib/shopify_app/version.rb +1 -1
- data/package-lock.json +1144 -1164
- data/package.json +1 -1
- data/shopify_app.gemspec +3 -3
- metadata +26 -14
data/package.json
CHANGED
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', '
|
15
|
-
s.add_runtime_dependency('shopify_api', '
|
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.
|
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:
|
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-
|
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.
|
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.
|
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
|
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
|
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.
|
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.
|
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
|
-
|
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
|