formize 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -1
- data/VERSION +1 -1
- data/lib/assets/javascripts/jquery.ui.formize.js +6 -0
- metadata +14 -25
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.22
|
@@ -239,11 +239,17 @@ $.behave('input[data-unroll]', 'load', function() {
|
|
239
239
|
});
|
240
240
|
});
|
241
241
|
|
242
|
+
$.datepicker.regional["en"] = $.datepicker.regional["en-GB"]
|
243
|
+
$.datepicker.regional["fra"] = $.datepicker.regional["fr"]
|
244
|
+
|
242
245
|
// Initializes date fields
|
243
246
|
$.behave('input[data-datepicker]', "load", function() {
|
244
247
|
var element = $(this);
|
245
248
|
var locale = element.data("locale");
|
246
249
|
var options = $.datepicker.regional[locale];
|
250
|
+
if (options === null || options === undefined) {
|
251
|
+
options = $.datepicker.regional["en"];
|
252
|
+
}
|
247
253
|
if (element.data("date-format") !== null) {
|
248
254
|
options['dateFormat'] = element.data("date-format");
|
249
255
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.22
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-02-29 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &16162680 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *16162680
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &16161200 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,21 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: fastercsv
|
38
|
-
requirement: &12229560 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ! '>='
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '0'
|
44
|
-
type: :runtime
|
45
|
-
prerelease: false
|
46
|
-
version_requirements: *12229560
|
35
|
+
version_requirements: *16161200
|
47
36
|
- !ruby/object:Gem::Dependency
|
48
37
|
name: jeweler
|
49
|
-
requirement: &
|
38
|
+
requirement: &16159760 !ruby/object:Gem::Requirement
|
50
39
|
none: false
|
51
40
|
requirements:
|
52
41
|
- - ~>
|
@@ -54,10 +43,10 @@ dependencies:
|
|
54
43
|
version: 1.6.4
|
55
44
|
type: :development
|
56
45
|
prerelease: false
|
57
|
-
version_requirements: *
|
46
|
+
version_requirements: *16159760
|
58
47
|
- !ruby/object:Gem::Dependency
|
59
48
|
name: rcov
|
60
|
-
requirement: &
|
49
|
+
requirement: &16158480 !ruby/object:Gem::Requirement
|
61
50
|
none: false
|
62
51
|
requirements:
|
63
52
|
- - ! '>='
|
@@ -65,10 +54,10 @@ dependencies:
|
|
65
54
|
version: '0'
|
66
55
|
type: :development
|
67
56
|
prerelease: false
|
68
|
-
version_requirements: *
|
57
|
+
version_requirements: *16158480
|
69
58
|
- !ruby/object:Gem::Dependency
|
70
59
|
name: rdoc
|
71
|
-
requirement: &
|
60
|
+
requirement: &16157380 !ruby/object:Gem::Requirement
|
72
61
|
none: false
|
73
62
|
requirements:
|
74
63
|
- - ! '>='
|
@@ -76,7 +65,7 @@ dependencies:
|
|
76
65
|
version: 2.4.2
|
77
66
|
type: :development
|
78
67
|
prerelease: false
|
79
|
-
version_requirements: *
|
68
|
+
version_requirements: *16157380
|
80
69
|
description: Like simple_form or formtastic, it aims to handle easily forms but taking
|
81
70
|
in account AJAX and HTML5 on depending fields mainly.
|
82
71
|
email: brice.texier@ekylibre.org
|
@@ -209,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
209
198
|
version: '0'
|
210
199
|
segments:
|
211
200
|
- 0
|
212
|
-
hash:
|
201
|
+
hash: 4034628045923266053
|
213
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
203
|
none: false
|
215
204
|
requirements:
|
@@ -218,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
207
|
version: '0'
|
219
208
|
requirements: []
|
220
209
|
rubyforge_project:
|
221
|
-
rubygems_version: 1.8.
|
210
|
+
rubygems_version: 1.8.10
|
222
211
|
signing_key:
|
223
212
|
specification_version: 3
|
224
213
|
summary: Simple form DSL with dynamic interactions for Rails
|