shopify_app 13.2.0 → 13.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop.yml +28 -0
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +3 -1
- data/README.md +12 -14
- data/SECURITY.md +59 -0
- data/app/controllers/concerns/shopify_app/require_known_shop.rb +39 -0
- data/app/controllers/shopify_app/callback_controller.rb +2 -0
- data/app/controllers/shopify_app/extension_verification_controller.rb +2 -7
- data/config/locales/nl.yml +1 -1
- data/docs/Quickstart.md +5 -14
- data/lib/shopify_app.rb +2 -1
- data/lib/shopify_app/controller_concerns/app_proxy_verification.rb +0 -1
- data/lib/shopify_app/controller_concerns/payload_verification.rb +24 -0
- data/lib/shopify_app/controller_concerns/webhook_verification.rb +1 -17
- data/lib/shopify_app/middleware/jwt_middleware.rb +1 -0
- data/lib/shopify_app/version.rb +1 -1
- data/package.json +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6666c7899ac8e3332bf950ce28d445e2fc40886c811631a4bfb3f1e446c286e0
|
4
|
+
data.tar.gz: f85b1b7ed7a77e2430ed955ed0f65bd30b5021d85614da8943332077a999d38e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6582a20d5b5340e7259aef06660e0a2673f31cc0b9413d6d8fda0a7c7fa34982f7dc08cd69f78cad2a0d4e322aedddcc6e472ba368ac4066f1215dc5daaacc4d
|
7
|
+
data.tar.gz: c9bf293b825e474f3ef73353428309baa0c3536c7781597b58ca083fc03b587e210e05dbbdc398edf235b225a537dd3dd02bb612176625d42743a2ae1978aeec
|
@@ -0,0 +1,28 @@
|
|
1
|
+
name: RuboCop
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
|
9
|
+
steps:
|
10
|
+
- uses: actions/checkout@v2
|
11
|
+
- name: Set up Ruby 2.7
|
12
|
+
uses: ruby/setup-ruby@v1
|
13
|
+
with:
|
14
|
+
ruby-version: 2.7
|
15
|
+
- name: Cache gems
|
16
|
+
uses: actions/cache@v1
|
17
|
+
with:
|
18
|
+
path: vendor/bundle
|
19
|
+
key: ${{ runner.os }}-rubocop-${{ hashFiles('**/Gemfile.lock') }}
|
20
|
+
restore-keys: |
|
21
|
+
${{ runner.os }}-rubocop-
|
22
|
+
- name: Install gems
|
23
|
+
run: |
|
24
|
+
bundle config path vendor/bundle
|
25
|
+
bundle config set without 'default development test'
|
26
|
+
bundle install --jobs 4 --retry 3
|
27
|
+
- name: Run RuboCop
|
28
|
+
run: bundle exec rubocop --parallel
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -32,7 +32,7 @@ Table of Contents
|
|
32
32
|
|
33
33
|
Introduction
|
34
34
|
-----------
|
35
|
-
Get started with the [Shopify Admin API](https://help.shopify.com/en/api/getting-started) faster; This gem includes a Rails Engine and generators for writing Rails applications using the Shopify API. The Engine provides a SessionsController and all the required code for authenticating with a shop via
|
35
|
+
Get started with the [Shopify Admin API](https://help.shopify.com/en/api/getting-started) faster; This gem includes a Rails Engine and generators for writing Rails applications using the Shopify API. The Engine provides a SessionsController and all the required code for authenticating with a shop via OAuth (other authentication methods are not supported).
|
36
36
|
|
37
37
|
*Note: It's recommended to use this on a new Rails project so that the generator won't overwrite/delete your files.*
|
38
38
|
|
@@ -99,16 +99,12 @@ These values can be found on the "App Setup" page in the [Shopify Partners Dashb
|
|
99
99
|
### Install Generator
|
100
100
|
|
101
101
|
```sh
|
102
|
-
$ rails generate shopify_app:install
|
103
|
-
|
104
|
-
# or optionally with arguments:
|
105
|
-
|
106
102
|
$ rails generate shopify_app:install
|
107
103
|
```
|
108
104
|
|
109
|
-
|
105
|
+
Options include:
|
110
106
|
* `application_name` - the name of your app, it can be supplied with or without double-quotes if a whitespace is present. (e.g. `--application_name Example App` or `--application_name "Example App"`)
|
111
|
-
* `scope` - the
|
107
|
+
* `scope` - the OAuth access scope required for your app, e.g. **read_products, write_orders**. *Multiple options* need to be delimited by a comma-space and can be supplied with or without double-quotes
|
112
108
|
(e.g. `--scope read_products, write_orders, write_products` or `--scope "read_products, write_orders, write_products"`)
|
113
109
|
For more information, refer the [docs](http://docs.shopify.com/api/tutorials/oauth).
|
114
110
|
* `embedded` - the default is to generate an [embedded app](http://docs.shopify.com/embedded-app-sdk), if you want a legacy non-embedded app then set this to false, `--embedded false`
|
@@ -143,7 +139,7 @@ This optional generator, not included with the default generator, creates the ap
|
|
143
139
|
$ rails generate shopify_app:add_marketing_activity_extension
|
144
140
|
```
|
145
141
|
|
146
|
-
This will create a controller with the endpoints required to build a [marketing activities extension](https://help.shopify.com/en/api/embedded-apps/app-extensions/shopify-admin/marketing-activities). The extension will be generated with a base
|
142
|
+
This will create a controller with the endpoints required to build a [marketing activities extension](https://help.shopify.com/en/api/embedded-apps/app-extensions/shopify-admin/marketing-activities). The extension will be generated with a base URL at `/marketing_activities`, which should also be configured in partners.
|
147
143
|
|
148
144
|
### Controllers, Routes and Views
|
149
145
|
|
@@ -324,7 +320,7 @@ ShopifyApp.configure do |config|
|
|
324
320
|
end
|
325
321
|
```
|
326
322
|
|
327
|
-
When the
|
323
|
+
When the OAuth callback is completed successfully, ShopifyApp will queue a background job which will ensure all the specified webhooks exist for that shop. Because this runs on every OAuth callback, it means your app will always have the webhooks it needs even if the user uninstalls and re-installs the app.
|
328
324
|
|
329
325
|
ShopifyApp also provides a WebhooksController that receives webhooks and queues a job based on the received topic. For example, if you register the webhook from above, then all you need to do is create a job called `CartsUpdateJob`. The job will be queued with 2 params: `shop_domain` and `webhook` (which is the webhook body).
|
330
326
|
|
@@ -368,7 +364,7 @@ end
|
|
368
364
|
|
369
365
|
The module skips the `verify_authenticity_token` before_action and adds an action to verify that the webhook came from Shopify. You can now add a post route to your application, pointing to the controller and action to accept the webhook data from Shopify.
|
370
366
|
|
371
|
-
The WebhooksManager uses ActiveJob. If ActiveJob is not configured then by default Rails will run the jobs inline. However, it is highly recommended to configure a proper background processing queue like
|
367
|
+
The WebhooksManager uses ActiveJob. If ActiveJob is not configured then by default Rails will run the jobs inline. However, it is highly recommended to configure a proper background processing queue like Sidekiq or Resque in production.
|
372
368
|
|
373
369
|
ShopifyApp can create webhooks for you using the `add_webhook` generator. This will add the new webhook to your config and create the required job class for you.
|
374
370
|
|
@@ -459,7 +455,7 @@ class ReviewsController < ApplicationController
|
|
459
455
|
end
|
460
456
|
```
|
461
457
|
|
462
|
-
Create your app proxy
|
458
|
+
Create your app proxy URL in the [Shopify Partners' Dashboard][dashboard], making sure to point it to `https://your_app_website.com/app_proxy`.
|
463
459
|
![Creating an App Proxy](/images/app-proxy-screenshot.png)
|
464
460
|
|
465
461
|
App Bridge
|
@@ -529,8 +525,10 @@ change to how session stores work. Here are the steps to migrate to 13.x
|
|
529
525
|
### Changes to `ShopifyApp::LoginProtection`
|
530
526
|
`ShopifyApp::LoginProtection`
|
531
527
|
|
532
|
-
if you are using `ShopifyApp::LoginProtection#
|
528
|
+
- CHANGE if you are using `ShopifyApp::LoginProtection#shopify_session` in your code, it will need to be
|
533
529
|
changed to `ShopifyApp::LoginProtection#activate_shopify_session`
|
530
|
+
- CHANGE if you are using `ShopifyApp::LoginProtection#clear_shop_session` in your code, it will need to be
|
531
|
+
changed to `ShopifyApp::LoginProtection#clear_shopify_session`
|
534
532
|
|
535
533
|
### Notes
|
536
534
|
You do not need a user model; a shop session is fine for most applications.
|
@@ -571,7 +569,7 @@ Upgrading from 8.6 to 9.0.0
|
|
571
569
|
|
572
570
|
### Configuration change
|
573
571
|
|
574
|
-
Add an
|
572
|
+
Add an API version configuration in `config/initializers/shopify_app.rb`
|
575
573
|
Set this to the version you want to run against by default. See [Shopify API docs](https://help.shopify.com/en/api/versioning) for versions available.
|
576
574
|
```ruby
|
577
575
|
config.api_version = '2019-04'
|
@@ -617,7 +615,7 @@ is changed to
|
|
617
615
|
|
618
616
|
### ShopifyAPI changes
|
619
617
|
|
620
|
-
You will need to also follow the ShopifyAPI [upgrade guide](https://github.com/Shopify/shopify_api/blob/master/README.md#-breaking-change-notice-for-version-700-) to ensure your app is ready to work with
|
618
|
+
You will need to also follow the ShopifyAPI [upgrade guide](https://github.com/Shopify/shopify_api/blob/master/README.md#-breaking-change-notice-for-version-700-) to ensure your app is ready to work with API versioning.
|
621
619
|
|
622
620
|
[dashboard]:https://partners.shopify.com
|
623
621
|
[app-bridge]:https://help.shopify.com/en/api/embedded-apps/app-bridge
|
data/SECURITY.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Security Policy
|
2
|
+
|
3
|
+
## Supported versions
|
4
|
+
|
5
|
+
### New features
|
6
|
+
|
7
|
+
New features will only be added to the master branch and will not be made available in point releases.
|
8
|
+
|
9
|
+
### Bug fixes
|
10
|
+
|
11
|
+
Only the latest release series will receive bug fixes. When enough bugs are fixed and its deemed worthy to release a new gem, this is the branch it happens from.
|
12
|
+
|
13
|
+
### Security issues
|
14
|
+
|
15
|
+
Only the latest release series will receive patches and new versions in case of a security issue.
|
16
|
+
|
17
|
+
### Severe security issues
|
18
|
+
|
19
|
+
For severe security issues we will provide new versions as above, and also the last major release series will receive patches and new versions. The classification of the security issue is judged by the core team.
|
20
|
+
|
21
|
+
### Unsupported Release Series
|
22
|
+
|
23
|
+
When a release series is no longer supported, it's your own responsibility to deal with bugs and security issues. If you are not comfortable maintaining your own versions, you should upgrade to a supported version.
|
24
|
+
|
25
|
+
## Reporting a bug
|
26
|
+
|
27
|
+
All security bugs in shopify repositories should be reported to [our hackerone program](https://hackerone.com/shopify)
|
28
|
+
Shopify's whitehat program is our way to reward security researchers for finding serious security vulnerabilities in the In Scope properties listed at the bottom of this page, including our core application (all functionality associated with a Shopify store, particularly your-store.myshopify.com/admin) and certain ancillary applications.
|
29
|
+
|
30
|
+
## Disclosure Policy
|
31
|
+
|
32
|
+
We look forward to working with all security researchers and strive to be respectful, always assume the best and treat others as peers. We expect the same in return from all participants. To achieve this, our team strives to:
|
33
|
+
|
34
|
+
- Reply to all reports within one business day and triage within two business days (if applicable)
|
35
|
+
- Be as transparent as possible, answering all inquires about our report decisions and adding hackers to duplicate HackerOne reports
|
36
|
+
- Award bounties within a week of resolution (excluding extenuating circumstances)
|
37
|
+
- Only close reports as N/A when the issue reported is included in Known Issues, Ineligible Vulnerabilities Types or lacks evidence of a vulnerability
|
38
|
+
|
39
|
+
**The following rules must be followed in order for any rewards to be paid:**
|
40
|
+
|
41
|
+
- You may only test against shops you have created which include your HackerOne YOURHANDLE @ wearehackerone.com registered email address.
|
42
|
+
- You must not attempt to gain access to, or interact with, any shops other than those created by you.
|
43
|
+
- The use of commercial scanners is prohibited (e.g., Nessus).
|
44
|
+
- Rules for reporting must be followed.
|
45
|
+
- Do not disclose any issues publicly before they have been resolved.
|
46
|
+
- Shopify reserves the right to modify the rules for this program or deem any submissions invalid at any time. Shopify may cancel the whitehat program without notice at any time.
|
47
|
+
- Contacting Shopify Support over chat, email or phone about your HackerOne report is not allowed. We may disqualify you from receiving a reward, or from participating in the program altogether.
|
48
|
+
- You are not an employee of Shopify; employees should report bugs to the internal bug bounty program.
|
49
|
+
- You hereby represent, warrant and covenant that any content you submit to Shopify is an original work of authorship and that you are legally entitled to grant the rights and privileges conveyed by these terms. You further represent, warrant and covenant that the consent of no other person or entity is or will be necessary for Shopify to use the submitted content.
|
50
|
+
- By submitting content to Shopify, you irrevocably waive all moral rights which you may have in the content.
|
51
|
+
- All content submitted by you to Shopify under this program is licensed under the MIT License.
|
52
|
+
- You must report any discovered vulnerability to Shopify as soon as you have validated the vulnerability.
|
53
|
+
- Failure to follow any of the foregoing rules will disqualify you from participating in this program.
|
54
|
+
|
55
|
+
** Please see our [Hackerone Profile](https://hackerone.com/shopify) for full details
|
56
|
+
|
57
|
+
## Receiving Security Updates
|
58
|
+
|
59
|
+
To recieve all general updates to vulnerabilities, please subscribe to our hackerone [Hacktivity](https://hackerone.com/shopify/hacktivity)
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ShopifyApp
|
4
|
+
module RequireKnownShop
|
5
|
+
extend ActiveSupport::Concern
|
6
|
+
|
7
|
+
included do
|
8
|
+
before_action :check_shop_domain
|
9
|
+
before_action :check_shop_known
|
10
|
+
end
|
11
|
+
|
12
|
+
def current_shopify_domain
|
13
|
+
return if params[:shop].blank?
|
14
|
+
@shopify_domain ||= ShopifyApp::Utils.sanitize_shop_domain(params[:shop])
|
15
|
+
end
|
16
|
+
|
17
|
+
private
|
18
|
+
|
19
|
+
def check_shop_domain
|
20
|
+
redirect_to(ShopifyApp.configuration.login_url) unless current_shopify_domain
|
21
|
+
end
|
22
|
+
|
23
|
+
def check_shop_known
|
24
|
+
@shop = SessionRepository.retrieve_shop_session_by_shopify_domain(current_shopify_domain)
|
25
|
+
redirect_to(shop_login) unless @shop
|
26
|
+
end
|
27
|
+
|
28
|
+
def shop_login
|
29
|
+
url = URI(ShopifyApp.configuration.login_url)
|
30
|
+
|
31
|
+
url.query = URI.encode_www_form(
|
32
|
+
shop: params[:shop],
|
33
|
+
return_to: request.fullpath,
|
34
|
+
)
|
35
|
+
|
36
|
+
url.to_s
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -92,9 +92,11 @@ module ShopifyApp
|
|
92
92
|
|
93
93
|
session[:shopify_user] = associated_user
|
94
94
|
if session[:shopify_user].present?
|
95
|
+
session[:shop_id] = nil if shop_session && shop_session.domain != shop_name
|
95
96
|
session[:user_id] = ShopifyApp::SessionRepository.store_user_session(session_store, associated_user)
|
96
97
|
else
|
97
98
|
session[:shop_id] = ShopifyApp::SessionRepository.store_shop_session(session_store)
|
99
|
+
session[:user_id] = nil if user_session && user_session.domain != shop_name
|
98
100
|
end
|
99
101
|
session[:shopify_domain] = shop_name
|
100
102
|
session[:user_session] = auth_hash&.extra&.session
|
@@ -2,19 +2,14 @@
|
|
2
2
|
|
3
3
|
module ShopifyApp
|
4
4
|
class ExtensionVerificationController < ActionController::Base
|
5
|
+
include ShopifyApp::PayloadVerification
|
5
6
|
protect_from_forgery with: :null_session
|
6
7
|
before_action :verify_request
|
7
8
|
|
8
9
|
private
|
9
10
|
|
10
11
|
def verify_request
|
11
|
-
|
12
|
-
request_body = request.body.read
|
13
|
-
secret = ShopifyApp.configuration.secret
|
14
|
-
digest = OpenSSL::Digest.new('sha256')
|
15
|
-
|
16
|
-
expected_hmac = Base64.strict_encode64(OpenSSL::HMAC.digest(digest, secret, request_body))
|
17
|
-
head(:unauthorized) unless ActiveSupport::SecurityUtils.secure_compare(expected_hmac, hmac_header)
|
12
|
+
head(:unauthorized) unless hmac_valid?(request.body.read)
|
18
13
|
end
|
19
14
|
end
|
20
15
|
end
|
data/config/locales/nl.yml
CHANGED
data/docs/Quickstart.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
Quickstart
|
2
2
|
==========
|
3
3
|
|
4
|
-
Get started building and deploying a new Shopify App to Heroku in just a few minutes.
|
4
|
+
Get started building and deploying a new Shopify App to Heroku in just a few minutes.
|
5
|
+
This guide assumes you have Ruby, Rails and PostgreSQL installed on your computer already; if you haven't done that already start with [this guide.](https://guides.rubyonrails.org/v5.0/getting_started.html#installing-rails)
|
5
6
|
|
6
7
|
1. New Rails App (with postgres)
|
7
8
|
--------------------------------
|
@@ -26,15 +27,6 @@ Head to the Heroku dashboard and create a new app, or run the following commands
|
|
26
27
|
CLI:
|
27
28
|
```sh
|
28
29
|
$ heroku create name
|
29
|
-
$ heroku git:remote -a name
|
30
|
-
```
|
31
|
-
|
32
|
-
Once you have created an app on Heroku, we need to let Git know where the Heroku server is so we can deploy to it later. Copy the app's name from your Heroku dashboard and substitute `appname.git` with the name you chose earlier:
|
33
|
-
|
34
|
-
web:
|
35
|
-
```sh
|
36
|
-
# https://dashboard.heroku.com/new
|
37
|
-
$ git remote add heroku git@heroku.com:appname.git
|
38
30
|
```
|
39
31
|
|
40
32
|
3. Create a new App in the Shopify Partner dashboard
|
@@ -64,14 +56,13 @@ Generate the code for your app by running these commands:
|
|
64
56
|
|
65
57
|
```sh
|
66
58
|
# Use the keys from your app you created in the partners area
|
67
|
-
$ rails generate shopify_app
|
59
|
+
$ rails generate shopify_app
|
68
60
|
$ git add .
|
69
61
|
$ git commit -m 'generated shopify app'
|
70
62
|
```
|
71
63
|
|
72
|
-
|
73
|
-
|
74
|
-
We recommend adding a gem or utilizing environment variables (`.env`) to handle your keys before releasing your app. [Learn more about using environment variables.](https://www.honeybadger.io/blog/ruby-guide-environment-variables/)
|
64
|
+
Your API key and secret are read from environment variables. Refer to the main
|
65
|
+
README for further details on how to set this up.
|
75
66
|
|
76
67
|
6. Deploy your app
|
77
68
|
---------
|
data/lib/shopify_app.rb
CHANGED
@@ -31,8 +31,9 @@ module ShopifyApp
|
|
31
31
|
require 'shopify_app/controller_concerns/itp'
|
32
32
|
require 'shopify_app/controller_concerns/login_protection'
|
33
33
|
require 'shopify_app/controller_concerns/embedded_app'
|
34
|
-
require 'shopify_app/controller_concerns/
|
34
|
+
require 'shopify_app/controller_concerns/payload_verification'
|
35
35
|
require 'shopify_app/controller_concerns/app_proxy_verification'
|
36
|
+
require 'shopify_app/controller_concerns/webhook_verification'
|
36
37
|
|
37
38
|
# jobs
|
38
39
|
require 'shopify_app/jobs/webhooks_manager_job'
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module ShopifyApp
|
3
|
+
module PayloadVerification
|
4
|
+
extend ActiveSupport::Concern
|
5
|
+
|
6
|
+
private
|
7
|
+
|
8
|
+
def shopify_hmac
|
9
|
+
request.headers['HTTP_X_SHOPIFY_HMAC_SHA256']
|
10
|
+
end
|
11
|
+
|
12
|
+
def hmac_valid?(data)
|
13
|
+
secrets = [ShopifyApp.configuration.secret, ShopifyApp.configuration.old_secret].reject(&:blank?)
|
14
|
+
|
15
|
+
secrets.any? do |secret|
|
16
|
+
digest = OpenSSL::Digest.new('sha256')
|
17
|
+
ActiveSupport::SecurityUtils.secure_compare(
|
18
|
+
shopify_hmac,
|
19
|
+
Base64.strict_encode64(OpenSSL::HMAC.digest(digest, secret, data))
|
20
|
+
)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -2,6 +2,7 @@
|
|
2
2
|
module ShopifyApp
|
3
3
|
module WebhookVerification
|
4
4
|
extend ActiveSupport::Concern
|
5
|
+
include ShopifyApp::PayloadVerification
|
5
6
|
|
6
7
|
included do
|
7
8
|
skip_before_action :verify_authenticity_token, raise: false
|
@@ -15,25 +16,8 @@ module ShopifyApp
|
|
15
16
|
return head(:unauthorized) unless hmac_valid?(data)
|
16
17
|
end
|
17
18
|
|
18
|
-
def hmac_valid?(data)
|
19
|
-
secrets = [ShopifyApp.configuration.secret, ShopifyApp.configuration.old_secret].reject(&:blank?)
|
20
|
-
|
21
|
-
secrets.any? do |secret|
|
22
|
-
digest = OpenSSL::Digest.new('sha256')
|
23
|
-
|
24
|
-
ActiveSupport::SecurityUtils.secure_compare(
|
25
|
-
shopify_hmac,
|
26
|
-
Base64.strict_encode64(OpenSSL::HMAC.digest(digest, secret, data))
|
27
|
-
)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
19
|
def shop_domain
|
32
20
|
request.headers['HTTP_X_SHOPIFY_SHOP_DOMAIN']
|
33
21
|
end
|
34
|
-
|
35
|
-
def shopify_hmac
|
36
|
-
request.headers['HTTP_X_SHOPIFY_HMAC_SHA256']
|
37
|
-
end
|
38
22
|
end
|
39
23
|
end
|
data/lib/shopify_app/version.rb
CHANGED
data/package.json
CHANGED
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: 13.
|
4
|
+
version: 13.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: browser_sniffer
|
@@ -244,6 +244,7 @@ files:
|
|
244
244
|
- ".github/CODEOWNERS"
|
245
245
|
- ".github/ISSUE_TEMPLATE.md"
|
246
246
|
- ".github/probots.yml"
|
247
|
+
- ".github/workflows/rubocop.yml"
|
247
248
|
- ".gitignore"
|
248
249
|
- ".nvmrc"
|
249
250
|
- ".rubocop.yml"
|
@@ -254,6 +255,7 @@ files:
|
|
254
255
|
- LICENSE
|
255
256
|
- README.md
|
256
257
|
- Rakefile
|
258
|
+
- SECURITY.md
|
257
259
|
- app/assets/images/storage_access.svg
|
258
260
|
- app/assets/javascripts/shopify_app/enable_cookies.js
|
259
261
|
- app/assets/javascripts/shopify_app/itp_helper.js
|
@@ -265,6 +267,7 @@ files:
|
|
265
267
|
- app/assets/javascripts/shopify_app/top_level.js
|
266
268
|
- app/assets/javascripts/shopify_app/top_level_interaction.js
|
267
269
|
- app/controllers/concerns/shopify_app/authenticated.rb
|
270
|
+
- app/controllers/concerns/shopify_app/require_known_shop.rb
|
268
271
|
- app/controllers/shopify_app/authenticated_controller.rb
|
269
272
|
- app/controllers/shopify_app/callback_controller.rb
|
270
273
|
- app/controllers/shopify_app/extension_verification_controller.rb
|
@@ -359,6 +362,7 @@ files:
|
|
359
362
|
- lib/shopify_app/controller_concerns/itp.rb
|
360
363
|
- lib/shopify_app/controller_concerns/localization.rb
|
361
364
|
- lib/shopify_app/controller_concerns/login_protection.rb
|
365
|
+
- lib/shopify_app/controller_concerns/payload_verification.rb
|
362
366
|
- lib/shopify_app/controller_concerns/webhook_verification.rb
|
363
367
|
- lib/shopify_app/engine.rb
|
364
368
|
- lib/shopify_app/jobs/scripttags_manager_job.rb
|