spree_multi_store 1.0.0 → 1.0.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 118a401b69de56e937a48e383aff50b83f5eba7783b871236400d0cefd027ac4
|
|
4
|
+
data.tar.gz: cfb12d44e9b56d0ddf1565e2d224ecba7da0555c94f4ad88224a61898f54908c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1baa87b1abf4cc44bcd79b5345f02893859d135abfcc385c4267b3853f7631bb437a92f0f573f45bc14b6a47e4099b980b71d86b4f9fcb4292b16501282bf0f6
|
|
7
|
+
data.tar.gz: 01c11d2ef5e009c775a924dda50eb1aa5720917b495e2c17c1c9d8042a041df56bf6e868b46d4aef041df68d8ead4a5a2070cd5f756c32699250da79a21190b7
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
# Multi-store setup
|
|
2
|
+
# You need to set a wildcard `root_domain` on the store to enable multi-store setup
|
|
3
|
+
# all new stores will be created in a subdomain of the root domain, eg. store1.localhost, store2.localhost, etc.
|
|
4
|
+
Spree.root_domain = ENV.fetch('SPREE_ROOT_DOMAIN', 'localhost')
|
|
5
|
+
|
|
1
6
|
Rails.application.config.after_initialize do
|
|
2
7
|
Spree::Dependencies.current_store_finder = 'Spree::Stores::FindCurrent'
|
|
3
8
|
|
|
@@ -11,9 +16,4 @@ Rails.application.config.after_initialize do
|
|
|
11
16
|
if defined?(Spree::Admin)
|
|
12
17
|
Spree.admin.partials.product_form_sidebar << 'spree/admin/products/form/stores'
|
|
13
18
|
end
|
|
14
|
-
|
|
15
|
-
# Multi-store setup
|
|
16
|
-
# You need to set a wildcard `root_domain` on the store to enable multi-store setup
|
|
17
|
-
# all new stores will be created in a subdomain of the root domain, eg. store1.localhost, store2.localhost, etc.
|
|
18
|
-
Spree.root_domain = ENV.fetch('SPREE_ROOT_DOMAIN', 'localhost')
|
|
19
19
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_multi_store
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vendo Connect Inc.
|
|
@@ -99,9 +99,9 @@ licenses:
|
|
|
99
99
|
- AGPL-3.0-or-later
|
|
100
100
|
metadata:
|
|
101
101
|
bug_tracker_uri: https://github.com/spree/spree_multi_store/issues
|
|
102
|
-
changelog_uri: https://github.com/spree/spree_multi_store/releases/tag/v1.0.
|
|
102
|
+
changelog_uri: https://github.com/spree/spree_multi_store/releases/tag/v1.0.1
|
|
103
103
|
documentation_uri: https://docs.spreecommerce.org/
|
|
104
|
-
source_code_uri: https://github.com/spree/spree_multi_store/tree/v1.0.
|
|
104
|
+
source_code_uri: https://github.com/spree/spree_multi_store/tree/v1.0.1
|
|
105
105
|
post_install_message: |
|
|
106
106
|
--------------------------------------------------------------
|
|
107
107
|
Thank you for installing Spree Multi-Store!
|