client_side_validations 3.0.11 → 3.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ # This is only used by dependant libraries that need to find the files
2
+
3
+ module ClientSideValidations
4
+ module Files
5
+ Initializer = File.expand_path(File.dirname(__FILE__) + '/../generators/templates/client_side_validations/initializer.rb')
6
+ Javascript = File.expand_path(File.dirname(__FILE__) + '/../../vendor/assets/javascripts/rails.validations.js')
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module ClientSideValidations
2
- VERSION = '3.0.11'
2
+ VERSION = '3.0.12'
3
3
  end
@@ -6,7 +6,7 @@ module ClientSideValidations
6
6
  desc 'Creates a ClientSideValidations initializer and copies client-side-validations.js to public/javascripts.'
7
7
 
8
8
  def copy_initializer
9
- copy_file 'client_side_validations.rb', 'config/initializers/client_side_validations.rb'
9
+ copy_file 'client_side_validations/initializer.rb', 'config/initializers/client_side_validations.rb'
10
10
  end
11
11
 
12
12
  def copy_locale
@@ -14,7 +14,7 @@ module ClientSideValidations
14
14
  end
15
15
 
16
16
  def show_readme
17
- readme 'README' if behavior == :invoke
17
+ readme 'client_side_validations/README' if behavior == :invoke
18
18
  end
19
19
  end
20
20
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Rails 3 Client Side Validations - v3.0.11
2
+ * Rails 3 Client Side Validations - v3.0.12
3
3
  * https://github.com/bcardarlela/client_side_validations
4
4
  *
5
5
  * Copyright (c) 2011 Brian Cardarella
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.11
5
+ version: 3.0.12
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-22 00:00:00 -04:00
13
+ date: 2011-06-23 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -187,6 +187,7 @@ files:
187
187
  - lib/client_side_validations/core_ext/range.rb
188
188
  - lib/client_side_validations/core_ext/regexp.rb
189
189
  - lib/client_side_validations/engine.rb
190
+ - lib/client_side_validations/files.rb
190
191
  - lib/client_side_validations/formtastic.rb
191
192
  - lib/client_side_validations/middleware.rb
192
193
  - lib/client_side_validations/mongo_mapper.rb
@@ -198,8 +199,8 @@ files:
198
199
  - lib/client_side_validations/simple_form.rb
199
200
  - lib/client_side_validations/version.rb
200
201
  - lib/generators/client_side_validations/install_generator.rb
201
- - lib/generators/templates/README
202
- - lib/generators/templates/client_side_validations.rb
202
+ - lib/generators/templates/client_side_validations/README
203
+ - lib/generators/templates/client_side_validations/initializer.rb
203
204
  - vendor/assets/javascripts/rails.validations.js
204
205
  - test/action_view/cases/helper.rb
205
206
  - test/action_view/cases/test_helpers.rb