client_side_validations-simple_form 1.5.0 → 2.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,8 +13,8 @@ Gem::Specification.new do |gem|
13
13
  gem.require_paths = ['lib']
14
14
  gem.version = ClientSideValidations::SimpleForm::VERSION
15
15
 
16
- gem.add_dependency 'client_side_validations', '~> 3.2.0'
17
- gem.add_dependency 'simple_form', '~> 1.5.0'
16
+ gem.add_dependency 'client_side_validations', '~> 3.2.0.beta.4'
17
+ gem.add_dependency 'simple_form', '~> 2.0.0'
18
18
 
19
19
  gem.add_development_dependency 'rails', '~> 3.2.0'
20
20
  gem.add_development_dependency 'mocha'
@@ -7,10 +7,10 @@ module ClientSideValidations
7
7
  def client_side_form_settings(options, form_helper)
8
8
  {
9
9
  :type => self.class.to_s,
10
- :error_class => ::SimpleForm.error_class,
11
- :error_tag => ::SimpleForm.error_tag,
12
- :wrapper_error_class => ::SimpleForm.wrapper_error_class,
13
- :wrapper_tag => ::SimpleForm.wrapper_tag
10
+ :error_class => wrapper.find(:error).defaults[:class].first,
11
+ :error_tag => wrapper.find(:error).defaults[:tag],
12
+ :wrapper_error_class => wrapper.defaults[:error_class],
13
+ :wrapper_tag => wrapper.defaults[:tag]
14
14
  }
15
15
  end
16
16
  alias_method_chain :input, :client_side_validations
@@ -1,5 +1,5 @@
1
1
  module ClientSideValidations
2
2
  module SimpleForm
3
- VERSION = '1.5.0'
3
+ VERSION = '2.0.0.beta.1'
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- Client Side Validations - SimpleForm - v1.5.0
3
+ Client Side Validations - SimpleForm - v2.0.0.beta.1
4
4
  https://github.com/dockyard/client_side_validations-simple_form
5
5
 
6
6
  Copyright (c) 2012 DockYard, LLC
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations-simple_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
5
- prerelease:
4
+ version: 2.0.0.beta.1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brian Cardarella
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-09 00:00:00.000000000 Z
12
+ date: 2012-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: client_side_validations
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.2.0
21
+ version: 3.2.0.beta.4
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 3.2.0
29
+ version: 3.2.0.beta.4
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: simple_form
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 1.5.0
37
+ version: 2.0.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 1.5.0
45
+ version: 2.0.0
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rails
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -182,18 +182,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
182
  - - ! '>='
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
- segments:
186
- - 0
187
- hash: 280061343027363669
188
185
  required_rubygems_version: !ruby/object:Gem::Requirement
189
186
  none: false
190
187
  requirements:
191
- - - ! '>='
188
+ - - ! '>'
192
189
  - !ruby/object:Gem::Version
193
- version: '0'
194
- segments:
195
- - 0
196
- hash: 280061343027363669
190
+ version: 1.3.1
197
191
  requirements: []
198
192
  rubyforge_project:
199
193
  rubygems_version: 1.8.23