spree_frontend 2.0.11 → 2.0.12

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: 99393747afca53af7cbed71e2fad651be8df2fa5
4
- data.tar.gz: 8fc05b8b02ebfe80a8e67bdb88dcd83a2dba3082
3
+ metadata.gz: 2fa847a4a5021d5bf0273e95a3f2f41c2fe52846
4
+ data.tar.gz: bbb2c7ac80480fc26b8d8f2d8c6e35c89c282d36
5
5
  SHA512:
6
- metadata.gz: ec94fde232ca6bd6951dc690aa706b645782429c809a2027af395600cf4385763cc24de83016aa37be861774aea9a0c4482739d736c42a179657529c9e9d2619
7
- data.tar.gz: 00d46ac2c1dbe62cf8b9a47ff615bb07979b887894666042a2020a884ba9ad8d7a283b921d7b7aa692ad5360a0015a285f81d7a89a8f9c91ad2767c4e3fe2b03
6
+ metadata.gz: 7255f16c1e7024b436440cc349814bfd6ed265a625f15649f0d2de2c9f86984d04955405306f6f1987eb755904285573b347d8b68353f4262fdd55084110bad5
7
+ data.tar.gz: f356ffcfe671d8ed56bcfd5a2c6bf128207c47769cf8a45bb8a48abc5996e65799cdbaf1290c11984e477006a8dd98a27b343235b477dedc5338f0e3f6d6fbb0
@@ -7,7 +7,7 @@
7
7
  <ul>
8
8
  <% @product.variants_and_option_values(current_currency).each_with_index do |variant, index| %>
9
9
  <li>
10
- <%= radio_button_tag "products[#{@product.id}]", variant.id, index == 0, 'data-price' => Spree::Money.new(variant.price, with_currency: true).to_s %>
10
+ <%= radio_button_tag "products[#{@product.id}]", variant.id, index == 0, 'data-price' => variant.price_in(current_currency).money %>
11
11
  <label for="<%= ['products', @product.id, variant.id].join('_') %>">
12
12
  <span class="variant-description">
13
13
  <%= variant_options variant %>
@@ -24,7 +24,7 @@
24
24
 
25
25
  <% if @product.price_in(current_currency) and !@product.price.nil? %>
26
26
  <div data-hook="product_price" class="columns five <% if !@product.has_variants? %> alpha <% else %> omega <% end %>">
27
-
27
+
28
28
  <div id="product-price">
29
29
  <h6 class="product-section-title"><%= Spree.t(:price) %></h6>
30
30
  <div>
@@ -48,6 +48,6 @@
48
48
  <br>
49
49
  <div><span class="price selling" itemprop="price"><%= Spree.t('product_not_available_in_this_currency') %></span></div>
50
50
  </div>
51
- <% end %>
51
+ <% end %>
52
52
  </div>
53
53
  <% end %>
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: 2.0.11
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-15 00:00:00.000000000 Z
11
+ date: 2014-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.11
19
+ version: 2.0.12
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: 2.0.11
26
+ version: 2.0.12
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_api
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.0.11
33
+ version: 2.0.12
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: 2.0.11
40
+ version: 2.0.12
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jquery-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -126,16 +126,16 @@ dependencies:
126
126
  name: capybara-accessible
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: 0.2.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: 0.2.0
139
139
  description: Required dependency for Spree
140
140
  email: sean@spreecommerce.com
141
141
  executables: []
@@ -558,7 +558,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
558
558
  requirements:
559
559
  - none
560
560
  rubyforge_project: spree_frontend
561
- rubygems_version: 2.2.0
561
+ rubygems_version: 2.2.2
562
562
  signing_key:
563
563
  specification_version: 4
564
564
  summary: Frontend e-commerce functionality for the Spree project.