solidus_backend 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_backend might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ddb6bbe7fd3ea3ea53a1923a6ce503af67ac2f3
|
4
|
+
data.tar.gz: 614e67bc5def610f22c333d4faf272b9876dc338
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb5f4bb9b144fb16d5b768982d8be919e318f6e8d1ab7603cbde99bbda872497f76f6942c2298a1294ac6cdae04716688d1f78b9b3bf0517170f5f7446439906
|
7
|
+
data.tar.gz: fbdf3e039c1998c4e13e36b4dac1e2178c605eeaab8b6ad9786e0fad125180d61af4e12592372832b765953bb72cb84e49e8b5e07474af3109ad64106cba495b
|
@@ -38,7 +38,7 @@ feature "Tiered Calculator Promotions" do
|
|
38
38
|
first_action_calculator = first_action.calculator
|
39
39
|
expect(first_action_calculator.class).to eq Spree::Calculator::TieredPercent
|
40
40
|
expect(first_action_calculator.preferred_base_percent).to eq 5
|
41
|
-
expect(first_action_calculator.preferred_tiers).to eq(BigDecimal
|
41
|
+
expect(first_action_calculator.preferred_tiers).to eq(BigDecimal(100) => BigDecimal(10))
|
42
42
|
end
|
43
43
|
|
44
44
|
context "with an existing tiered flat rate calculator" do
|
@@ -64,8 +64,8 @@ feature "Tiered Calculator Promotions" do
|
|
64
64
|
|
65
65
|
calculator = promotion.actions.first.calculator
|
66
66
|
expect(calculator.preferred_tiers).to eq({
|
67
|
-
BigDecimal
|
68
|
-
BigDecimal
|
67
|
+
BigDecimal(100) => 10,
|
68
|
+
BigDecimal(300) => 20
|
69
69
|
})
|
70
70
|
end
|
71
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_api
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.4.
|
19
|
+
version: 2.4.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.4.
|
26
|
+
version: 2.4.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: solidus_core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.4.
|
33
|
+
version: 2.4.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.4.
|
40
|
+
version: 2.4.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sass-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|