solidus_core 1.2.0 → 1.2.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
  SHA1:
3
- metadata.gz: b1eccab659060bb83cc6fbdd8c8b40aa7d3353b9
4
- data.tar.gz: 4428f750ded7e8d5838a8694ed4834e8ac40a4a1
3
+ metadata.gz: 9c79a318cd87cb417fee2380fe78ae0ade7490b0
4
+ data.tar.gz: 37bc5c86b9e86f0001ae4cde9fc0b831a011cd86
5
5
  SHA512:
6
- metadata.gz: 52be2bcada1f251b797f03ffb2239b625307ed3096c4e86c6e0d716cca1835bd5802aebf9bf45b05ef36261feea2d9dfffd3cd5a31d463c2bd23be640fb70fd3
7
- data.tar.gz: 161a67668162e27926be717822db2014a36d1dbd9b419d222c92b571936b504b3850dfa55b16f791facc4302cf8dcbff14faa526651fb53bb2158e3333f4339b
6
+ metadata.gz: 984f3cda6b880f76f9c1bf80af230cad77ec137fa3e1279948ce540468a7a05f14f3a1ccc7d6dff65a300eb762c86c2c65cd89caba4b670072906db513a7469c
7
+ data.tar.gz: cd6b613f7e3ab607e07bb40acdcb39bac48445bcc79ab897e4017f4e7e2c42179d6fba41ed6333b50127e93372228a2b22bfbd18d1bc2ce20de1b2e58eb70e13
@@ -107,13 +107,14 @@ module Spree
107
107
  def taxons_tree(root_taxon, current_taxon, max_level = 1)
108
108
  return '' if max_level < 1 || root_taxon.children.empty?
109
109
  content_tag :ul, class: 'taxons-list' do
110
- root_taxon.children.map do |taxon|
110
+ taxons = root_taxon.children.map do |taxon|
111
111
  css_class = (current_taxon && current_taxon.self_and_ancestors.include?(taxon)) ? 'current' : nil
112
112
  content_tag :li, class: css_class do
113
113
  link_to(taxon.name, seo_url(taxon)) +
114
114
  taxons_tree(taxon, current_taxon, max_level - 1)
115
115
  end
116
- end.join("\n").html_safe
116
+ end
117
+ safe_join(taxons, "\n")
117
118
  end
118
119
  end
119
120
 
@@ -5,7 +5,7 @@ module Spree
5
5
  end
6
6
 
7
7
  def self.solidus_version
8
- "1.2.0"
8
+ "1.2.1"
9
9
  end
10
10
 
11
11
  def self.solidus_gem_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: 1.2.0
4
+ version: 1.2.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-01-26 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant