brazilian-documents-validations 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +5 -0
  3. data/Rakefile +2 -0
  4. data/brazilian-documents-validations.gemspec +23 -0
  5. data/lib/brazilian-documents-validations.rb +11 -0
  6. data/lib/brazilian-documents-validations/cnpj.rb +46 -0
  7. data/lib/brazilian-documents-validations/cnpj_validator.rb +5 -0
  8. data/lib/brazilian-documents-validations/cpf.rb +58 -0
  9. data/lib/brazilian-documents-validations/cpf_validator.rb +5 -0
  10. data/lib/brazilian-documents-validations/version.rb +7 -0
  11. data/test-app/.gitignore +4 -0
  12. data/test-app/Gemfile +9 -0
  13. data/test-app/README +256 -0
  14. data/test-app/Rakefile +7 -0
  15. data/test-app/app/controllers/application_controller.rb +3 -0
  16. data/test-app/app/helpers/application_helper.rb +2 -0
  17. data/test-app/app/models/company.rb +3 -0
  18. data/test-app/app/models/person.rb +3 -0
  19. data/test-app/app/views/layouts/application.html.erb +14 -0
  20. data/test-app/config.ru +4 -0
  21. data/test-app/config/application.rb +42 -0
  22. data/test-app/config/boot.rb +6 -0
  23. data/test-app/config/database.yml +22 -0
  24. data/test-app/config/environment.rb +5 -0
  25. data/test-app/config/environments/development.rb +26 -0
  26. data/test-app/config/environments/production.rb +49 -0
  27. data/test-app/config/environments/test.rb +35 -0
  28. data/test-app/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test-app/config/initializers/inflections.rb +10 -0
  30. data/test-app/config/initializers/mime_types.rb +5 -0
  31. data/test-app/config/initializers/secret_token.rb +7 -0
  32. data/test-app/config/initializers/session_store.rb +8 -0
  33. data/test-app/config/locales/en.yml +5 -0
  34. data/test-app/config/routes.rb +58 -0
  35. data/test-app/db/migrate/20110622120743_create_people.rb +13 -0
  36. data/test-app/db/migrate/20110622120752_create_companies.rb +13 -0
  37. data/test-app/db/schema.rb +27 -0
  38. data/test-app/db/seeds.rb +7 -0
  39. data/test-app/doc/README_FOR_APP +2 -0
  40. data/test-app/lib/tasks/.gitkeep +0 -0
  41. data/test-app/public/404.html +26 -0
  42. data/test-app/public/422.html +26 -0
  43. data/test-app/public/500.html +26 -0
  44. data/test-app/public/favicon.ico +0 -0
  45. data/test-app/public/images/rails.png +0 -0
  46. data/test-app/public/index.html +239 -0
  47. data/test-app/public/javascripts/application.js +2 -0
  48. data/test-app/public/javascripts/controls.js +965 -0
  49. data/test-app/public/javascripts/dragdrop.js +974 -0
  50. data/test-app/public/javascripts/effects.js +1123 -0
  51. data/test-app/public/javascripts/prototype.js +6001 -0
  52. data/test-app/public/javascripts/rails.js +191 -0
  53. data/test-app/public/robots.txt +5 -0
  54. data/test-app/public/stylesheets/.gitkeep +0 -0
  55. data/test-app/script/rails +6 -0
  56. data/test-app/test/fixtures/companies.yml +7 -0
  57. data/test-app/test/fixtures/people.yml +7 -0
  58. data/test-app/test/performance/browsing_test.rb +9 -0
  59. data/test-app/test/test_helper.rb +13 -0
  60. data/test-app/test/unit/company_test.rb +16 -0
  61. data/test-app/test/unit/person_test.rb +16 -0
  62. data/test-app/vendor/plugins/.gitkeep +0 -0
  63. data/test/cnpj_test.rb +15 -0
  64. data/test/cpf_test.rb +37 -0
  65. data/test/test_helper.rb +13 -0
  66. metadata +149 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.