spree_carousels 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,10 @@ Deface::Override.new(
2
2
  virtual_path: "spree/products/show",
3
3
  partial: 'spree/products/related_products',
4
4
  insert_bottom: "#product-details",
5
+ name: 'add_product_page_carousel')
6
+
7
+ Deface::Override.new(
8
+ virtual_path: "spree/products/show",
9
+ partial: 'spree/products/related_products',
10
+ insert_bottom: "[data-hook='product_show'] .row",
5
11
  name: 'add_product_page_carousel')
@@ -4,7 +4,7 @@
4
4
  Related Products
5
5
  </div>
6
6
  <div class="carousel-products">
7
- <%= render partial: 'products/products', locals: {products: @product.related_products.map {|r| r.related_to }} %>
7
+ <%= render partial: 'spree/products/products', locals: {products: @product.related_products.map {|r| r.related_to }} %>
8
8
  </div>
9
9
  <div class="clearfix" />
10
10
  <a class="prev" href="#"><span>prev</span></a>
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_carousels'
5
- s.version = '1.2.5'
5
+ s.version = '1.2.6'
6
6
  s.summary = 'Adds carousels to spree'
7
7
  s.description = 'Adds carousel functionality to spree homepage, based on taxons'
8
8
  s.required_ruby_version = '>= 1.9.2'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_carousels
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: