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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0aabcb199c31d99f564afef69740c95363dff238117b5692ff26226f91f6bf06
4
- data.tar.gz: fd982fa13569c953468edb060c7019f541b435cd404787b8c0674ff3db324606
3
+ metadata.gz: 3429ad38c55c3f8f63d7ed185059e379cb521172e8a0a0e81224ef7ca5cbb3a1
4
+ data.tar.gz: a48d078ec2c750b99e6cf017645f3cd236356d3c1898ab3cddf5e6519670b6fb
5
5
  SHA512:
6
- metadata.gz: d0532174df1e8cac35d61f180102c5123dec9f43d41b29d61a6ce37a87cb1d29f60a902de56ba5b0394094ef5c0ea28e13ca81033df598de93209dcf7105dbc5
7
- data.tar.gz: 9df7b935ee802245a93da97b4341aacb7343aac7e6319b5b1673b30a0145f9f46d539aa5c2e3ab190e1e7dbf69b37843ff8c4739497ef24233a572fa49eb6d4d
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 t
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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "2.10.0"
4
+ VERSION = "2.10.1"
5
5
 
6
6
  def self.solidus_version
7
7
  VERSION
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.0
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-01-15 00:00:00.000000000 Z
11
+ date: 2020-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer