Permalink
Browse files

Add initial import of simple example of realtime-validations

  • Loading branch information...
0 parents commit 25ebc5977e3a44b7bfe47fd0fefb2e3918002472 @ereslibre committed Dec 30, 2011
Showing with 1,531 additions and 0 deletions.
  1. +9 −0 .gitignore
  2. +15 −0 realtime-validations-simple/Gemfile
  3. +116 −0 realtime-validations-simple/Gemfile.lock
  4. +261 −0 realtime-validations-simple/README.rdoc
  5. +7 −0 realtime-validations-simple/Rakefile
  6. BIN realtime-validations-simple/app/assets/images/rails.png
  7. +15 −0 realtime-validations-simple/app/assets/javascripts/application.js
  8. +3 −0 realtime-validations-simple/app/assets/javascripts/products.js.coffee
  9. +3 −0 realtime-validations-simple/app/assets/javascripts/realtime_validations.js
  10. +3 −0 realtime-validations-simple/app/assets/javascripts/sellers.js.coffee
  11. +3 −0 realtime-validations-simple/app/assets/javascripts/welcome.js.coffee
  12. +13 −0 realtime-validations-simple/app/assets/stylesheets/application.css
  13. +3 −0 realtime-validations-simple/app/assets/stylesheets/products.css.scss
  14. +56 −0 realtime-validations-simple/app/assets/stylesheets/scaffolds.css.scss
  15. +3 −0 realtime-validations-simple/app/assets/stylesheets/sellers.css.scss
  16. +3 −0 realtime-validations-simple/app/assets/stylesheets/welcome.css.scss
  17. +3 −0 realtime-validations-simple/app/controllers/application_controller.rb
  18. +83 −0 realtime-validations-simple/app/controllers/products_controller.rb
  19. +83 −0 realtime-validations-simple/app/controllers/sellers_controller.rb
  20. +2 −0 realtime-validations-simple/app/controllers/welcome_controller.rb
  21. +2 −0 realtime-validations-simple/app/helpers/application_helper.rb
  22. +2 −0 realtime-validations-simple/app/helpers/products_helper.rb
  23. +2 −0 realtime-validations-simple/app/helpers/sellers_helper.rb
  24. +2 −0 realtime-validations-simple/app/helpers/welcome_helper.rb
  25. 0 realtime-validations-simple/app/mailers/.gitkeep
  26. 0 realtime-validations-simple/app/models/.gitkeep
  27. +7 −0 realtime-validations-simple/app/models/product.rb
  28. +5 −0 realtime-validations-simple/app/models/seller.rb
  29. +14 −0 realtime-validations-simple/app/views/layouts/application.html.erb
  30. +29 −0 realtime-validations-simple/app/views/products/_form.html.erb
  31. +6 −0 realtime-validations-simple/app/views/products/edit.html.erb
  32. +27 −0 realtime-validations-simple/app/views/products/index.html.erb
  33. +5 −0 realtime-validations-simple/app/views/products/new.html.erb
  34. +20 −0 realtime-validations-simple/app/views/products/show.html.erb
  35. +25 −0 realtime-validations-simple/app/views/sellers/_form.html.erb
  36. +6 −0 realtime-validations-simple/app/views/sellers/edit.html.erb
  37. +25 −0 realtime-validations-simple/app/views/sellers/index.html.erb
  38. +5 −0 realtime-validations-simple/app/views/sellers/new.html.erb
  39. +15 −0 realtime-validations-simple/app/views/sellers/show.html.erb
  40. +2 −0 realtime-validations-simple/app/views/welcome/index.html.erb
  41. +4 −0 realtime-validations-simple/config.ru
  42. +59 −0 realtime-validations-simple/config/application.rb
  43. +6 −0 realtime-validations-simple/config/boot.rb
  44. +25 −0 realtime-validations-simple/config/database.yml
  45. +5 −0 realtime-validations-simple/config/environment.rb
  46. +37 −0 realtime-validations-simple/config/environments/development.rb
  47. +67 −0 realtime-validations-simple/config/environments/production.rb
  48. +37 −0 realtime-validations-simple/config/environments/test.rb
  49. +7 −0 realtime-validations-simple/config/initializers/backtrace_silencers.rb
  50. +15 −0 realtime-validations-simple/config/initializers/inflections.rb
  51. +5 −0 realtime-validations-simple/config/initializers/mime_types.rb
  52. +13 −0 realtime-validations-simple/config/initializers/realtime_validations_initializer.rb
  53. +7 −0 realtime-validations-simple/config/initializers/secret_token.rb
  54. +8 −0 realtime-validations-simple/config/initializers/session_store.rb
  55. +14 −0 realtime-validations-simple/config/initializers/wrap_parameters.rb
  56. +5 −0 realtime-validations-simple/config/locales/en.yml
  57. +6 −0 realtime-validations-simple/config/routes.rb
  58. +10 −0 realtime-validations-simple/db/migrate/20111230102608_create_sellers.rb
  59. +12 −0 realtime-validations-simple/db/migrate/20111230102634_create_products.rb
  60. +33 −0 realtime-validations-simple/db/schema.rb
  61. +7 −0 realtime-validations-simple/db/seeds.rb
  62. +2 −0 realtime-validations-simple/doc/README_FOR_APP
  63. 0 realtime-validations-simple/lib/assets/.gitkeep
  64. 0 realtime-validations-simple/lib/tasks/.gitkeep
  65. 0 realtime-validations-simple/log/.gitkeep
  66. +26 −0 realtime-validations-simple/public/404.html
  67. +26 −0 realtime-validations-simple/public/422.html
  68. +25 −0 realtime-validations-simple/public/500.html
  69. 0 realtime-validations-simple/public/favicon.ico
  70. +5 −0 realtime-validations-simple/public/robots.txt
  71. +6 −0 realtime-validations-simple/script/rails
  72. 0 realtime-validations-simple/test/fixtures/.gitkeep
  73. +11 −0 realtime-validations-simple/test/fixtures/products.yml
  74. +9 −0 realtime-validations-simple/test/fixtures/sellers.yml
  75. 0 realtime-validations-simple/test/functional/.gitkeep
  76. +49 −0 realtime-validations-simple/test/functional/products_controller_test.rb
  77. +49 −0 realtime-validations-simple/test/functional/sellers_controller_test.rb
  78. +7 −0 realtime-validations-simple/test/functional/welcome_controller_test.rb
  79. 0 realtime-validations-simple/test/integration/.gitkeep
  80. +12 −0 realtime-validations-simple/test/performance/browsing_test.rb
  81. +13 −0 realtime-validations-simple/test/test_helper.rb
  82. 0 realtime-validations-simple/test/unit/.gitkeep
  83. +4 −0 realtime-validations-simple/test/unit/helpers/products_helper_test.rb
  84. +4 −0 realtime-validations-simple/test/unit/helpers/sellers_helper_test.rb
  85. +4 −0 realtime-validations-simple/test/unit/helpers/welcome_helper_test.rb
  86. +7 −0 realtime-validations-simple/test/unit/product_test.rb
  87. +7 −0 realtime-validations-simple/test/unit/seller_test.rb
  88. 0 realtime-validations-simple/vendor/assets/javascripts/.gitkeep
  89. 0 realtime-validations-simple/vendor/assets/stylesheets/.gitkeep
  90. 0 realtime-validations-simple/vendor/plugins/.gitkeep
@@ -0,0 +1,9 @@
+# Ignore bundler config
+**/.bundle
+
+# Ignore the default SQLite database.
+**/db/*.sqlite3
+
+# Ignore all logfiles and tempfiles.
+**/log/*.log
+**/tmp
@@ -0,0 +1,15 @@
+source 'https://rubygems.org'
+
+gem 'rails'
+gem 'sqlite3'
+
+group :assets do
+ gem 'sass-rails', '~> 3.2.0'
+ gem 'coffee-rails', '~> 3.2.0'
+
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+
+gem 'realtime-validations', '~> 0.0.3'
@@ -0,0 +1,116 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.0.rc1)
+ actionpack (= 3.2.0.rc1)
+ mail (~> 2.3.0)
+ actionpack (3.2.0.rc1)
+ activemodel (= 3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ 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-test (~> 0.6.1)
+ sprockets (~> 2.1.2)
+ activemodel (3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ 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)
+ 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)
+ multi_json (~> 1.0)
+ arel (3.0.0.rc1)
+ builder (3.0.0)
+ coffee-rails (3.2.0)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.2.0.beta)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.2.0)
+ erubis (2.7.0)
+ execjs (1.2.13)
+ 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)
+ thor (~> 0.14)
+ json (1.6.4)
+ mail (2.3.0)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.17.2)
+ multi_json (1.0.4)
+ polyglot (0.3.3)
+ rack (1.3.6)
+ rack-cache (1.1)
+ rack (>= 0.4)
+ 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)
+ bundler (~> 1.0)
+ railties (= 3.2.0.rc1)
+ railties (3.2.0.rc1)
+ actionpack (= 3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ 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.3)
+ 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)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.5)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.31)
+ uglifier (1.2.1)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails (~> 3.2.0)
+ jquery-rails
+ rails
+ realtime-validations (~> 0.0.3)
+ sass-rails (~> 3.2.0)
+ sqlite3
+ uglifier (>= 1.0.3)
Oops, something went wrong.

0 comments on commit 25ebc59

Please sign in to comment.