spree_frontend 3.3.0.rc1 → 3.3.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spree/frontend.js +0 -1
- data/app/assets/javascripts/spree/frontend/checkout/address.js.coffee +0 -2
- data/app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss +1 -1
- data/app/controllers/spree/orders_controller.rb +17 -15
- data/app/helpers/spree/frontend_helper.rb +0 -5
- data/app/helpers/spree/store_helper.rb +5 -0
- data/app/views/spree/address/_form.html.erb +12 -10
- data/app/views/spree/checkout/edit.html.erb +1 -5
- data/app/views/spree/products/_product.html.erb +22 -0
- data/app/views/spree/shared/_header.html.erb +1 -1
- data/app/views/spree/shared/_order_details.html.erb +1 -3
- data/app/views/spree/{payments → shared}/_payment.html.erb +2 -0
- data/app/views/spree/shared/_products.html.erb +1 -25
- data/app/views/spree/shared/_search.html.erb +1 -2
- data/config/routes.rb +4 -0
- data/lib/spree/frontend/engine.rb +0 -1
- data/spree_frontend.gemspec +1 -2
- metadata +10 -139
- data/app/views/spree/store/cart_link.html.erb +0 -1
- data/config/initializers/spree.rb +0 -2
- data/lib/tasks/rake_util.rb +0 -19
- data/lib/tasks/taxon.rake +0 -14
- data/spec/controllers/controller_extension_spec.rb +0 -126
- data/spec/controllers/controller_helpers_spec.rb +0 -122
- data/spec/controllers/spree/checkout_controller_spec.rb +0 -547
- data/spec/controllers/spree/checkout_controller_with_views_spec.rb +0 -36
- data/spec/controllers/spree/content_controller_spec.rb +0 -12
- data/spec/controllers/spree/current_order_tracking_spec.rb +0 -44
- data/spec/controllers/spree/home_controller_spec.rb +0 -47
- data/spec/controllers/spree/orders_controller_ability_spec.rb +0 -96
- data/spec/controllers/spree/orders_controller_spec.rb +0 -134
- data/spec/controllers/spree/orders_controller_transitions_spec.rb +0 -31
- data/spec/controllers/spree/products_controller_spec.rb +0 -87
- data/spec/controllers/spree/taxons_controller_spec.rb +0 -12
- data/spec/features/address_spec.rb +0 -93
- data/spec/features/automatic_promotion_adjustments_spec.rb +0 -47
- data/spec/features/caching/products_spec.rb +0 -59
- data/spec/features/caching/taxons_spec.rb +0 -22
- data/spec/features/cart_spec.rb +0 -132
- data/spec/features/checkout_spec.rb +0 -723
- data/spec/features/checkout_unshippable_spec.rb +0 -34
- data/spec/features/coupon_code_spec.rb +0 -88
- data/spec/features/currency_spec.rb +0 -18
- data/spec/features/delivery_spec.rb +0 -64
- data/spec/features/free_shipping_promotions_spec.rb +0 -59
- data/spec/features/locale_spec.rb +0 -60
- data/spec/features/microdata_spec.rb +0 -0
- data/spec/features/order_spec.rb +0 -107
- data/spec/features/page_promotions_spec.rb +0 -36
- data/spec/features/products_spec.rb +0 -345
- data/spec/features/taxons_spec.rb +0 -147
- data/spec/features/template_rendering_spec.rb +0 -19
- data/spec/fixtures/thinking-cat.jpg +0 -0
- data/spec/helpers/frontend_helper_spec.rb +0 -57
- data/spec/helpers/taxons_helper_spec.rb +0 -17
- data/spec/spec_helper.rb +0 -128
- data/spec/support/shared_contexts/checkout_setup.rb +0 -10
- data/spec/support/shared_contexts/custom_products.rb +0 -25
- data/spec/support/shared_contexts/product_prototypes.rb +0 -30
- data/spec/views/spree/checkout/_summary_spec.rb +0 -11
- data/vendor/assets/javascripts/jquery.validate/additional-methods.min.js +0 -12
- data/vendor/assets/javascripts/jquery.validate/jquery.validate.min.js +0 -12
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ar.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_bg.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ca.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_cs.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_da.js +0 -22
- data/vendor/assets/javascripts/jquery.validate/localization/messages_de.js +0 -22
- data/vendor/assets/javascripts/jquery.validate/localization/messages_el.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_es.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_et.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_eu.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fa.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fi.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fr.js +0 -47
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ge.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_he.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_hr.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_hu.js +0 -24
- data/vendor/assets/javascripts/jquery.validate/localization/messages_it.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ja.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ka.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_kk.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ko.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_lt.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_lv.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ms.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_nl.js +0 -35
- data/vendor/assets/javascripts/jquery.validate/localization/messages_no.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_pl.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ptbr.js +0 -24
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ptpt.js +0 -24
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ro.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ru.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_se.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_si.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sk.js +0 -22
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sl.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sr.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sv.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_th.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_tr.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_tw.js +0 -24
- data/vendor/assets/javascripts/jquery.validate/localization/messages_uk.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_vi.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_zh.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_zhtw.js +0 -26
- data/vendor/assets/javascripts/jquery.validate/localization/methods_de.js +0 -12
- data/vendor/assets/javascripts/jquery.validate/localization/methods_nl.js +0 -9
- data/vendor/assets/javascripts/jquery.validate/localization/methods_pt.js +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a518b3fbfbac0cb85b929063767fd585fcdbc6b
|
4
|
+
data.tar.gz: 6adce459b71e99b0e8f27a2a29ae9093c6453321
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4395c713444b940fe67dea5a149e4a32215c210ca95a0db1c8c1cc69935b5177396d371cfc914ac9640419a83f9a1fbfe4f1e6aa3103b5286dd42e219d8474d
|
7
|
+
data.tar.gz: ef7b18f157fb06feeeaab065195f7def16c34ab909256515ad2116c8849112c9725a58d36fd93e41fa7f1ffdc34b4599b75c70c0335476b71eb702290092408f
|
@@ -47,7 +47,7 @@
|
|
47
47
|
// -- Spree Layout Custom Rules -------------------------
|
48
48
|
|
49
49
|
.alert-notice { @extend .alert-success; }
|
50
|
-
.alert-error
|
50
|
+
.alert-error { @extend .alert-danger; }
|
51
51
|
.alert-alert { @extend .alert-info; }
|
52
52
|
|
53
53
|
.product-body {
|
@@ -82,6 +82,8 @@ module Spree
|
|
82
82
|
redirect_to spree.cart_path
|
83
83
|
end
|
84
84
|
|
85
|
+
private
|
86
|
+
|
85
87
|
def accurate_title
|
86
88
|
if @order && @order.completed?
|
87
89
|
Spree.t(:order_number, number: @order.number)
|
@@ -94,29 +96,29 @@ module Spree
|
|
94
96
|
order = Spree::Order.find_by(number: params[:id]) if params[:id].present?
|
95
97
|
order = current_order unless order
|
96
98
|
|
97
|
-
if order
|
99
|
+
if order && action_name.to_sym == :show
|
100
|
+
authorize! :show, order, cookies.signed[:guest_token]
|
101
|
+
elsif order
|
98
102
|
authorize! :edit, order, cookies.signed[:guest_token]
|
99
103
|
else
|
100
104
|
authorize! :create, Spree::Order
|
101
105
|
end
|
102
106
|
end
|
103
107
|
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
else
|
110
|
-
{}
|
111
|
-
end
|
108
|
+
def order_params
|
109
|
+
if params[:order]
|
110
|
+
params[:order].permit(*permitted_order_attributes)
|
111
|
+
else
|
112
|
+
{}
|
112
113
|
end
|
114
|
+
end
|
113
115
|
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
end
|
116
|
+
def assign_order_with_lock
|
117
|
+
@order = current_order(lock: true)
|
118
|
+
unless @order
|
119
|
+
flash[:error] = Spree.t(:order_not_found)
|
120
|
+
redirect_to root_path and return
|
120
121
|
end
|
122
|
+
end
|
121
123
|
end
|
122
124
|
end
|
@@ -76,11 +76,6 @@ module Spree
|
|
76
76
|
link_to text.html_safe, spree.cart_path, class: "cart-info #{css_class}"
|
77
77
|
end
|
78
78
|
|
79
|
-
# helper to determine if its appropriate to show the store menu
|
80
|
-
def store_menu?
|
81
|
-
%w{thank_you}.exclude? params[:action]
|
82
|
-
end
|
83
|
-
|
84
79
|
def taxons_tree(root_taxon, current_taxon, max_level = 1)
|
85
80
|
return '' if max_level < 1 || root_taxon.leaf?
|
86
81
|
content_tag :div, class: 'list-group' do
|
@@ -2,6 +2,11 @@
|
|
2
2
|
module Spree
|
3
3
|
module StoreHelper
|
4
4
|
def cache_key_for_taxons
|
5
|
+
ActiveSupport::Deprecation.warn(<<-EOS, caller)
|
6
|
+
cache_key_for_taxons is deprecated. Rails >= 5 has built-in support for collection cache keys.
|
7
|
+
Instead in your view use:
|
8
|
+
cache [I18n.locale, @taxons] do
|
9
|
+
EOS
|
5
10
|
max_updated_at = @taxons.maximum(:updated_at).to_i
|
6
11
|
parts = [@taxon.try(:id), max_updated_at].compact.join("-")
|
7
12
|
"#{I18n.locale}/taxons/#{parts}"
|
@@ -5,13 +5,13 @@
|
|
5
5
|
<%= form.label :firstname do %>
|
6
6
|
<%= Spree.t(:first_name) %><abbr class="required" title="required">*</abbr>
|
7
7
|
<% end %>
|
8
|
-
<%= form.text_field :firstname, class: 'form-control required
|
8
|
+
<%= form.text_field :firstname, class: 'form-control', required: true %>
|
9
9
|
</p>
|
10
10
|
<p class="form-group" id=<%="#{address_id}lastname" %>>
|
11
11
|
<%= form.label :lastname do %>
|
12
12
|
<%= Spree.t(:last_name) %><abbr class="required" title="required">*</abbr>
|
13
13
|
<% end %>
|
14
|
-
<%= form.text_field :lastname, class: 'form-control required
|
14
|
+
<%= form.text_field :lastname, class: 'form-control', required: true %>
|
15
15
|
</p>
|
16
16
|
<% if Spree::Config[:company] %>
|
17
17
|
<p class="form-group" id=<%="#{address_id}company" %>>
|
@@ -23,7 +23,7 @@
|
|
23
23
|
<%= form.label :address1 do %>
|
24
24
|
<%= Spree.t(:street_address) %><abbr class="required" title="required">*</abbr>
|
25
25
|
<% end %>
|
26
|
-
<%= form.text_field :address1, class: 'form-control
|
26
|
+
<%= form.text_field :address1, class: 'form-control required' %>
|
27
27
|
</p>
|
28
28
|
<p class="form-group" id=<%="#{address_id}address2" %>>
|
29
29
|
<%= form.label :address2, Spree.t(:street_address_2) %>
|
@@ -33,14 +33,14 @@
|
|
33
33
|
<%= form.label :city do %>
|
34
34
|
<%= Spree.t(:city) %><abbr class="required" title="required">*</abbr>
|
35
35
|
<% end %>
|
36
|
-
<%= form.text_field :city, class: 'form-control required
|
36
|
+
<%= form.text_field :city, class: 'form-control', required: true %>
|
37
37
|
</p>
|
38
38
|
<p class="form-group" id=<%="#{address_id}country" %>>
|
39
39
|
<%= form.label :country_id do %>
|
40
40
|
<%= Spree.t(:country) %><abbr class="required" title="required">*</abbr>
|
41
41
|
<% end %>
|
42
42
|
<span id=<%="#{address_id}country-selection" %>>
|
43
|
-
<%= form.collection_select :country_id, available_countries, :id, :name, {}, {class: 'form-control required
|
43
|
+
<%= form.collection_select :country_id, available_countries, :id, :name, {}, { class: 'form-control', required: true } %>
|
44
44
|
</span>
|
45
45
|
</p>
|
46
46
|
|
@@ -55,16 +55,18 @@
|
|
55
55
|
form.collection_select(:state_id, address.country.states,
|
56
56
|
:id, :name,
|
57
57
|
{include_blank: true},
|
58
|
-
{class: have_states ? 'form-control
|
58
|
+
{class: have_states ? 'form-control' : 'form-control hidden',
|
59
|
+
required: have_states,
|
59
60
|
disabled: !have_states}) +
|
60
61
|
form.text_field(:state_name,
|
61
|
-
class: !have_states ? 'form-control
|
62
|
+
class: !have_states ? 'form-control' : 'form-control hidden',
|
63
|
+
required: !have_states,
|
62
64
|
disabled: have_states)
|
63
65
|
].join.gsub('"', "'").gsub("\n", "")
|
64
66
|
%>
|
65
67
|
</p>
|
66
68
|
<noscript>
|
67
|
-
<%= form.text_field :state_name, class: 'form-control required
|
69
|
+
<%= form.text_field :state_name, class: 'form-control', required: true %>
|
68
70
|
</noscript>
|
69
71
|
<% end %>
|
70
72
|
|
@@ -72,13 +74,13 @@
|
|
72
74
|
<%= form.label :zipcode do %>
|
73
75
|
<%= Spree.t(:zip) %><% if address.require_zipcode? %><abbr class="required" title="required">*</abbr><% end %>
|
74
76
|
<% end %>
|
75
|
-
<%= form.text_field :zipcode, class:
|
77
|
+
<%= form.text_field :zipcode, class: 'form-control', required: address.require_zipcode? %>
|
76
78
|
</p>
|
77
79
|
<p class="form-group" id=<%="#{address_id}phone" %>>
|
78
80
|
<%= form.label :phone do %>
|
79
81
|
<%= Spree.t(:phone) %><% if address.require_phone? %><abbr class="required" title="required">*</abbr><% end %>
|
80
82
|
<% end %>
|
81
|
-
<%= form.phone_field :phone, class:
|
83
|
+
<%= form.phone_field :phone, class: 'form-control', required: address.require_phone? %>
|
82
84
|
</p>
|
83
85
|
<% if Spree::Config[:alternative_shipping_phone] %>
|
84
86
|
<p class="form-group" id=<%="#{address_id}altphone" %>>
|
@@ -23,7 +23,7 @@
|
|
23
23
|
<div class="panel-body">
|
24
24
|
<div class="form-group">
|
25
25
|
<%= form.label :email %>
|
26
|
-
<%= form.
|
26
|
+
<%= form.email_field :email, class: 'form-control', required: true %>
|
27
27
|
</div>
|
28
28
|
</div>
|
29
29
|
</div>
|
@@ -44,7 +44,3 @@
|
|
44
44
|
Spree.current_order_id = "<%= @order.number %>"
|
45
45
|
Spree.current_order_token = "<%= @order.guest_token %>"
|
46
46
|
</script>
|
47
|
-
|
48
|
-
<% if I18n.locale != :en %>
|
49
|
-
<%= javascript_include_tag 'jquery.validate/localization/messages_' + I18n.locale.to_s.downcase.gsub('-', '') %>
|
50
|
-
<% end %>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<% url = spree.product_path(product, taxon_id: taxon.try(:id)) %>
|
2
|
+
<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">
|
3
|
+
<div class="panel panel-default">
|
4
|
+
<% cache(taxon.present? ? [I18n.locale, current_currency, taxon, product] : cache_key_for_product(product)) do %>
|
5
|
+
<div class="panel-body text-center product-body">
|
6
|
+
<%= link_to url, itemprop: "url" do %>
|
7
|
+
<%= small_image(product, itemprop: "image") %><br/>
|
8
|
+
<%= content_tag(:span, truncate(product.name, length: 50), class: 'info', itemprop: "name", title: product.name) %>
|
9
|
+
<% end %>
|
10
|
+
<br/>
|
11
|
+
</div>
|
12
|
+
<div class="panel-footer text-center">
|
13
|
+
<span itemprop="offers" itemscope itemtype="https://schema.org/Offer">
|
14
|
+
<span class="price selling lead" itemprop="price" content="<%= product.price_in(current_currency).amount.to_d %>">
|
15
|
+
<%= display_price(product) %>
|
16
|
+
</span>
|
17
|
+
<span itemprop="priceCurrency" content="<%= current_currency %>"></span>
|
18
|
+
</span>
|
19
|
+
</div>
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
@@ -29,9 +29,7 @@
|
|
29
29
|
<div class="col-md-3 col-sm-3 col-xs-6" data-hook="order-payment">
|
30
30
|
<h4><%= Spree.t(:payment_information) %> <%= link_to "(#{Spree.t(:edit)})", checkout_state_path(:payment) unless order.completed? %></h4>
|
31
31
|
<div class="payment-info">
|
32
|
-
|
33
|
-
<%= render payment %><br/>
|
34
|
-
<% end %>
|
32
|
+
<%= render collection: order.payments.valid, partial: 'spree/shared/payment' %>
|
35
33
|
</div>
|
36
34
|
</div>
|
37
35
|
<% end %>
|
@@ -18,31 +18,7 @@
|
|
18
18
|
|
19
19
|
<% if products.any? %>
|
20
20
|
<div id="products" class="row" data-hook>
|
21
|
-
|
22
|
-
<% url = spree.product_path(product, taxon_id: @taxon.try(:id)) %>
|
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
|
-
<div class="panel panel-default">
|
25
|
-
<% cache(@taxon.present? ? [I18n.locale, current_currency, @taxon, product] : cache_key_for_product(product)) do %>
|
26
|
-
<div class="panel-body text-center product-body">
|
27
|
-
<%= link_to url, itemprop: "url" do %>
|
28
|
-
<%= small_image(product, itemprop: "image") %><br/>
|
29
|
-
<%= content_tag(:span, truncate(product.name, length: 50), class: 'info', itemprop: "name", title: product.name) %>
|
30
|
-
<% end %>
|
31
|
-
<br/>
|
32
|
-
</div>
|
33
|
-
<div class="panel-footer text-center">
|
34
|
-
<span itemprop="offers" itemscope itemtype="https://schema.org/Offer">
|
35
|
-
<span class="price selling lead" itemprop="price" content="<%= product.price_in(current_currency).amount.to_d %>">
|
36
|
-
<%= display_price(product) %>
|
37
|
-
</span>
|
38
|
-
<span itemprop="priceCurrency" content="<%= current_currency %>"></span>
|
39
|
-
</span>
|
40
|
-
</div>
|
41
|
-
<% end %>
|
42
|
-
</div>
|
43
|
-
</div>
|
44
|
-
<% end %>
|
45
|
-
<% reset_cycle("classes") %>
|
21
|
+
<%= render partial: 'spree/products/product', collection: products, locals: { taxon: @taxon } %>
|
46
22
|
</div>
|
47
23
|
<% end %>
|
48
24
|
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
|
2
|
-
|
3
2
|
<%= form_tag spree.products_path, method: :get, class: "navbar-form" do %>
|
4
3
|
<div class="form-group">
|
5
|
-
<% cache
|
4
|
+
<% cache [I18n.locale, @taxons] do %>
|
6
5
|
<%= select_tag :taxon,
|
7
6
|
options_for_select([[Spree.t(:all_departments), '']] +
|
8
7
|
@taxons.map {|t| [t.name, t.id]},
|
data/config/routes.rb
CHANGED
data/spree_frontend.gemspec
CHANGED
@@ -15,8 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.homepage = 'https://spreecommerce.com'
|
16
16
|
s.license = 'BSD-3-Clause'
|
17
17
|
|
18
|
-
s.files = `git ls-files`.split("\n")
|
19
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.files = `git ls-files`.split("\n").reject { |f| f.match(/^spec/) }
|
20
19
|
s.require_path = 'lib'
|
21
20
|
s.requirements << 'none'
|
22
21
|
|
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.3.0.
|
4
|
+
version: 3.3.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-28 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.3.0.
|
19
|
+
version: 3.3.0.rc2
|
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.3.0.
|
26
|
+
version: 3.3.0.rc2
|
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.3.0.
|
33
|
+
version: 3.3.0.rc2
|
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.3.0.
|
40
|
+
version: 3.3.0.rc2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bootstrap-sass
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,8 +185,8 @@ files:
|
|
185
185
|
- app/views/spree/orders/_line_item.html.erb
|
186
186
|
- app/views/spree/orders/edit.html.erb
|
187
187
|
- app/views/spree/orders/show.html.erb
|
188
|
-
- app/views/spree/payments/_payment.html.erb
|
189
188
|
- app/views/spree/products/_cart_form.html.erb
|
189
|
+
- app/views/spree/products/_product.html.erb
|
190
190
|
- app/views/spree/products/_promotions.html.erb
|
191
191
|
- app/views/spree/products/_properties.html.erb
|
192
192
|
- app/views/spree/products/_taxons.html.erb
|
@@ -208,6 +208,7 @@ files:
|
|
208
208
|
- app/views/spree/shared/_main_nav_bar.html.erb
|
209
209
|
- app/views/spree/shared/_nav_bar.html.erb
|
210
210
|
- app/views/spree/shared/_order_details.html.erb
|
211
|
+
- app/views/spree/shared/_payment.html.erb
|
211
212
|
- app/views/spree/shared/_products.html.erb
|
212
213
|
- app/views/spree/shared/_search.html.erb
|
213
214
|
- app/views/spree/shared/_shipment_tracking.html.erb
|
@@ -216,109 +217,17 @@ files:
|
|
216
217
|
- app/views/spree/shared/_translations.html.erb
|
217
218
|
- app/views/spree/shared/forbidden.html.erb
|
218
219
|
- app/views/spree/shared/unauthorized.html.erb
|
219
|
-
- app/views/spree/store/cart_link.html.erb
|
220
220
|
- app/views/spree/taxons/_taxon.html.erb
|
221
221
|
- app/views/spree/taxons/show.html.erb
|
222
222
|
- config/initializers/assets.rb
|
223
223
|
- config/initializers/canonical_rails.rb
|
224
|
-
- config/initializers/spree.rb
|
225
224
|
- config/routes.rb
|
226
225
|
- lib/spree/frontend.rb
|
227
226
|
- lib/spree/frontend/engine.rb
|
228
227
|
- lib/spree/frontend/middleware/seo_assist.rb
|
229
228
|
- lib/spree_frontend.rb
|
230
|
-
- lib/tasks/rake_util.rb
|
231
|
-
- lib/tasks/taxon.rake
|
232
229
|
- script/rails
|
233
|
-
- spec/controllers/controller_extension_spec.rb
|
234
|
-
- spec/controllers/controller_helpers_spec.rb
|
235
|
-
- spec/controllers/spree/checkout_controller_spec.rb
|
236
|
-
- spec/controllers/spree/checkout_controller_with_views_spec.rb
|
237
|
-
- spec/controllers/spree/content_controller_spec.rb
|
238
|
-
- spec/controllers/spree/current_order_tracking_spec.rb
|
239
|
-
- spec/controllers/spree/home_controller_spec.rb
|
240
|
-
- spec/controllers/spree/orders_controller_ability_spec.rb
|
241
|
-
- spec/controllers/spree/orders_controller_spec.rb
|
242
|
-
- spec/controllers/spree/orders_controller_transitions_spec.rb
|
243
|
-
- spec/controllers/spree/products_controller_spec.rb
|
244
|
-
- spec/controllers/spree/taxons_controller_spec.rb
|
245
|
-
- spec/features/address_spec.rb
|
246
|
-
- spec/features/automatic_promotion_adjustments_spec.rb
|
247
|
-
- spec/features/caching/products_spec.rb
|
248
|
-
- spec/features/caching/taxons_spec.rb
|
249
|
-
- spec/features/cart_spec.rb
|
250
|
-
- spec/features/checkout_spec.rb
|
251
|
-
- spec/features/checkout_unshippable_spec.rb
|
252
|
-
- spec/features/coupon_code_spec.rb
|
253
|
-
- spec/features/currency_spec.rb
|
254
|
-
- spec/features/delivery_spec.rb
|
255
|
-
- spec/features/free_shipping_promotions_spec.rb
|
256
|
-
- spec/features/locale_spec.rb
|
257
|
-
- spec/features/microdata_spec.rb
|
258
|
-
- spec/features/order_spec.rb
|
259
|
-
- spec/features/page_promotions_spec.rb
|
260
|
-
- spec/features/products_spec.rb
|
261
|
-
- spec/features/taxons_spec.rb
|
262
|
-
- spec/features/template_rendering_spec.rb
|
263
|
-
- spec/fixtures/thinking-cat.jpg
|
264
|
-
- spec/helpers/frontend_helper_spec.rb
|
265
|
-
- spec/helpers/taxons_helper_spec.rb
|
266
|
-
- spec/spec_helper.rb
|
267
|
-
- spec/support/shared_contexts/checkout_setup.rb
|
268
|
-
- spec/support/shared_contexts/custom_products.rb
|
269
|
-
- spec/support/shared_contexts/product_prototypes.rb
|
270
|
-
- spec/views/spree/checkout/_summary_spec.rb
|
271
230
|
- spree_frontend.gemspec
|
272
|
-
- vendor/assets/javascripts/jquery.validate/additional-methods.min.js
|
273
|
-
- vendor/assets/javascripts/jquery.validate/jquery.validate.min.js
|
274
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ar.js
|
275
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_bg.js
|
276
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ca.js
|
277
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_cs.js
|
278
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_da.js
|
279
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_de.js
|
280
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_el.js
|
281
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_es.js
|
282
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_et.js
|
283
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_eu.js
|
284
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_fa.js
|
285
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_fi.js
|
286
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_fr.js
|
287
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ge.js
|
288
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_he.js
|
289
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_hr.js
|
290
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_hu.js
|
291
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_it.js
|
292
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ja.js
|
293
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ka.js
|
294
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_kk.js
|
295
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ko.js
|
296
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_lt.js
|
297
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_lv.js
|
298
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ms.js
|
299
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_nl.js
|
300
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_no.js
|
301
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_pl.js
|
302
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ptbr.js
|
303
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ptpt.js
|
304
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ro.js
|
305
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_ru.js
|
306
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_se.js
|
307
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_si.js
|
308
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_sk.js
|
309
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_sl.js
|
310
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_sr.js
|
311
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_sv.js
|
312
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_th.js
|
313
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_tr.js
|
314
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_tw.js
|
315
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_uk.js
|
316
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_vi.js
|
317
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_zh.js
|
318
|
-
- vendor/assets/javascripts/jquery.validate/localization/messages_zhtw.js
|
319
|
-
- vendor/assets/javascripts/jquery.validate/localization/methods_de.js
|
320
|
-
- vendor/assets/javascripts/jquery.validate/localization/methods_nl.js
|
321
|
-
- vendor/assets/javascripts/jquery.validate/localization/methods_pt.js
|
322
231
|
homepage: https://spreecommerce.com
|
323
232
|
licenses:
|
324
233
|
- BSD-3-Clause
|
@@ -340,46 +249,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
340
249
|
requirements:
|
341
250
|
- none
|
342
251
|
rubyforge_project:
|
343
|
-
rubygems_version: 2.6.
|
252
|
+
rubygems_version: 2.6.10
|
344
253
|
signing_key:
|
345
254
|
specification_version: 4
|
346
255
|
summary: Frontend e-commerce functionality for the Spree project.
|
347
|
-
test_files:
|
348
|
-
- spec/controllers/controller_extension_spec.rb
|
349
|
-
- spec/controllers/controller_helpers_spec.rb
|
350
|
-
- spec/controllers/spree/checkout_controller_spec.rb
|
351
|
-
- spec/controllers/spree/checkout_controller_with_views_spec.rb
|
352
|
-
- spec/controllers/spree/content_controller_spec.rb
|
353
|
-
- spec/controllers/spree/current_order_tracking_spec.rb
|
354
|
-
- spec/controllers/spree/home_controller_spec.rb
|
355
|
-
- spec/controllers/spree/orders_controller_ability_spec.rb
|
356
|
-
- spec/controllers/spree/orders_controller_spec.rb
|
357
|
-
- spec/controllers/spree/orders_controller_transitions_spec.rb
|
358
|
-
- spec/controllers/spree/products_controller_spec.rb
|
359
|
-
- spec/controllers/spree/taxons_controller_spec.rb
|
360
|
-
- spec/features/address_spec.rb
|
361
|
-
- spec/features/automatic_promotion_adjustments_spec.rb
|
362
|
-
- spec/features/caching/products_spec.rb
|
363
|
-
- spec/features/caching/taxons_spec.rb
|
364
|
-
- spec/features/cart_spec.rb
|
365
|
-
- spec/features/checkout_spec.rb
|
366
|
-
- spec/features/checkout_unshippable_spec.rb
|
367
|
-
- spec/features/coupon_code_spec.rb
|
368
|
-
- spec/features/currency_spec.rb
|
369
|
-
- spec/features/delivery_spec.rb
|
370
|
-
- spec/features/free_shipping_promotions_spec.rb
|
371
|
-
- spec/features/locale_spec.rb
|
372
|
-
- spec/features/microdata_spec.rb
|
373
|
-
- spec/features/order_spec.rb
|
374
|
-
- spec/features/page_promotions_spec.rb
|
375
|
-
- spec/features/products_spec.rb
|
376
|
-
- spec/features/taxons_spec.rb
|
377
|
-
- spec/features/template_rendering_spec.rb
|
378
|
-
- spec/fixtures/thinking-cat.jpg
|
379
|
-
- spec/helpers/frontend_helper_spec.rb
|
380
|
-
- spec/helpers/taxons_helper_spec.rb
|
381
|
-
- spec/spec_helper.rb
|
382
|
-
- spec/support/shared_contexts/checkout_setup.rb
|
383
|
-
- spec/support/shared_contexts/custom_products.rb
|
384
|
-
- spec/support/shared_contexts/product_prototypes.rb
|
385
|
-
- spec/views/spree/checkout/_summary_spec.rb
|
256
|
+
test_files: []
|