Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Commit

Permalink
Update to latest realtime_validations version
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Jan 3, 2012
1 parent 731ae7c commit 0cbb11f
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 78 deletions.
9 changes: 4 additions & 5 deletions realtime-validations-simple/Gemfile
@@ -1,15 +1,14 @@
source 'https://rubygems.org'

gem 'rails'
gem 'rails', '~> 3.1.3'
gem 'sqlite3'

group :assets do
gem 'sass-rails', '~> 3.2.0'
gem 'coffee-rails', '~> 3.2.0'

gem 'sass-rails', '~> 3.1.5'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

gem 'realtime-validations', '~> 0.0.4'
gem 'realtime-validations', '~> 0.2.3'
90 changes: 46 additions & 44 deletions realtime-validations-simple/Gemfile.lock
@@ -1,40 +1,39 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (3.2.0.rc1)
actionpack (= 3.2.0.rc1)
actionmailer (3.1.3)
actionpack (= 3.1.3)
mail (~> 2.3.0)
actionpack (3.2.0.rc1)
activemodel (= 3.2.0.rc1)
activesupport (= 3.2.0.rc1)
actionpack (3.1.3)
activemodel (= 3.1.3)
activesupport (= 3.1.3)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
journey (~> 1.0.0.rc1)
rack (~> 1.3.5)
rack-cache (~> 1.1)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.1.2)
activemodel (3.2.0.rc1)
activesupport (= 3.2.0.rc1)
sprockets (~> 2.0.3)
activemodel (3.1.3)
activesupport (= 3.1.3)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.2.0.rc1)
activemodel (= 3.2.0.rc1)
activesupport (= 3.2.0.rc1)
arel (~> 3.0.0.rc1)
activerecord (3.1.3)
activemodel (= 3.1.3)
activesupport (= 3.1.3)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activeresource (3.2.0.rc1)
activemodel (= 3.2.0.rc1)
activesupport (= 3.2.0.rc1)
activesupport (3.2.0.rc1)
i18n (~> 0.6)
activeresource (3.1.3)
activemodel (= 3.1.3)
activesupport (= 3.1.3)
activesupport (3.1.3)
multi_json (~> 1.0)
arel (3.0.0.rc1)
arel (2.2.1)
builder (3.0.0)
coffee-rails (3.2.0)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
railties (~> 3.2.0.beta)
railties (~> 3.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
Expand All @@ -44,9 +43,8 @@ GEM
multi_json (~> 1.0)
hike (1.2.1)
i18n (0.6.0)
journey (1.0.0.rc4)
jquery-rails (2.0.0)
railties (>= 3.2.0.beta, < 5.0)
jquery-rails (1.0.19)
railties (~> 3.0)
thor (~> 0.14)
json (1.6.4)
mail (2.3.0)
Expand All @@ -59,36 +57,40 @@ GEM
rack (1.3.6)
rack-cache (1.1)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.2.0.rc1)
actionmailer (= 3.2.0.rc1)
actionpack (= 3.2.0.rc1)
activerecord (= 3.2.0.rc1)
activeresource (= 3.2.0.rc1)
activesupport (= 3.2.0.rc1)
rails (3.1.3)
actionmailer (= 3.1.3)
actionpack (= 3.1.3)
activerecord (= 3.1.3)
activeresource (= 3.1.3)
activesupport (= 3.1.3)
bundler (~> 1.0)
railties (= 3.2.0.rc1)
railties (3.2.0.rc1)
actionpack (= 3.2.0.rc1)
activesupport (= 3.2.0.rc1)
railties (= 3.1.3)
railties (3.1.3)
actionpack (= 3.1.3)
activesupport (= 3.1.3)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
realtime-validations (0.0.4)
realtime-validations (0.2.3)
jquery-rails (>= 1.0.19)
rails (>= 3.1.3)
sass (3.1.12)
sass-rails (3.2.2)
railties (~> 3.2.0.beta)
sass (>= 3.1.10)
tilt (~> 1.3)
sprockets (2.1.2)
sass-rails (3.1.5)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (~> 3.1.10)
tilt (~> 1.3.2)
sprockets (2.0.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
Expand All @@ -107,10 +109,10 @@ PLATFORMS
ruby

DEPENDENCIES
coffee-rails (~> 3.2.0)
coffee-rails (~> 3.1.1)
jquery-rails
rails
realtime-validations (~> 0.0.4)
sass-rails (~> 3.2.0)
rails (~> 3.1.3)
realtime-validations (~> 0.2.3)
sass-rails (~> 3.1.5)
sqlite3
uglifier (>= 1.0.3)
@@ -1,15 +1,4 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require jquery
//= require jquery_ujs
//= require realtime_validations
//= require_tree .
@@ -0,0 +1,9 @@
RealtimeValidations.customFields = function() {
return { };
}

// RealtimeValidations.showErrors = function(field, errors) {
// }

// RealtimeValidations.hideErrors = function(field) {
// }

This file was deleted.

Expand Up @@ -9,5 +9,6 @@
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*= require realtime_validations
*= require_tree .
*/
Expand Up @@ -22,13 +22,6 @@
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin

# Raise exception on mass assignment protection for ActiveRecord models
config.active_record.mass_assignment_sanitizer = :strict

# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)
config.active_record.auto_explain_threshold_in_seconds = 0.5

# Do not compress assets
config.assets.compress = false

Expand Down
4 changes: 0 additions & 4 deletions realtime-validations-simple/config/environments/production.rb
Expand Up @@ -60,8 +60,4 @@

# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify

# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)
# config.active_record.auto_explain_threshold_in_seconds = 0.5
end
3 changes: 0 additions & 3 deletions realtime-validations-simple/config/environments/test.rb
Expand Up @@ -29,9 +29,6 @@
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test

# Raise exception on mass assignment protection for ActiveRecord models
config.active_record.mass_assignment_sanitizer = :strict

# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
end

0 comments on commit 0cbb11f

Please sign in to comment.