solidus_multi_domain 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solidus_multi_domain.rb +1 -0
- data/solidus_multi_domain.gemspec +2 -1
- data/spec/models/spree/line_item_spec.rb +7 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62d8d93fb78e41df98961c5facc8ab53417b26ed
|
4
|
+
data.tar.gz: ab6e798427dd7e4a97d24208a0aa0e4355d817c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f2bd59b62385a6b435b39238db873295ac54403dc373c25ce5b342297ad9c26d76224c9952832d62c0cffc9716df8926002e0dcf72308957e276262d18ebe96
|
7
|
+
data.tar.gz: dcd46d85d0f7850db4b465e7b2d037e7ede7f3a5a3766eb45bd810b738e68e9545fdfabaf0d9de1bfab9b88953c59e1358c6923d548afdeffe4a61346898a47e
|
data/lib/solidus_multi_domain.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.name = "solidus_multi_domain"
|
6
|
-
s.version = "1.4.
|
6
|
+
s.version = "1.4.1"
|
7
7
|
s.summary = "Adds multiple site support to Solidus"
|
8
8
|
s.description = "Multiple Solidus stores on different domains - single unified backed for processing orders."
|
9
9
|
s.required_ruby_version = ">= 2.1"
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.requirements << "none"
|
20
20
|
|
21
21
|
s.add_dependency "solidus", '~> 1.1'
|
22
|
+
s.add_dependency "deface"
|
22
23
|
|
23
24
|
s.add_development_dependency "rspec-rails", "~> 3.2"
|
24
25
|
s.add_development_dependency "simplecov"
|
@@ -12,6 +12,13 @@ describe Spree::LineItem do
|
|
12
12
|
subject { line_item.save! }
|
13
13
|
|
14
14
|
context "the order does not have a store" do
|
15
|
+
before do
|
16
|
+
version = Spree.try(:solidus_gem_version)
|
17
|
+
if version && version >= Gem::Version.new("1.3.0.alpha")
|
18
|
+
skip "As of 1.3.0 Orders must have a store"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
15
22
|
before(:each) { order.update_attributes(store_id: nil) }
|
16
23
|
let(:product) { create(:product, stores: [order_store])}
|
17
24
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_multi_domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: deface
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rspec-rails
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|