spree_frontend 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40fc85cba632dac884ba9fdfcbff23ed59be58fd
4
- data.tar.gz: caaadd2341bae8fa1e584fffe4a3dabae0ca4505
3
+ metadata.gz: 9847527ec24ce9c173c3c25318a971e92aa32419
4
+ data.tar.gz: e4398ba38c7062ed52ce3adddb7fac56468e96e1
5
5
  SHA512:
6
- metadata.gz: 396a16f1170a3149a2426d427091cbd45d1449dd7770c1a060350efa771a6ace7aa7a01df6d8fa9eaaf4c6b562bc34e1a2634667f7fc4ef644257225099855fb
7
- data.tar.gz: 33e0c9f2ddb532b4c0d4eb87fe0361163a3b63bdaf80ee7caf8136b5ff872a235ff21a3aee93c8795bf8f1150eecd4597f1053cbaebfbf1612264207697c286d
6
+ metadata.gz: df68a6aa898fda26ffa79e1d09b21321c5cc72fc1fe48f6741e3c45ff1affbcc1dd6a8cd90952067690d9e1fdce64dfc14020eeeea22fb8866308c34867b8d6b
7
+ data.tar.gz: 3e021266971e88a7a32baba5cd449be47cca5282b273e105e3eb6100bf59e55678c1c3dbf2ce7bc65398485b32f3594bc0835a5295567cfc7b00de8967d3ee8b
@@ -19,7 +19,7 @@
19
19
  <% if products.any? %>
20
20
  <div id="products" class="row" data-hook>
21
21
  <% products.each do |product| %>
22
- <% url = spree.product_url(product, taxon_id: @taxon.try(:id)) %>
22
+ <% url = spree.product_path(product, taxon_id: @taxon.try(:id)) %>
23
23
  <div id="product_<%= product.id %>" class="col-md-3 col-sm-6 col-xs-6 product-list-item" data-hook="products_list_item" itemscope itemtype="https://schema.org/Product">
24
24
  <div class="panel panel-default">
25
25
  <% cache(@taxon.present? ? [I18n.locale, current_currency, @taxon, product] : cache_key_for_product(product)) do %>
@@ -1,6 +1,10 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe "Cart", type: :feature, inaccessible: true do
4
+ before { Timecop.scale(100) }
5
+
6
+ after { Timecop.return }
7
+
4
8
  it "shows cart icon on non-cart pages" do
5
9
  visit spree.root_path
6
10
  expect(page).to have_selector("li#link-to-cart a", visible: true)
@@ -33,7 +33,7 @@ describe "Visiting Products", type: :feature, inaccessible: true do
33
33
  end
34
34
 
35
35
  it "correctly displays the product url via microdata" do
36
- expect(ringer.properties["url"]).to eq ["http://www.example.com/products/ruby-on-rails-ringer-t-shirt"]
36
+ expect(ringer.properties["url"]).to eq ["/products/ruby-on-rails-ringer-t-shirt"]
37
37
  end
38
38
  end
39
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-15 00:00:00.000000000 Z
11
+ date: 2016-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.0
19
+ version: 3.1.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.1.0
26
+ version: 3.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.0
33
+ version: 3.1.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.1.0
40
+ version: 3.1.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootstrap-sass
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -586,7 +586,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
586
586
  requirements:
587
587
  - none
588
588
  rubyforge_project:
589
- rubygems_version: 2.4.8
589
+ rubygems_version: 2.5.1
590
590
  signing_key:
591
591
  specification_version: 4
592
592
  summary: Frontend e-commerce functionality for the Spree project.