client_side_validations 3.0.10 → 3.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/client_side_validations.rb +4 -1
- data/lib/client_side_validations/engine.rb +6 -0
- data/lib/client_side_validations/middleware.rb +0 -5
- data/lib/client_side_validations/version.rb +1 -1
- data/test/middleware/cases/helper.rb +1 -0
- data/vendor/assets/javascripts/rails.validations.js +1 -1
- metadata +3 -2
@@ -6,5 +6,8 @@ require 'client_side_validations/active_record' if defined?(::ActiveRecord)
|
|
6
6
|
require 'client_side_validations/mongoid' if defined?(::Mongoid)
|
7
7
|
require 'client_side_validations/mongo_mapper' if defined?(::MongoMapper)
|
8
8
|
require 'client_side_validations/action_view'
|
9
|
-
|
9
|
+
if defined?(::Rails)
|
10
|
+
require 'client_side_validations/middleware'
|
11
|
+
require 'client_side_validations/engine'
|
12
|
+
end
|
10
13
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: client_side_validations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 3.0.
|
5
|
+
version: 3.0.11
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brian Cardarella
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-22 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -186,6 +186,7 @@ files:
|
|
186
186
|
- lib/client_side_validations/core_ext.rb
|
187
187
|
- lib/client_side_validations/core_ext/range.rb
|
188
188
|
- lib/client_side_validations/core_ext/regexp.rb
|
189
|
+
- lib/client_side_validations/engine.rb
|
189
190
|
- lib/client_side_validations/formtastic.rb
|
190
191
|
- lib/client_side_validations/middleware.rb
|
191
192
|
- lib/client_side_validations/mongo_mapper.rb
|