solidus_core 2.1.0.rc1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/models/spree/price.rb +1 -1
- data/db/default/spree/stores.rb +1 -1
- data/lib/spree/core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f13c8544ce3ba77d4caf42287a68f8fa4a03d58
|
4
|
+
data.tar.gz: 5fe553761f79bc61f4be5b8ef3fdaa5f31976836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55dba61d25cb8bdd9a811c815c96a2e1bc87e73fda9f04f6b2871709ee724735de18bd9dd28744d4c7890b860922e8f90a746b7e6820a64ecbc5057d46606e5c
|
7
|
+
data.tar.gz: db6e781a3053c1fa55f565ac84d5c583fe0e733b32aa1ba1642e132986057145919ee71ce72635bcf5decd8e19a9f241f855c59b29d255a32470baabbac2d73d
|
data/app/models/spree/price.rb
CHANGED
@@ -18,7 +18,7 @@ module Spree
|
|
18
18
|
validates :currency, inclusion: { in: ::Money::Currency.all.map(&:iso_code), message: :invalid_code }
|
19
19
|
validates :country, presence: true, unless: -> { for_any_country? }
|
20
20
|
|
21
|
-
scope :currently_valid, -> { order("country_iso IS NULL, updated_at DESC") }
|
21
|
+
scope :currently_valid, -> { order("country_iso IS NULL, updated_at DESC, id DESC") }
|
22
22
|
scope :for_master, -> { joins(:variant).where(spree_variants: { is_master: true }) }
|
23
23
|
scope :for_variant, -> { joins(:variant).where(spree_variants: { is_master: false }) }
|
24
24
|
scope :for_any_country, -> { where(country: nil) }
|
data/db/default/spree/stores.rb
CHANGED
data/lib/spree/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -1402,7 +1402,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1402
1402
|
version: 1.8.23
|
1403
1403
|
requirements: []
|
1404
1404
|
rubyforge_project:
|
1405
|
-
rubygems_version: 2.
|
1405
|
+
rubygems_version: 2.6.8
|
1406
1406
|
signing_key:
|
1407
1407
|
specification_version: 4
|
1408
1408
|
summary: Essential models, mailers, and classes for the Solidus e-commerce project.
|