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 CHANGED
@@ -2,7 +2,6 @@ source "http://rubygems.org"
2
2
 
3
3
  gem "rails", "~> 3"
4
4
  gem "jquery-rails"
5
- gem 'fastercsv', :platforms=>[:ruby_18, :mri_18, :mingw_18, :mswin]
6
5
 
7
6
  group :development do
8
7
  gem "jeweler", "~> 1.6.4"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.21
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.21
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-01-17 00:00:00.000000000Z
12
+ date: 2012-02-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &12235800 !ruby/object:Gem::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: *12235800
24
+ version_requirements: *16162680
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &12232840 !ruby/object:Gem::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: *12232840
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: &12226540 !ruby/object:Gem::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: *12226540
46
+ version_requirements: *16159760
58
47
  - !ruby/object:Gem::Dependency
59
48
  name: rcov
60
- requirement: &12148520 !ruby/object:Gem::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: *12148520
57
+ version_requirements: *16158480
69
58
  - !ruby/object:Gem::Dependency
70
59
  name: rdoc
71
- requirement: &12143760 !ruby/object:Gem::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: *12143760
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: 4163298408554769936
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.11
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