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
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: TR (Turkish; Türkçe)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Bu alanın doldurulması zorunludur.",
|
8
|
-
remote: "Lütfen bu alanı düzeltin.",
|
9
|
-
email: "Lütfen geçerli bir e-posta adresi giriniz.",
|
10
|
-
url: "Lütfen geçerli bir web adresi (URL) giriniz.",
|
11
|
-
date: "Lütfen geçerli bir tarih giriniz.",
|
12
|
-
dateISO: "Lütfen geçerli bir tarih giriniz(ISO formatında)",
|
13
|
-
number: "Lütfen geçerli bir sayı giriniz.",
|
14
|
-
digits: "Lütfen sadece sayısal karakterler giriniz.",
|
15
|
-
creditcard: "Lütfen geçerli bir kredi kartı giriniz.",
|
16
|
-
equalTo: "Lütfen aynı değeri tekrar giriniz.",
|
17
|
-
accept: "Lütfen geçerli uzantıya sahip bir değer giriniz.",
|
18
|
-
maxlength: $.validator.format("Lütfen en fazla {0} karakter uzunluğunda bir değer giriniz."),
|
19
|
-
minlength: $.validator.format("Lütfen en az {0} karakter uzunluğunda bir değer giriniz."),
|
20
|
-
rangelength: $.validator.format("Lütfen en az {0} ve en fazla {1} uzunluğunda bir değer giriniz."),
|
21
|
-
range: $.validator.format("Lütfen {0} ile {1} arasında bir değer giriniz."),
|
22
|
-
max: $.validator.format("Lütfen {0} değerine eşit ya da daha küçük bir değer giriniz."),
|
23
|
-
min: $.validator.format("Lütfen {0} değerine eşit ya da daha büyük bir değer giriniz.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Language: TW (Taiwan - Traditional Chinese)
|
4
|
-
* Author: Mr.BB <Boris Yang>
|
5
|
-
*/
|
6
|
-
jQuery.extend(jQuery.validator.messages, {
|
7
|
-
required: "必填",
|
8
|
-
remote: "請修正此欄位",
|
9
|
-
email: "請輸入正確的電子信箱",
|
10
|
-
url: "請輸入合法的URL",
|
11
|
-
date: "請輸入合法的日期",
|
12
|
-
dateISO: "請輸入合法的日期 (ISO).",
|
13
|
-
number: "請輸入數字",
|
14
|
-
digits: "請輸入整數",
|
15
|
-
creditcard: "請輸入合法的信用卡號碼",
|
16
|
-
equalTo: "請重複輸入一次",
|
17
|
-
accept: "請輸入有效的後缀字串",
|
18
|
-
maxlength: jQuery.validator.format("請輸入長度不大於{0} 的字串"),
|
19
|
-
minlength: jQuery.validator.format("請輸入長度不小於 {0} 的字串"),
|
20
|
-
rangelength: jQuery.validator.format("請輸入長度介於 {0} 和 {1} 之間的字串"),
|
21
|
-
range: jQuery.validator.format("請輸入介於 {0} 和 {1} 之間的數值"),
|
22
|
-
max: jQuery.validator.format("請輸入不大於 {0} 的數值"),
|
23
|
-
min: jQuery.validator.format("請輸入不小於 {0} 的數值")
|
24
|
-
});
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: UK (Ukrainian; українська мова)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Це поле необхідно заповнити.",
|
8
|
-
remote: "Будь ласка, введіть правильне значення.",
|
9
|
-
email: "Будь ласка, введіть коректну адресу електронної пошти.",
|
10
|
-
url: "Будь ласка, введіть коректний URL.",
|
11
|
-
date: "Будь ласка, введіть коректну дату.",
|
12
|
-
dateISO: "Будь ласка, введіть коректну дату у форматі ISO.",
|
13
|
-
number: "Будь ласка, введіть число.",
|
14
|
-
digits: "Вводите потрібно лише цифри.",
|
15
|
-
creditcard: "Будь ласка, введіть правильний номер кредитної карти.",
|
16
|
-
equalTo: "Будь ласка, введіть таке ж значення ще раз.",
|
17
|
-
accept: "Будь ласка, виберіть файл з правильним розширенням.",
|
18
|
-
maxlength: $.validator.format("Будь ласка, введіть не більше {0} символів."),
|
19
|
-
minlength: $.validator.format("Будь ласка, введіть не менше {0} символів."),
|
20
|
-
rangelength: $.validator.format("Будь ласка, введіть значення довжиною від {0} до {1} символів."),
|
21
|
-
range: $.validator.format("Будь ласка, введіть число від {0} до {1}."),
|
22
|
-
max: $.validator.format("Будь ласка, введіть число, менше або рівно {0}."),
|
23
|
-
min: $.validator.format("Будь ласка, введіть число, більше або рівно {0}.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: VI (Vietnamese; Tiếng Việt)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Hãy nhập.",
|
8
|
-
remote: "Hãy sửa cho đúng.",
|
9
|
-
email: "Hãy nhập email.",
|
10
|
-
url: "Hãy nhập URL.",
|
11
|
-
date: "Hãy nhập ngày.",
|
12
|
-
dateISO: "Hãy nhập ngày (ISO).",
|
13
|
-
number: "Hãy nhập số.",
|
14
|
-
digits: "Hãy nhập chữ số.",
|
15
|
-
creditcard: "Hãy nhập số thẻ tín dụng.",
|
16
|
-
equalTo: "Hãy nhập thêm lần nữa.",
|
17
|
-
accept: "Phần mở rộng không đúng.",
|
18
|
-
maxlength: $.format("Hãy nhập từ {0} kí tự trở xuống."),
|
19
|
-
minlength: $.format("Hãy nhập từ {0} kí tự trở lên."),
|
20
|
-
rangelength: $.format("Hãy nhập từ {0} đến {1} kí tự."),
|
21
|
-
range: $.format("Hãy nhập từ {0} đến {1}."),
|
22
|
-
max: $.format("Hãy nhập từ {0} trở xuống."),
|
23
|
-
min: $.format("Hãy nhập từ {1} trở lên.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "必选字段",
|
8
|
-
remote: "请修正该字段",
|
9
|
-
email: "请输入正确格式的电子邮件",
|
10
|
-
url: "请输入合法的网址",
|
11
|
-
date: "请输入合法的日期",
|
12
|
-
dateISO: "请输入合法的日期 (ISO).",
|
13
|
-
number: "请输入合法的数字",
|
14
|
-
digits: "只能输入整数",
|
15
|
-
creditcard: "请输入合法的信用卡号",
|
16
|
-
equalTo: "请再次输入相同的值",
|
17
|
-
accept: "请输入拥有合法后缀名的字符串",
|
18
|
-
maxlength: $.validator.format("请输入一个长度最多是 {0} 的字符串"),
|
19
|
-
minlength: $.validator.format("请输入一个长度最少是 {0} 的字符串"),
|
20
|
-
rangelength: $.validator.format("请输入一个长度介于 {0} 和 {1} 之间的字符串"),
|
21
|
-
range: $.validator.format("请输入一个介于 {0} 和 {1} 之间的值"),
|
22
|
-
max: $.validator.format("请输入一个最大为 {0} 的值"),
|
23
|
-
min: $.validator.format("请输入一个最小为 {0} 的值")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
|
4
|
-
* Region: TW (Taiwan)
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
$.extend($.validator.messages, {
|
8
|
-
required: "必填",
|
9
|
-
remote: "請修正此欄位",
|
10
|
-
email: "請輸入正確的電子信箱",
|
11
|
-
url: "請輸入合法的URL",
|
12
|
-
date: "請輸入合法的日期",
|
13
|
-
dateISO: "請輸入合法的日期 (ISO).",
|
14
|
-
number: "請輸入數字",
|
15
|
-
digits: "請輸入整數",
|
16
|
-
creditcard: "請輸入合法的信用卡號碼",
|
17
|
-
equalTo: "請重複輸入一次",
|
18
|
-
accept: "請輸入有效的後缀字串",
|
19
|
-
maxlength: $.validator.format("請輸入長度不大於{0} 的字串"),
|
20
|
-
minlength: $.validator.format("請輸入長度不小於 {0} 的字串"),
|
21
|
-
rangelength: $.validator.format("請輸入長度介於 {0} 和 {1} 之間的字串"),
|
22
|
-
range: $.validator.format("請輸入介於 {0} 和 {1} 之間的數值"),
|
23
|
-
max: $.validator.format("請輸入不大於 {0} 的數值"),
|
24
|
-
min: $.validator.format("請輸入不小於 {0} 的數值")
|
25
|
-
});
|
26
|
-
}(jQuery));
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Localized default methods for the jQuery validation plugin.
|
3
|
-
* Locale: DE
|
4
|
-
*/
|
5
|
-
jQuery.extend(jQuery.validator.methods, {
|
6
|
-
date: function(value, element) {
|
7
|
-
return this.optional(element) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);
|
8
|
-
},
|
9
|
-
number: function(value, element) {
|
10
|
-
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);
|
11
|
-
}
|
12
|
-
});
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Localized default methods for the jQuery validation plugin.
|
3
|
-
* Locale: NL
|
4
|
-
*/
|
5
|
-
jQuery.extend(jQuery.validator.methods, {
|
6
|
-
date: function(value, element) {
|
7
|
-
return this.optional(element) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test(value);
|
8
|
-
}
|
9
|
-
});
|