jquery-validation-rails 1.16.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/jquery-validation-rails.gemspec +11 -11
- data/lib/jquery/validation/rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.validate.additional-methods.js +1015 -625
- data/vendor/assets/javascripts/jquery.validate.js +1610 -1534
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ar.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_az.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_bg.js +13 -1
- data/vendor/assets/javascripts/jquery.validate.localization/messages_bn_BD.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ca.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_cs.js +14 -1
- data/vendor/assets/javascripts/jquery.validate.localization/messages_da.js +30 -4
- data/vendor/assets/javascripts/jquery.validate.localization/messages_de.js +66 -4
- data/vendor/assets/javascripts/jquery.validate.localization/messages_el.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_es.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_es_AR.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_es_PE.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_et.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_eu.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_fa.js +19 -6
- data/vendor/assets/javascripts/jquery.validate.localization/messages_fi.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_fr.js +15 -1
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ge.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_gl.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_he.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_hr.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_hu.js +14 -1
- data/vendor/assets/javascripts/jquery.validate.localization/messages_hy_AM.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_id.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_is.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_it.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ja.js +13 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ka.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_kk.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ko.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_lt.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_lv.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_mk.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_my.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_nl.js +13 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_no.js +20 -8
- data/vendor/assets/javascripts/jquery.validate.localization/messages_pl.js +14 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_pt_BR.js +31 -16
- data/vendor/assets/javascripts/jquery.validate.localization/messages_pt_PT.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ro.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ru.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_sd.js +35 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_si.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_sk.js +14 -1
- data/vendor/assets/javascripts/jquery.validate.localization/messages_sl.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_sr.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_sr_lat.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_sv.js +15 -1
- data/vendor/assets/javascripts/jquery.validate.localization/messages_th.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_tj.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_tr.js +13 -1
- data/vendor/assets/javascripts/jquery.validate.localization/messages_uk.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_ur.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_vi.js +13 -1
- data/vendor/assets/javascripts/jquery.validate.localization/messages_zh.js +13 -0
- data/vendor/assets/javascripts/jquery.validate.localization/messages_zh_TW.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/methods_de.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/methods_es_CL.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/methods_fi.js +12 -0
- data/vendor/assets/javascripts/jquery.validate.localization/methods_it.js +24 -0
- data/vendor/assets/javascripts/jquery.validate.localization/methods_nl.js +15 -0
- data/vendor/assets/javascripts/jquery.validate.localization/methods_pt.js +12 -0
- metadata +8 -6
@@ -1,3 +1,13 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else if (typeof module === "object" && module.exports) {
|
5
|
+
module.exports = factory( require( "jquery" ) );
|
6
|
+
} else {
|
7
|
+
factory( jQuery );
|
8
|
+
}
|
9
|
+
}(function( $ ) {
|
10
|
+
|
1
11
|
/*
|
2
12
|
* Translated default messages for the jQuery validation plugin.
|
3
13
|
* Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
|
@@ -18,6 +28,9 @@ $.extend( $.validator.messages, {
|
|
18
28
|
minlength: $.validator.format( "最少要输入 {0} 个字符" ),
|
19
29
|
rangelength: $.validator.format( "请输入长度在 {0} 到 {1} 之间的字符串" ),
|
20
30
|
range: $.validator.format( "请输入范围在 {0} 到 {1} 之间的数值" ),
|
31
|
+
step: $.validator.format( "请输入 {0} 的整数倍值" ),
|
21
32
|
max: $.validator.format( "请输入不大于 {0} 的数值" ),
|
22
33
|
min: $.validator.format( "请输入不小于 {0} 的数值" )
|
23
34
|
} );
|
35
|
+
return $;
|
36
|
+
}));
|
@@ -1,3 +1,13 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else if (typeof module === "object" && module.exports) {
|
5
|
+
module.exports = factory( require( "jquery" ) );
|
6
|
+
} else {
|
7
|
+
factory( jQuery );
|
8
|
+
}
|
9
|
+
}(function( $ ) {
|
10
|
+
|
1
11
|
/*
|
2
12
|
* Translated default messages for the jQuery validation plugin.
|
3
13
|
* Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
|
@@ -22,3 +32,5 @@ $.extend( $.validator.messages, {
|
|
22
32
|
max: $.validator.format( "請輸入不大於 {0} 的數值" ),
|
23
33
|
min: $.validator.format( "請輸入不小於 {0} 的數值" )
|
24
34
|
} );
|
35
|
+
return $;
|
36
|
+
}));
|
@@ -1,3 +1,13 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else if (typeof module === "object" && module.exports) {
|
5
|
+
module.exports = factory( require( "jquery" ) );
|
6
|
+
} else {
|
7
|
+
factory( jQuery );
|
8
|
+
}
|
9
|
+
}(function( $ ) {
|
10
|
+
|
1
11
|
/*
|
2
12
|
* Localized default methods for the jQuery validation plugin.
|
3
13
|
* Locale: DE
|
@@ -10,3 +20,5 @@ $.extend( $.validator.methods, {
|
|
10
20
|
return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
|
11
21
|
}
|
12
22
|
} );
|
23
|
+
return $;
|
24
|
+
}));
|
@@ -1,3 +1,13 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else if (typeof module === "object" && module.exports) {
|
5
|
+
module.exports = factory( require( "jquery" ) );
|
6
|
+
} else {
|
7
|
+
factory( jQuery );
|
8
|
+
}
|
9
|
+
}(function( $ ) {
|
10
|
+
|
1
11
|
/*
|
2
12
|
* Localized default methods for the jQuery validation plugin.
|
3
13
|
* Locale: ES_CL
|
@@ -10,3 +20,5 @@ $.extend( $.validator.methods, {
|
|
10
20
|
return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
|
11
21
|
}
|
12
22
|
} );
|
23
|
+
return $;
|
24
|
+
}));
|
@@ -1,3 +1,13 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else if (typeof module === "object" && module.exports) {
|
5
|
+
module.exports = factory( require( "jquery" ) );
|
6
|
+
} else {
|
7
|
+
factory( jQuery );
|
8
|
+
}
|
9
|
+
}(function( $ ) {
|
10
|
+
|
1
11
|
/*
|
2
12
|
* Localized default methods for the jQuery validation plugin.
|
3
13
|
* Locale: FI
|
@@ -10,3 +20,5 @@ $.extend( $.validator.methods, {
|
|
10
20
|
return this.optional( element ) || /^-?(?:\d+)(?:,\d+)?$/.test( value );
|
11
21
|
}
|
12
22
|
} );
|
23
|
+
return $;
|
24
|
+
}));
|
@@ -0,0 +1,24 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else if (typeof module === "object" && module.exports) {
|
5
|
+
module.exports = factory( require( "jquery" ) );
|
6
|
+
} else {
|
7
|
+
factory( jQuery );
|
8
|
+
}
|
9
|
+
}(function( $ ) {
|
10
|
+
|
11
|
+
/*
|
12
|
+
* Localized default methods for the jQuery validation plugin.
|
13
|
+
* Locale: IT
|
14
|
+
*/
|
15
|
+
$.extend( $.validator.methods, {
|
16
|
+
date: function( value, element ) {
|
17
|
+
return this.optional( element ) || /^\d\d?\-\d\d?\-\d\d\d?\d?$/.test( value );
|
18
|
+
},
|
19
|
+
number: function( value, element ) {
|
20
|
+
return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
|
21
|
+
}
|
22
|
+
} );
|
23
|
+
return $;
|
24
|
+
}));
|
@@ -1,3 +1,13 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else if (typeof module === "object" && module.exports) {
|
5
|
+
module.exports = factory( require( "jquery" ) );
|
6
|
+
} else {
|
7
|
+
factory( jQuery );
|
8
|
+
}
|
9
|
+
}(function( $ ) {
|
10
|
+
|
1
11
|
/*
|
2
12
|
* Localized default methods for the jQuery validation plugin.
|
3
13
|
* Locale: NL
|
@@ -5,5 +15,10 @@
|
|
5
15
|
$.extend( $.validator.methods, {
|
6
16
|
date: function( value, element ) {
|
7
17
|
return this.optional( element ) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test( value );
|
18
|
+
},
|
19
|
+
number: function( value, element ) {
|
20
|
+
return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
|
8
21
|
}
|
9
22
|
} );
|
23
|
+
return $;
|
24
|
+
}));
|
@@ -1,3 +1,13 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else if (typeof module === "object" && module.exports) {
|
5
|
+
module.exports = factory( require( "jquery" ) );
|
6
|
+
} else {
|
7
|
+
factory( jQuery );
|
8
|
+
}
|
9
|
+
}(function( $ ) {
|
10
|
+
|
1
11
|
/*
|
2
12
|
* Localized default methods for the jQuery validation plugin.
|
3
13
|
* Locale: PT_BR
|
@@ -7,3 +17,5 @@ $.extend( $.validator.methods, {
|
|
7
17
|
return this.optional( element ) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test( value );
|
8
18
|
}
|
9
19
|
} );
|
20
|
+
return $;
|
21
|
+
}));
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
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.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Dan Ryan
|
7
|
+
- Curt Howard, Dan Ryan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Integrate the jQuery Validation plugin into the Rails asset pipeline
|
14
14
|
email:
|
15
|
-
-
|
15
|
+
- curt@meows.us
|
16
16
|
executables: []
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- vendor/assets/javascripts/jquery.validate.localization/messages_pt_PT.js
|
71
71
|
- vendor/assets/javascripts/jquery.validate.localization/messages_ro.js
|
72
72
|
- vendor/assets/javascripts/jquery.validate.localization/messages_ru.js
|
73
|
+
- vendor/assets/javascripts/jquery.validate.localization/messages_sd.js
|
73
74
|
- vendor/assets/javascripts/jquery.validate.localization/messages_si.js
|
74
75
|
- vendor/assets/javascripts/jquery.validate.localization/messages_sk.js
|
75
76
|
- vendor/assets/javascripts/jquery.validate.localization/messages_sl.js
|
@@ -87,9 +88,10 @@ files:
|
|
87
88
|
- vendor/assets/javascripts/jquery.validate.localization/methods_de.js
|
88
89
|
- vendor/assets/javascripts/jquery.validate.localization/methods_es_CL.js
|
89
90
|
- vendor/assets/javascripts/jquery.validate.localization/methods_fi.js
|
91
|
+
- vendor/assets/javascripts/jquery.validate.localization/methods_it.js
|
90
92
|
- vendor/assets/javascripts/jquery.validate.localization/methods_nl.js
|
91
93
|
- vendor/assets/javascripts/jquery.validate.localization/methods_pt.js
|
92
|
-
homepage: https://github.com/
|
94
|
+
homepage: https://github.com/meowsus/jquery-validation-rails
|
93
95
|
licenses:
|
94
96
|
- MIT
|
95
97
|
metadata: {}
|
@@ -109,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
111
|
version: '0'
|
110
112
|
requirements: []
|
111
113
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
114
|
+
rubygems_version: 2.7.8
|
113
115
|
signing_key:
|
114
116
|
specification_version: 4
|
115
117
|
summary: This jQuery plugin makes simple clientside form validation trivial, while
|