casey_jones 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -174,33 +174,28 @@ class JQueryValidatingFormBuilder < ActionView::Helpers::FormBuilder
174
174
 
175
175
  self.validation_methods = {
176
176
  :presence_validator => lambda{|validation, options|
177
- puts "presence_validator #{validation.inspect}"
178
177
  options.add_class("required")
179
178
  return options
180
179
  },
181
180
 
182
181
  :email_validator => lambda{|validation, options|
183
- puts "presence_validator #{validation.inspect}"
184
182
  options.add_class("email")
185
183
  return options
186
184
  },
187
185
 
188
186
  :length_validator => lambda{|validation, options|
189
- puts "length_validator #{validation.inspect}"
190
187
  options[:minlength] = validation.options[:minimum] if validation.options[:minimum]
191
188
  options[:maxlength] = validation.options[:maximum] if validation.options[:maximum]
192
189
  return options
193
190
  },
194
191
 
195
192
  :password_validator => lambda{|validation, options|
196
- puts "length_validator #{validation.inspect}"
197
193
  options["data-verify-user-path"] = '/verify_password'
198
194
  options.add_class("verify_user")
199
195
  return options
200
196
  },
201
197
 
202
198
  :equal_to_validator => lambda{|validation, options|
203
- puts "equal_to_validator #{validation.inspect}"
204
199
  options[:equalTo] = "##{validation.other}"
205
200
  return options
206
201
  },
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Gannon
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-16 00:00:00 -07:00
17
+ date: 2010-09-17 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20