shopify_app 9.0.4 → 11.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/README.md +31 -23
- data/app/assets/javascripts/shopify_app/storage_access.js +1 -1
- data/app/controllers/shopify_app/callback_controller.rb +1 -1
- data/app/controllers/shopify_app/sessions_controller.rb +26 -13
- 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/docs/Releasing.md +0 -1
- data/lib/generators/shopify_app/install/install_generator.rb +10 -8
- data/lib/generators/shopify_app/install/templates/shopify_app.rb +5 -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/utils.rb +7 -0
- data/lib/shopify_app/version.rb +1 -1
- data/package-lock.json +1144 -1164
- data/package.json +1 -1
- data/shopify_app.gemspec +5 -3
- metadata +54 -14
data/package.json
CHANGED
data/shopify_app.gemspec
CHANGED
@@ -11,15 +11,17 @@ 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', '~> 8.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('
|
20
|
+
s.add_development_dependency('pry')
|
21
|
+
s.add_development_dependency('sqlite3', '~> 1.4')
|
21
22
|
s.add_development_dependency('minitest')
|
22
23
|
s.add_development_dependency('mocha')
|
24
|
+
s.add_development_dependency('webmock')
|
23
25
|
|
24
26
|
s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|example)/}) }
|
25
27
|
s.test_files = `git ls-files -- {test}/*`.split("\n")
|
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.1.0
|
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-09 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:
|
47
|
+
version: '8.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:
|
54
|
+
version: '8.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: omniauth-shopify-oauth2
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,20 +94,34 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: sqlite3
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
117
|
+
version: '1.4'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
124
|
+
version: '1.4'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: minitest
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +150,20 @@ dependencies:
|
|
136
150
|
- - ">="
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: webmock
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
139
167
|
description:
|
140
168
|
email:
|
141
169
|
executables: []
|
@@ -181,14 +209,26 @@ files:
|
|
181
209
|
- app/views/shopify_app/sessions/request_storage_access.html.erb
|
182
210
|
- app/views/shopify_app/sessions/top_level_interaction.html.erb
|
183
211
|
- app/views/shopify_app/shared/redirect.html.erb
|
212
|
+
- config/locales/cs.yml
|
213
|
+
- config/locales/da.yml
|
184
214
|
- config/locales/de.yml
|
185
215
|
- config/locales/en.yml
|
186
216
|
- config/locales/es.yml
|
217
|
+
- config/locales/fi.yml
|
187
218
|
- config/locales/fr.yml
|
219
|
+
- config/locales/hi.yml
|
188
220
|
- config/locales/it.yml
|
189
221
|
- config/locales/ja.yml
|
222
|
+
- config/locales/ko.yml
|
223
|
+
- config/locales/ms.yml
|
224
|
+
- config/locales/nb.yml
|
190
225
|
- config/locales/nl.yml
|
226
|
+
- config/locales/pl.yml
|
191
227
|
- config/locales/pt-BR.yml
|
228
|
+
- config/locales/pt-PT.yml
|
229
|
+
- config/locales/sv.yml
|
230
|
+
- config/locales/th.yml
|
231
|
+
- config/locales/tr.yml
|
192
232
|
- config/locales/zh-CN.yml
|
193
233
|
- config/locales/zh-TW.yml
|
194
234
|
- config/routes.rb
|
@@ -221,6 +261,7 @@ files:
|
|
221
261
|
- lib/generators/shopify_app/install/templates/shopify_app.js
|
222
262
|
- lib/generators/shopify_app/install/templates/shopify_app.rb
|
223
263
|
- lib/generators/shopify_app/install/templates/shopify_provider.rb
|
264
|
+
- lib/generators/shopify_app/install/templates/user_agent.rb
|
224
265
|
- lib/generators/shopify_app/rotate_shopify_token_job/rotate_shopify_token_job_generator.rb
|
225
266
|
- lib/generators/shopify_app/rotate_shopify_token_job/templates/rotate_shopify_token.rake
|
226
267
|
- lib/generators/shopify_app/rotate_shopify_token_job/templates/rotate_shopify_token_job.rb
|
@@ -276,8 +317,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
317
|
- !ruby/object:Gem::Version
|
277
318
|
version: '0'
|
278
319
|
requirements: []
|
279
|
-
|
280
|
-
rubygems_version: 2.7.6
|
320
|
+
rubygems_version: 3.0.3
|
281
321
|
signing_key:
|
282
322
|
specification_version: 4
|
283
323
|
summary: This gem is used to get quickly started with the Shopify API
|