jquery-validation-rails 1.13.1 → 1.15.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +0 -1
- data/app/assets/javascripts/jquery.validate.additional-methods.js +1024 -908
- data/app/assets/javascripts/jquery.validate.js +1513 -1346
- data/app/assets/javascripts/jquery.validate.localization/messages_ar.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_bg.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_bn_BD.js +23 -0
- data/app/assets/javascripts/jquery.validate.localization/messages_ca.js +9 -19
- data/app/assets/javascripts/jquery.validate.localization/messages_cs.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_da.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_de.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_el.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_es.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_es_AR.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_es_PE.js +27 -0
- data/app/assets/javascripts/jquery.validate.localization/messages_et.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_eu.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_fa.js +10 -20
- data/app/assets/javascripts/jquery.validate.localization/messages_fi.js +12 -22
- data/app/assets/javascripts/jquery.validate.localization/messages_fr.js +12 -22
- data/app/assets/javascripts/jquery.validate.localization/messages_ge.js +23 -0
- data/app/assets/javascripts/jquery.validate.localization/messages_gl.js +10 -20
- data/app/assets/javascripts/jquery.validate.localization/messages_he.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_hr.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_hu.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_hy_AM.js +23 -0
- data/app/assets/javascripts/jquery.validate.localization/messages_id.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_is.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_it.js +23 -32
- data/app/assets/javascripts/jquery.validate.localization/messages_ja.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_ka.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_kk.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_ko.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_lt.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_lv.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_mk.js +23 -0
- data/app/assets/javascripts/jquery.validate.localization/messages_my.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_nl.js +9 -19
- data/app/assets/javascripts/jquery.validate.localization/messages_no.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_pl.js +9 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_pt_BR.js +58 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_pt_PT.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_ro.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_ru.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_si.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_sk.js +10 -20
- data/app/assets/javascripts/jquery.validate.localization/messages_sl.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_sr.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_sr_lat.js +10 -20
- data/app/assets/javascripts/jquery.validate.localization/messages_sv.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_th.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_tj.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_tr.js +9 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_uk.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_vi.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_zh.js +13 -23
- data/app/assets/javascripts/jquery.validate.localization/messages_zh_TW.js +8 -18
- data/app/assets/javascripts/jquery.validate.localization/methods_de.js +6 -16
- data/app/assets/javascripts/jquery.validate.localization/methods_es_CL.js +6 -16
- data/app/assets/javascripts/jquery.validate.localization/methods_fi.js +6 -16
- data/app/assets/javascripts/jquery.validate.localization/methods_nl.js +4 -14
- data/app/assets/javascripts/jquery.validate.localization/methods_pt.js +4 -14
- data/jquery-validation-rails.gemspec +0 -5
- data/lib/jquery/validation/rails/version.rb +1 -1
- metadata +9 -52
@@ -1,16 +1,8 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Translated default messages for the jQuery validation plugin.
|
11
3
|
* Locale: TH (Thai; ไทย)
|
12
4
|
*/
|
13
|
-
$.extend($.validator.messages, {
|
5
|
+
$.extend( $.validator.messages, {
|
14
6
|
required: "โปรดระบุ",
|
15
7
|
remote: "โปรดแก้ไขให้ถูกต้อง",
|
16
8
|
email: "โปรดระบุที่อยู่อีเมล์ที่ถูกต้อง",
|
@@ -22,12 +14,10 @@ $.extend($.validator.messages, {
|
|
22
14
|
creditcard: "โปรดระบุรหัสบัตรเครดิตที่ถูกต้อง",
|
23
15
|
equalTo: "โปรดระบุค่าเดิมอีกครั้ง",
|
24
16
|
extension: "โปรดระบุค่าที่มีส่วนขยายที่ถูกต้อง",
|
25
|
-
maxlength: $.validator.format("โปรดอย่าระบุค่าที่ยาวกว่า {0} อักขระ"),
|
26
|
-
minlength: $.validator.format("โปรดอย่าระบุค่าที่สั้นกว่า {0} อักขระ"),
|
27
|
-
rangelength: $.validator.format("โปรดอย่าระบุค่าความยาวระหว่าง {0} ถึง {1} อักขระ"),
|
28
|
-
range: $.validator.format("โปรดระบุค่าระหว่าง {0} และ {1}"),
|
29
|
-
max: $.validator.format("โปรดระบุค่าน้อยกว่าหรือเท่ากับ {0}"),
|
30
|
-
min: $.validator.format("โปรดระบุค่ามากกว่าหรือเท่ากับ {0}")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
17
|
+
maxlength: $.validator.format( "โปรดอย่าระบุค่าที่ยาวกว่า {0} อักขระ" ),
|
18
|
+
minlength: $.validator.format( "โปรดอย่าระบุค่าที่สั้นกว่า {0} อักขระ" ),
|
19
|
+
rangelength: $.validator.format( "โปรดอย่าระบุค่าความยาวระหว่าง {0} ถึง {1} อักขระ" ),
|
20
|
+
range: $.validator.format( "โปรดระบุค่าระหว่าง {0} และ {1}" ),
|
21
|
+
max: $.validator.format( "โปรดระบุค่าน้อยกว่าหรือเท่ากับ {0}" ),
|
22
|
+
min: $.validator.format( "โปรดระบุค่ามากกว่าหรือเท่ากับ {0}" )
|
23
|
+
} );
|
@@ -1,16 +1,8 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Translated default messages for the jQuery validation plugin.
|
11
3
|
* Locale: TJ (Tajikistan; Забони тоҷикӣ)
|
12
4
|
*/
|
13
|
-
$.extend($.validator.messages, {
|
5
|
+
$.extend( $.validator.messages, {
|
14
6
|
required: "Ворид кардани ин филд маҷбури аст.",
|
15
7
|
remote: "Илтимос, маълумоти саҳеҳ ворид кунед.",
|
16
8
|
email: "Илтимос, почтаи электронии саҳеҳ ворид кунед.",
|
@@ -22,12 +14,10 @@ $.extend($.validator.messages, {
|
|
22
14
|
creditcard: "Илтимос, кредит карди саҳеҳ ворид кунед.",
|
23
15
|
equalTo: "Илтимос, миқдори баробар ворид кунед.",
|
24
16
|
extension: "Илтимос, қофияи файлро дуруст интихоб кунед",
|
25
|
-
maxlength: $.validator.format("Илтимос, бештар аз {0} рамз ворид накунед."),
|
26
|
-
minlength: $.validator.format("Илтимос, камтар аз {0} рамз ворид накунед."),
|
27
|
-
rangelength: $.validator.format("Илтимос, камтар аз {0} ва зиёда аз {1} рамз ворид кунед."),
|
28
|
-
range: $.validator.format("Илтимос, аз {0} то {1} рақам зиёд ворид кунед."),
|
29
|
-
max: $.validator.format("Илтимос, бештар аз {0} рақам ворид накунед."),
|
30
|
-
min: $.validator.format("Илтимос, камтар аз {0} рақам ворид накунед.")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
17
|
+
maxlength: $.validator.format( "Илтимос, бештар аз {0} рамз ворид накунед." ),
|
18
|
+
minlength: $.validator.format( "Илтимос, камтар аз {0} рамз ворид накунед." ),
|
19
|
+
rangelength: $.validator.format( "Илтимос, камтар аз {0} ва зиёда аз {1} рамз ворид кунед." ),
|
20
|
+
range: $.validator.format( "Илтимос, аз {0} то {1} рақам зиёд ворид кунед." ),
|
21
|
+
max: $.validator.format( "Илтимос, бештар аз {0} рақам ворид накунед." ),
|
22
|
+
min: $.validator.format( "Илтимос, камтар аз {0} рақам ворид накунед." )
|
23
|
+
} );
|
@@ -1,16 +1,8 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Translated default messages for the jQuery validation plugin.
|
11
3
|
* Locale: TR (Turkish; Türkçe)
|
12
4
|
*/
|
13
|
-
$.extend($.validator.messages, {
|
5
|
+
$.extend( $.validator.messages, {
|
14
6
|
required: "Bu alanın doldurulması zorunludur.",
|
15
7
|
remote: "Lütfen bu alanı düzeltin.",
|
16
8
|
email: "Lütfen geçerli bir e-posta adresi giriniz.",
|
@@ -22,12 +14,11 @@ $.extend($.validator.messages, {
|
|
22
14
|
creditcard: "Lütfen geçerli bir kredi kartı giriniz.",
|
23
15
|
equalTo: "Lütfen aynı değeri tekrar giriniz.",
|
24
16
|
extension: "Lütfen geçerli uzantıya sahip bir değer giriniz.",
|
25
|
-
maxlength: $.validator.format("Lütfen en fazla {0} karakter uzunluğunda bir değer giriniz."),
|
26
|
-
minlength: $.validator.format("Lütfen en az {0} karakter uzunluğunda bir değer giriniz."),
|
27
|
-
rangelength: $.validator.format("Lütfen en az {0} ve en fazla {1} uzunluğunda bir değer giriniz."),
|
28
|
-
range: $.validator.format("Lütfen {0} ile {1} arasında bir değer giriniz."),
|
29
|
-
max: $.validator.format("Lütfen {0} değerine eşit ya da daha küçük bir değer giriniz."),
|
30
|
-
min: $.validator.format("Lütfen {0} değerine eşit ya da daha büyük bir değer giriniz.")
|
31
|
-
}
|
32
|
-
|
33
|
-
}));
|
17
|
+
maxlength: $.validator.format( "Lütfen en fazla {0} karakter uzunluğunda bir değer giriniz." ),
|
18
|
+
minlength: $.validator.format( "Lütfen en az {0} karakter uzunluğunda bir değer giriniz." ),
|
19
|
+
rangelength: $.validator.format( "Lütfen en az {0} ve en fazla {1} uzunluğunda bir değer giriniz." ),
|
20
|
+
range: $.validator.format( "Lütfen {0} ile {1} arasında bir değer giriniz." ),
|
21
|
+
max: $.validator.format( "Lütfen {0} değerine eşit ya da daha küçük bir değer giriniz." ),
|
22
|
+
min: $.validator.format( "Lütfen {0} değerine eşit ya da daha büyük bir değer giriniz." ),
|
23
|
+
require_from_group: "Lütfen bu alanların en az {0} tanesini doldurunuz."
|
24
|
+
} );
|
@@ -1,16 +1,8 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Translated default messages for the jQuery validation plugin.
|
11
3
|
* Locale: UK (Ukrainian; українська мова)
|
12
4
|
*/
|
13
|
-
$.extend($.validator.messages, {
|
5
|
+
$.extend( $.validator.messages, {
|
14
6
|
required: "Це поле необхідно заповнити.",
|
15
7
|
remote: "Будь ласка, введіть правильне значення.",
|
16
8
|
email: "Будь ласка, введіть коректну адресу електронної пошти.",
|
@@ -22,12 +14,10 @@ $.extend($.validator.messages, {
|
|
22
14
|
creditcard: "Будь ласка, введіть правильний номер кредитної карти.",
|
23
15
|
equalTo: "Будь ласка, введіть таке ж значення ще раз.",
|
24
16
|
extension: "Будь ласка, виберіть файл з правильним розширенням.",
|
25
|
-
maxlength: $.validator.format("Будь ласка, введіть не більше {0} символів."),
|
26
|
-
minlength: $.validator.format("Будь ласка, введіть не менше {0} символів."),
|
27
|
-
rangelength: $.validator.format("Будь ласка, введіть значення довжиною від {0} до {1} символів."),
|
28
|
-
range: $.validator.format("Будь ласка, введіть число від {0} до {1}."),
|
29
|
-
max: $.validator.format("Будь ласка, введіть число, менше або рівно {0}."),
|
30
|
-
min: $.validator.format("Будь ласка, введіть число, більше або рівно {0}.")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
17
|
+
maxlength: $.validator.format( "Будь ласка, введіть не більше {0} символів." ),
|
18
|
+
minlength: $.validator.format( "Будь ласка, введіть не менше {0} символів." ),
|
19
|
+
rangelength: $.validator.format( "Будь ласка, введіть значення довжиною від {0} до {1} символів." ),
|
20
|
+
range: $.validator.format( "Будь ласка, введіть число від {0} до {1}." ),
|
21
|
+
max: $.validator.format( "Будь ласка, введіть число, менше або рівно {0}." ),
|
22
|
+
min: $.validator.format( "Будь ласка, введіть число, більше або рівно {0}." )
|
23
|
+
} );
|
@@ -1,16 +1,8 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Translated default messages for the jQuery validation plugin.
|
11
3
|
* Locale: VI (Vietnamese; Tiếng Việt)
|
12
4
|
*/
|
13
|
-
$.extend($.validator.messages, {
|
5
|
+
$.extend( $.validator.messages, {
|
14
6
|
required: "Hãy nhập.",
|
15
7
|
remote: "Hãy sửa cho đúng.",
|
16
8
|
email: "Hãy nhập email.",
|
@@ -22,12 +14,10 @@ $.extend($.validator.messages, {
|
|
22
14
|
creditcard: "Hãy nhập số thẻ tín dụng.",
|
23
15
|
equalTo: "Hãy nhập thêm lần nữa.",
|
24
16
|
extension: "Phần mở rộng không đúng.",
|
25
|
-
maxlength: $.validator.format("Hãy nhập từ {0} kí tự trở xuống."),
|
26
|
-
minlength: $.validator.format("Hãy nhập từ {0} kí tự trở lên."),
|
27
|
-
rangelength: $.validator.format("Hãy nhập từ {0} đến {1} kí tự."),
|
28
|
-
range: $.validator.format("Hãy nhập từ {0} đến {1}."),
|
29
|
-
max: $.validator.format("Hãy nhập từ {0} trở xuống."),
|
30
|
-
min: $.validator.format("Hãy nhập từ {1} trở lên.")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
17
|
+
maxlength: $.validator.format( "Hãy nhập từ {0} kí tự trở xuống." ),
|
18
|
+
minlength: $.validator.format( "Hãy nhập từ {0} kí tự trở lên." ),
|
19
|
+
rangelength: $.validator.format( "Hãy nhập từ {0} đến {1} kí tự." ),
|
20
|
+
range: $.validator.format( "Hãy nhập từ {0} đến {1}." ),
|
21
|
+
max: $.validator.format( "Hãy nhập từ {0} trở xuống." ),
|
22
|
+
min: $.validator.format( "Hãy nhập từ {1} trở lên." )
|
23
|
+
} );
|
@@ -1,33 +1,23 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Translated default messages for the jQuery validation plugin.
|
11
3
|
* Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
|
12
4
|
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "
|
15
|
-
remote: "
|
16
|
-
email: "
|
5
|
+
$.extend( $.validator.messages, {
|
6
|
+
required: "这是必填字段",
|
7
|
+
remote: "请修正此字段",
|
8
|
+
email: "请输入有效的电子邮件地址",
|
17
9
|
url: "请输入有效的网址",
|
18
10
|
date: "请输入有效的日期",
|
19
11
|
dateISO: "请输入有效的日期 (YYYY-MM-DD)",
|
20
|
-
number: "
|
21
|
-
digits: "
|
12
|
+
number: "请输入有效的数字",
|
13
|
+
digits: "只能输入数字",
|
22
14
|
creditcard: "请输入有效的信用卡号码",
|
23
15
|
equalTo: "你的输入不相同",
|
24
16
|
extension: "请输入有效的后缀",
|
25
|
-
maxlength: $.validator.format("
|
26
|
-
minlength: $.validator.format("
|
27
|
-
rangelength: $.validator.format("
|
28
|
-
range: $.validator.format("
|
29
|
-
max: $.validator.format("请输入不大于 {0} 的数值"),
|
30
|
-
min: $.validator.format("请输入不小于 {0} 的数值")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
17
|
+
maxlength: $.validator.format( "最多可以输入 {0} 个字符" ),
|
18
|
+
minlength: $.validator.format( "最少要输入 {0} 个字符" ),
|
19
|
+
rangelength: $.validator.format( "请输入长度在 {0} 到 {1} 之间的字符串" ),
|
20
|
+
range: $.validator.format( "请输入范围在 {0} 到 {1} 之间的数值" ),
|
21
|
+
max: $.validator.format( "请输入不大于 {0} 的数值" ),
|
22
|
+
min: $.validator.format( "请输入不小于 {0} 的数值" )
|
23
|
+
} );
|
@@ -1,17 +1,9 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Translated default messages for the jQuery validation plugin.
|
11
3
|
* Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
|
12
4
|
* Region: TW (Taiwan)
|
13
5
|
*/
|
14
|
-
$.extend($.validator.messages, {
|
6
|
+
$.extend( $.validator.messages, {
|
15
7
|
required: "必須填寫",
|
16
8
|
remote: "請修正此欄位",
|
17
9
|
email: "請輸入有效的電子郵件",
|
@@ -23,12 +15,10 @@ $.extend($.validator.messages, {
|
|
23
15
|
creditcard: "請輸入有效的信用卡號碼",
|
24
16
|
equalTo: "請重複輸入一次",
|
25
17
|
extension: "請輸入有效的後綴",
|
26
|
-
maxlength: $.validator.format("最多 {0} 個字"),
|
27
|
-
minlength: $.validator.format("最少 {0} 個字"),
|
28
|
-
rangelength: $.validator.format("請輸入長度為 {0} 至 {1} 之間的字串"),
|
29
|
-
range: $.validator.format("請輸入 {0} 至 {1} 之間的數值"),
|
30
|
-
max: $.validator.format("請輸入不大於 {0} 的數值"),
|
31
|
-
min: $.validator.format("請輸入不小於 {0} 的數值")
|
32
|
-
});
|
33
|
-
|
34
|
-
}));
|
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
|
+
} );
|
@@ -1,22 +1,12 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Localized default methods for the jQuery validation plugin.
|
11
3
|
* Locale: DE
|
12
4
|
*/
|
13
|
-
$.extend($.validator.methods, {
|
14
|
-
date: function(value, element) {
|
15
|
-
return this.optional(element) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);
|
5
|
+
$.extend( $.validator.methods, {
|
6
|
+
date: function( value, element ) {
|
7
|
+
return this.optional( element ) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test( value );
|
16
8
|
},
|
17
|
-
number: function(value, element) {
|
18
|
-
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);
|
9
|
+
number: function( value, element ) {
|
10
|
+
return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
|
19
11
|
}
|
20
|
-
});
|
21
|
-
|
22
|
-
}));
|
12
|
+
} );
|
@@ -1,22 +1,12 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Localized default methods for the jQuery validation plugin.
|
11
3
|
* Locale: ES_CL
|
12
4
|
*/
|
13
|
-
$.extend($.validator.methods, {
|
14
|
-
date: function(value, element) {
|
15
|
-
return this.optional(element) || /^\d\d?\-\d\d?\-\d\d\d?\d?$/.test(value);
|
5
|
+
$.extend( $.validator.methods, {
|
6
|
+
date: function( value, element ) {
|
7
|
+
return this.optional( element ) || /^\d\d?\-\d\d?\-\d\d\d?\d?$/.test( value );
|
16
8
|
},
|
17
|
-
number: function(value, element) {
|
18
|
-
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);
|
9
|
+
number: function( value, element ) {
|
10
|
+
return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
|
19
11
|
}
|
20
|
-
});
|
21
|
-
|
22
|
-
}));
|
12
|
+
} );
|
@@ -1,22 +1,12 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Localized default methods for the jQuery validation plugin.
|
11
3
|
* Locale: FI
|
12
4
|
*/
|
13
|
-
$.extend($.validator.methods, {
|
14
|
-
date: function(value, element) {
|
15
|
-
return this.optional(element) || /^\d{1,2}\.\d{1,2}\.\d{4}$/.test(value);
|
5
|
+
$.extend( $.validator.methods, {
|
6
|
+
date: function( value, element ) {
|
7
|
+
return this.optional( element ) || /^\d{1,2}\.\d{1,2}\.\d{4}$/.test( value );
|
16
8
|
},
|
17
|
-
number: function(value, element) {
|
18
|
-
return this.optional(element) || /^-?(?:\d+)(?:,\d+)?$/.test(value);
|
9
|
+
number: function( value, element ) {
|
10
|
+
return this.optional( element ) || /^-?(?:\d+)(?:,\d+)?$/.test( value );
|
19
11
|
}
|
20
|
-
});
|
21
|
-
|
22
|
-
}));
|
12
|
+
} );
|
@@ -1,19 +1,9 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Localized default methods for the jQuery validation plugin.
|
11
3
|
* Locale: NL
|
12
4
|
*/
|
13
|
-
$.extend($.validator.methods, {
|
14
|
-
date: function(value, element) {
|
15
|
-
return this.optional(element) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test(value);
|
5
|
+
$.extend( $.validator.methods, {
|
6
|
+
date: function( value, element ) {
|
7
|
+
return this.optional( element ) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test( value );
|
16
8
|
}
|
17
|
-
});
|
18
|
-
|
19
|
-
}));
|
9
|
+
} );
|
@@ -1,19 +1,9 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
1
|
/*
|
10
2
|
* Localized default methods for the jQuery validation plugin.
|
11
3
|
* Locale: PT_BR
|
12
4
|
*/
|
13
|
-
$.extend($.validator.methods, {
|
14
|
-
date: function(value, element) {
|
15
|
-
return this.optional(element) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(value);
|
5
|
+
$.extend( $.validator.methods, {
|
6
|
+
date: function( value, element ) {
|
7
|
+
return this.optional( element ) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test( value );
|
16
8
|
}
|
17
|
-
});
|
18
|
-
|
19
|
-
}));
|
9
|
+
} );
|
@@ -18,9 +18,4 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
19
19
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
20
20
|
gem.require_paths = ["lib"]
|
21
|
-
|
22
|
-
gem.add_dependency "thor", "~> 0.14"
|
23
|
-
gem.add_dependency "railties", ">= 3.2", "< 5.0"
|
24
|
-
|
25
|
-
gem.add_development_dependency "bundler", "~> 1.0"
|
26
21
|
end
|
metadata
CHANGED
@@ -1,63 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-validation-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Ryan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: thor
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.14'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0.14'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: railties
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3.2'
|
34
|
-
- - "<"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: '5.0'
|
37
|
-
type: :runtime
|
38
|
-
prerelease: false
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '3.2'
|
44
|
-
- - "<"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '5.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: bundler
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '1.0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '1.0'
|
11
|
+
date: 2016-11-04 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
61
13
|
description: Integrate the jQuery Validation plugin into the Rails asset pipeline
|
62
14
|
email:
|
63
15
|
- dan@appliedawesome.com
|
@@ -75,6 +27,7 @@ files:
|
|
75
27
|
- app/assets/javascripts/jquery.validate.js
|
76
28
|
- app/assets/javascripts/jquery.validate.localization/messages_ar.js
|
77
29
|
- app/assets/javascripts/jquery.validate.localization/messages_bg.js
|
30
|
+
- app/assets/javascripts/jquery.validate.localization/messages_bn_BD.js
|
78
31
|
- app/assets/javascripts/jquery.validate.localization/messages_ca.js
|
79
32
|
- app/assets/javascripts/jquery.validate.localization/messages_cs.js
|
80
33
|
- app/assets/javascripts/jquery.validate.localization/messages_da.js
|
@@ -82,15 +35,18 @@ files:
|
|
82
35
|
- app/assets/javascripts/jquery.validate.localization/messages_el.js
|
83
36
|
- app/assets/javascripts/jquery.validate.localization/messages_es.js
|
84
37
|
- app/assets/javascripts/jquery.validate.localization/messages_es_AR.js
|
38
|
+
- app/assets/javascripts/jquery.validate.localization/messages_es_PE.js
|
85
39
|
- app/assets/javascripts/jquery.validate.localization/messages_et.js
|
86
40
|
- app/assets/javascripts/jquery.validate.localization/messages_eu.js
|
87
41
|
- app/assets/javascripts/jquery.validate.localization/messages_fa.js
|
88
42
|
- app/assets/javascripts/jquery.validate.localization/messages_fi.js
|
89
43
|
- app/assets/javascripts/jquery.validate.localization/messages_fr.js
|
44
|
+
- app/assets/javascripts/jquery.validate.localization/messages_ge.js
|
90
45
|
- app/assets/javascripts/jquery.validate.localization/messages_gl.js
|
91
46
|
- app/assets/javascripts/jquery.validate.localization/messages_he.js
|
92
47
|
- app/assets/javascripts/jquery.validate.localization/messages_hr.js
|
93
48
|
- app/assets/javascripts/jquery.validate.localization/messages_hu.js
|
49
|
+
- app/assets/javascripts/jquery.validate.localization/messages_hy_AM.js
|
94
50
|
- app/assets/javascripts/jquery.validate.localization/messages_id.js
|
95
51
|
- app/assets/javascripts/jquery.validate.localization/messages_is.js
|
96
52
|
- app/assets/javascripts/jquery.validate.localization/messages_it.js
|
@@ -100,6 +56,7 @@ files:
|
|
100
56
|
- app/assets/javascripts/jquery.validate.localization/messages_ko.js
|
101
57
|
- app/assets/javascripts/jquery.validate.localization/messages_lt.js
|
102
58
|
- app/assets/javascripts/jquery.validate.localization/messages_lv.js
|
59
|
+
- app/assets/javascripts/jquery.validate.localization/messages_mk.js
|
103
60
|
- app/assets/javascripts/jquery.validate.localization/messages_my.js
|
104
61
|
- app/assets/javascripts/jquery.validate.localization/messages_nl.js
|
105
62
|
- app/assets/javascripts/jquery.validate.localization/messages_no.js
|
@@ -151,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
108
|
version: '0'
|
152
109
|
requirements: []
|
153
110
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.5.1
|
155
112
|
signing_key:
|
156
113
|
specification_version: 4
|
157
114
|
summary: This jQuery plugin makes simple clientside form validation trivial, while
|