shopify-gold 4.0.5 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/gold/authenticated_controller.rb +2 -9
- data/lib/gold/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: b2f3bd33de348c0f6ec3cf6e3f01afc445047d48e1df6f4544e843fe003a6ff1
|
|
4
|
+
data.tar.gz: 87c3b24f37dc3c1b6fba30171029af7251f2d248802803ea51d2930e79b7e13e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbffeb717f7a5ec08d084de5a2d1530a1fde2bc7500412084847ce620a9dc8e60f7e24cc33f24498001781a5b0e5ef626a72c84ded3c41c611c28cfede703533
|
|
7
|
+
data.tar.gz: 0660e85fab96435db7bbb431b0d955e753399535449890a1c5a9dc87ceffa4b949b9cb40caaef587763ee5f0ab36174246860940cb35dd15a9a50354f6c9ef47
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
require_dependency "gold/application_controller"
|
|
2
2
|
|
|
3
3
|
module Gold
|
|
4
|
-
#
|
|
5
|
-
# ApplicationController.
|
|
4
|
+
# Inherit from Shopify's authenticated module
|
|
6
5
|
class AuthenticatedController < ApplicationController
|
|
7
|
-
|
|
8
|
-
include ShopifyApp::Localization
|
|
9
|
-
include ShopifyApp::LoginProtection
|
|
10
|
-
include ShopifyApp::EmbeddedApp
|
|
11
|
-
|
|
12
|
-
before_action :login_again_if_different_shop
|
|
13
|
-
around_action :shopify_session
|
|
6
|
+
include ShopifyApp::Authenticated
|
|
14
7
|
end
|
|
15
8
|
end
|
data/lib/gold/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shopify-gold
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0
|
|
4
|
+
version: 4.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Smith
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-01-
|
|
12
|
+
date: 2020-01-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|