solidus_core 2.10.0 → 2.10.1
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/product/scopes.rb +1 -1
- data/lib/spree/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3429ad38c55c3f8f63d7ed185059e379cb521172e8a0a0e81224ef7ca5cbb3a1
|
4
|
+
data.tar.gz: a48d078ec2c750b99e6cf017645f3cd236356d3c1898ab3cddf5e6519670b6fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99725a17217f4ae580ce292800821d09376313a9b085374f2d3025ddc2cda98adc7147a809ad600e869dc781cc52e76d6f7129e302ecb960ddd0f8abb22702e8
|
7
|
+
data.tar.gz: 48b10e9c1d0e99777c12e0bdec028395d27ebc0934fbb295ff718ecc6e772a51721997de943784dce0099bab614e4b4ea017435ab119c733a52e685ab29bea5f
|
@@ -251,7 +251,7 @@ module Spree
|
|
251
251
|
ids_or_records_or_names.flatten.map { |taxon|
|
252
252
|
case taxon
|
253
253
|
when Integer then Spree::Taxon.find_by(id: taxon)
|
254
|
-
when ActiveRecord::Base then
|
254
|
+
when ActiveRecord::Base then taxon
|
255
255
|
when String
|
256
256
|
Spree::Taxon.find_by(name: taxon) ||
|
257
257
|
Spree::Taxon.where("#{taxons}.permalink LIKE ? OR #{taxons}.permalink = ?", "%/#{taxon}/", "#{taxon}/").first
|
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.10.
|
4
|
+
version: 2.10.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: 2020-
|
11
|
+
date: 2020-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|