shopify_app 12.0.5 → 12.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +12 -0
- data/lib/shopify_app/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d5e8bb7adf27bed02320b5bac90179d8c2d59f6720d45af3e58f7860cbf0e58
|
4
|
+
data.tar.gz: 1640997a65a723a5a0d892c2fe736493e978c12f0bc66a506bd4680e5f5dd2db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: febaa42018e4dffcc2c93f28a9c1ed19cb3e33a1ca525067e96f3de1f577179db83d32a082107966f487b5c55b212e48a0c44b6996e5fea5c4ae19736244650c
|
7
|
+
data.tar.gz: e4217c593b8c7f7425a94da13c3a74c80ab91ec783df9ec361285bddea3cf2622e29a4e44d2065d7a45b6fe0c94a790c358cfe3f311b2686d050c36bfae30b46
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
|
+
12.0.6
|
2
|
+
------
|
3
|
+
* Adds changelog information and README updates for 8.4.0 #916
|
4
|
+
|
1
5
|
12.0.5
|
2
|
-
|
6
|
+
------
|
3
7
|
* Updating shopify_api gem to 9.0.1
|
4
8
|
|
5
9
|
12.0.4
|
@@ -191,6 +195,7 @@ Added support for rotating Shopify access tokens:
|
|
191
195
|
8.4.0
|
192
196
|
----
|
193
197
|
* Fix embedded app session management in Safari 12.1
|
198
|
+
* Note that with this change we have extracted the callback action in its own controller. If you are relying on it, see the README for more details: https://github.com/Shopify/shopify_app#callback
|
194
199
|
* Shop names passed to OAuth are no longer case sensitive
|
195
200
|
|
196
201
|
8.3.2
|
data/README.md
CHANGED
@@ -213,6 +213,17 @@ end
|
|
213
213
|
Authentication
|
214
214
|
--------------
|
215
215
|
|
216
|
+
### Callback
|
217
|
+
|
218
|
+
Upon completing the authentication flow Shopify calls the app at the `callback_path` mentioned before. If the app needs to do some extra work it can define and configure the route to a custom callback controller, inheriting from `ShopifyApp::CallbackController` and hook into or override any of the defined helper methods. The default callback controller already provides the following behaviour:
|
219
|
+
* Logging into the shop and resetting the session
|
220
|
+
* [Installing Webhooks](https://github.com/Shopify/shopify_app#webhooksmanager)
|
221
|
+
* [Setting Scripttags](https://github.com/Shopify/shopify_app#scripttagsmanager)
|
222
|
+
* [Performing the AfterAuthenticate Job](https://github.com/Shopify/shopify_app#afterauthenticatejob)
|
223
|
+
* Redirecting to the return address
|
224
|
+
|
225
|
+
**Note that starting with version 8.4.0, we have extracted the callback logic in its own controller. If you are upgrading from a version older than 8.4.0 the callback action and related helper methods were defined in `ShopifyApp::SessionsController` ==> you will have to extend `ShopifyApp::CallbackController` instead and port your logic to the new controller.**
|
226
|
+
|
216
227
|
### ShopifyApp::SessionRepository
|
217
228
|
|
218
229
|
`ShopifyApp::SessionRepository` allows you as a developer to define how your sessions are stored and retrieved for shops. The `SessionRepository` is configured in the `config/initializers/shopify_app.rb` file and can be set to any object that implements `self.store(auth_session, *args)` which stores the session and returns a unique identifier and `self.retrieve(id)` which returns a `ShopifyAPI::Session` for the passed id. These methods are already implemented as part of the `ShopifyApp::SessionStorage` concern, but can be overridden for custom implementation.
|
@@ -473,6 +484,7 @@ Questions or problems?
|
|
473
484
|
|
474
485
|
- [Ask questions!](https://ecommerce.shopify.com/c/shopify-apis-and-technology)
|
475
486
|
- [Read the docs!](https://help.shopify.com/api/guides)
|
487
|
+
- And don't forget to check the [Changelog](https://github.com/Shopify/shopify_app/blob/master/CHANGELOG.md) too!
|
476
488
|
|
477
489
|
Upgrading to 11.7.0
|
478
490
|
---------------------------
|
data/lib/shopify_app/version.rb
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: 12.0.
|
4
|
+
version: 12.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: browser_sniffer
|