andrewroth-client_side_validations 3.2.0.beta.4 → 3.2.0.beta.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,7 @@ module ClientSideValidations::ActionView::Helpers
51
51
 
52
52
  def fields_for(record_or_name_or_array, *args, &block)
53
53
  output = super
54
- @validators.merge!(args.last[:validators]) if @validators
54
+ @validators.merge!(args.last[:validators]) if @validators && !args.last[:validators].nil?
55
55
  output
56
56
  end
57
57
 
@@ -1,3 +1,3 @@
1
1
  module ClientSideValidations
2
- VERSION = '3.2.0.beta.4'
2
+ VERSION = '3.2.0.beta.5'
3
3
  end
metadata CHANGED
@@ -1,149 +1,111 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: andrewroth-client_side_validations
3
- version: !ruby/object:Gem::Version
4
- hash: 3472833451
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.2.0.beta.5
5
5
  prerelease: 6
6
- segments:
7
- - 3
8
- - 2
9
- - 0
10
- - beta
11
- - 4
12
- version: 3.2.0.beta.4
13
6
  platform: ruby
14
- authors:
7
+ authors:
15
8
  - Brian Cardarella
16
9
  autorequire:
17
10
  bindir: bin
18
11
  cert_chain: []
19
-
20
- date: 2012-04-27 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
12
+ date: 2012-04-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
23
15
  name: rails
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2152456300 !ruby/object:Gem::Requirement
26
17
  none: false
27
- requirements:
18
+ requirements:
28
19
  - - ~>
29
- - !ruby/object:Gem::Version
30
- hash: 15
31
- segments:
32
- - 3
33
- - 2
34
- - 0
20
+ - !ruby/object:Gem::Version
35
21
  version: 3.2.0
36
22
  type: :development
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: sqlite3
40
23
  prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2152456300
25
+ - !ruby/object:Gem::Dependency
26
+ name: sqlite3
27
+ requirement: &2152454400 !ruby/object:Gem::Requirement
42
28
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
50
33
  type: :development
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: mocha
54
34
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2152454400
36
+ - !ruby/object:Gem::Dependency
37
+ name: mocha
38
+ requirement: &2152468140 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 3
61
- segments:
62
- - 0
63
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
64
44
  type: :development
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- name: sinatra
68
45
  prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2152468140
47
+ - !ruby/object:Gem::Dependency
48
+ name: sinatra
49
+ requirement: &2152478920 !ruby/object:Gem::Requirement
70
50
  none: false
71
- requirements:
51
+ requirements:
72
52
  - - ~>
73
- - !ruby/object:Gem::Version
74
- hash: 15
75
- segments:
76
- - 1
77
- - 0
78
- version: "1.0"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
79
55
  type: :development
80
- version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
82
- name: shotgun
83
56
  prerelease: false
84
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *2152478920
58
+ - !ruby/object:Gem::Dependency
59
+ name: shotgun
60
+ requirement: &2152473440 !ruby/object:Gem::Requirement
85
61
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 3
90
- segments:
91
- - 0
92
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
93
66
  type: :development
94
- version_requirements: *id005
95
- - !ruby/object:Gem::Dependency
96
- name: thin
97
67
  prerelease: false
98
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *2152473440
69
+ - !ruby/object:Gem::Dependency
70
+ name: thin
71
+ requirement: &2152480480 !ruby/object:Gem::Requirement
99
72
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 3
104
- segments:
105
- - 0
106
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
107
77
  type: :development
108
- version_requirements: *id006
109
- - !ruby/object:Gem::Dependency
110
- name: json
111
78
  prerelease: false
112
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *2152480480
80
+ - !ruby/object:Gem::Dependency
81
+ name: json
82
+ requirement: &2152494640 !ruby/object:Gem::Requirement
113
83
  none: false
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- hash: 3
118
- segments:
119
- - 0
120
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
121
88
  type: :development
122
- version_requirements: *id007
123
- - !ruby/object:Gem::Dependency
124
- name: coffee-script
125
89
  prerelease: false
126
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *2152494640
91
+ - !ruby/object:Gem::Dependency
92
+ name: coffee-script
93
+ requirement: &2152488120 !ruby/object:Gem::Requirement
127
94
  none: false
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- hash: 3
132
- segments:
133
- - 0
134
- version: "0"
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
135
99
  type: :development
136
- version_requirements: *id008
100
+ prerelease: false
101
+ version_requirements: *2152488120
137
102
  description: Client Side Validations
138
- email:
103
+ email:
139
104
  - bcardarella@gmail.com
140
105
  executables: []
141
-
142
106
  extensions: []
143
-
144
107
  extra_rdoc_files: []
145
-
146
- files:
108
+ files:
147
109
  - client_side_validations.gemspec
148
110
  - lib/client_side_validations.rb
149
111
  - lib/client_side_validations/action_view.rb
@@ -176,38 +138,27 @@ files:
176
138
  - vendor/assets/javascripts/rails.validations.js
177
139
  homepage: https://github.com/bcardarella/client_side_validations
178
140
  licenses: []
179
-
180
141
  post_install_message:
181
142
  rdoc_options: []
182
-
183
- require_paths:
143
+ require_paths:
184
144
  - lib
185
- required_ruby_version: !ruby/object:Gem::Requirement
145
+ required_ruby_version: !ruby/object:Gem::Requirement
186
146
  none: false
187
- requirements:
188
- - - ">="
189
- - !ruby/object:Gem::Version
190
- hash: 3
191
- segments:
192
- - 0
193
- version: "0"
194
- required_rubygems_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
195
152
  none: false
196
- requirements:
197
- - - ">"
198
- - !ruby/object:Gem::Version
199
- hash: 25
200
- segments:
201
- - 1
202
- - 3
203
- - 1
153
+ requirements:
154
+ - - ! '>'
155
+ - !ruby/object:Gem::Version
204
156
  version: 1.3.1
205
157
  requirements: []
206
-
207
158
  rubyforge_project:
208
- rubygems_version: 1.8.22
159
+ rubygems_version: 1.8.10
209
160
  signing_key:
210
161
  specification_version: 3
211
162
  summary: Client Side Validations
212
163
  test_files: []
213
-
164
+ has_rdoc: