shopify_app 7.0.4 → 7.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/README.md +1 -1
- data/lib/generators/shopify_app/shop_model/shop_model_generator.rb +8 -0
- data/lib/generators/shopify_app/shop_model/templates/db/migrate/create_shops.rb +1 -1
- data/lib/generators/shopify_app/shop_model/templates/shop_helper.rb +7 -0
- data/lib/shopify_app/login_protection.rb +0 -2
- data/lib/shopify_app/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7341f6b8d55973bdcde911132e69bc438882963b
|
4
|
+
data.tar.gz: ab2dcf9e5c781813dd0137070ea702ee49de9b08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33438b77e84a38adcde32a04c1901b73461fe74420a64042af100c7bc760f9e4e4266a3b6a5e17e8f48ccaf23cdb0c5dd568f88ba5af7cb36d0f15b2b82a1f07
|
7
|
+
data.tar.gz: b56a730ecc90e1aa9697bdcc52dae7a683e415ac8a00f7f5a7bb0936d5b80009259439272c106d8775d149e90dc4c16d675b7a8af3aade914234d6e170acf6de
|
data/CHANGELOG
CHANGED
data/README.md
CHANGED
@@ -157,7 +157,7 @@ class CustomWebhooksController < ApplicationController
|
|
157
157
|
include ShopifyApp::WebhookVerification
|
158
158
|
|
159
159
|
def carts_update
|
160
|
-
SomeJob.perform_later(shopify_domain: shop_domain)
|
160
|
+
SomeJob.perform_later(shopify_domain: shop_domain, webhook: params)
|
161
161
|
head :ok
|
162
162
|
end
|
163
163
|
end
|
@@ -23,6 +23,14 @@ module ShopifyApp
|
|
23
23
|
copy_file 'shops.yml', 'test/fixtures/shops.yml'
|
24
24
|
end
|
25
25
|
|
26
|
+
def inject_into_authenticated_controller
|
27
|
+
inject_into_file(
|
28
|
+
'app/controllers/shopify_app/authenticated_controller.rb',
|
29
|
+
File.read(File.expand_path(find_in_source_paths('shop_helper.rb'))),
|
30
|
+
before: "\nend"
|
31
|
+
)
|
32
|
+
end
|
33
|
+
|
26
34
|
private
|
27
35
|
|
28
36
|
def copy_migration(migration_name, config = {})
|
@@ -71,7 +71,6 @@ module ShopifyApp
|
|
71
71
|
</script>
|
72
72
|
</head>
|
73
73
|
<body>
|
74
|
-
<a href=#{url_json}>Continue</a>
|
75
74
|
</body>
|
76
75
|
</html>
|
77
76
|
), status: 302, location: url
|
@@ -95,7 +94,6 @@ module ShopifyApp
|
|
95
94
|
</script>
|
96
95
|
</head>
|
97
96
|
<body>
|
98
|
-
<a href=#{url_json} target="_top">Continue</a>
|
99
97
|
</body>
|
100
98
|
</html>
|
101
99
|
)
|
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: 7.0.
|
4
|
+
version: 7.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- lib/generators/shopify_app/shop_model/shop_model_generator.rb
|
171
171
|
- lib/generators/shopify_app/shop_model/templates/db/migrate/create_shops.rb
|
172
172
|
- lib/generators/shopify_app/shop_model/templates/shop.rb
|
173
|
+
- lib/generators/shopify_app/shop_model/templates/shop_helper.rb
|
173
174
|
- lib/generators/shopify_app/shop_model/templates/shopify_session_repository.rb
|
174
175
|
- lib/generators/shopify_app/shop_model/templates/shops.yml
|
175
176
|
- lib/generators/shopify_app/shopify_app_generator.rb
|