opro 0.0.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/CHANGELOG.md +3 -0
  2. data/Gemfile +39 -0
  3. data/Gemfile.lock +138 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +90 -0
  6. data/Rakefile +50 -0
  7. data/VERSION +1 -0
  8. data/app/controllers/oauth/auth_controller.rb +74 -0
  9. data/app/controllers/oauth/client_application_controller.rb +15 -0
  10. data/app/controllers/oauth/docs_controller.rb +36 -0
  11. data/app/controllers/opro_application_controller.rb +8 -0
  12. data/app/models/oauth/access_grant.rb +42 -0
  13. data/app/models/oauth/client_application.rb +30 -0
  14. data/app/views/oauth/auth/new.html.erb +8 -0
  15. data/app/views/oauth/client_application/create.html.erb +11 -0
  16. data/app/views/oauth/client_application/index.html.erb +18 -0
  17. data/app/views/oauth/client_application/new.html.erb +13 -0
  18. data/app/views/oauth/docs/index.html.erb +14 -0
  19. data/app/views/oauth/docs/markdown/curl.md.erb +6 -0
  20. data/app/views/oauth/docs/markdown/oauth.md.erb +1 -0
  21. data/app/views/oauth/docs/markdown/quick_start.md.erb +70 -0
  22. data/app/views/oauth/docs/show.html.erb +1 -0
  23. data/config/routes.rb +9 -0
  24. data/lib/generators/active_record/opro_generator.rb +28 -0
  25. data/lib/generators/active_record/templates/access_grants.rb +14 -0
  26. data/lib/generators/active_record/templates/client_applications.rb +11 -0
  27. data/lib/generators/opro/install_generator.rb +21 -0
  28. data/lib/generators/templates/opro.rb +4 -0
  29. data/lib/opro.rb +86 -0
  30. data/lib/opro/controllers/application_controller_helper.rb +38 -0
  31. data/lib/opro/engine.rb +8 -0
  32. data/opro.gemspec +148 -0
  33. data/test/dummy/Rakefile +7 -0
  34. data/test/dummy/app/controllers/application_controller.rb +3 -0
  35. data/test/dummy/app/controllers/pages_controller.rb +8 -0
  36. data/test/dummy/app/helpers/application_helper.rb +2 -0
  37. data/test/dummy/app/models/user.rb +10 -0
  38. data/test/dummy/app/views/layouts/application.html.erb +20 -0
  39. data/test/dummy/app/views/pages/index.html.erb +1 -0
  40. data/test/dummy/config.ru +4 -0
  41. data/test/dummy/config/application.rb +49 -0
  42. data/test/dummy/config/boot.rb +10 -0
  43. data/test/dummy/config/database.yml +22 -0
  44. data/test/dummy/config/environment.rb +5 -0
  45. data/test/dummy/config/environments/development.rb +26 -0
  46. data/test/dummy/config/environments/production.rb +49 -0
  47. data/test/dummy/config/environments/test.rb +35 -0
  48. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  49. data/test/dummy/config/initializers/devise.rb +223 -0
  50. data/test/dummy/config/initializers/inflections.rb +10 -0
  51. data/test/dummy/config/initializers/mime_types.rb +5 -0
  52. data/test/dummy/config/initializers/opro.rb +4 -0
  53. data/test/dummy/config/initializers/secret_token.rb +7 -0
  54. data/test/dummy/config/initializers/session_store.rb +8 -0
  55. data/test/dummy/config/locales/devise.en.yml +57 -0
  56. data/test/dummy/config/locales/en.yml +5 -0
  57. data/test/dummy/config/routes.rb +63 -0
  58. data/test/dummy/db/migrate/20120408163038_devise_create_users.rb +49 -0
  59. data/test/dummy/db/migrate/20120408165729_create_opro_access_grants.rb +14 -0
  60. data/test/dummy/db/migrate/20120408165730_create_opro_client_applications.rb +11 -0
  61. data/test/dummy/db/schema.rb +54 -0
  62. data/test/dummy/public/404.html +26 -0
  63. data/test/dummy/public/422.html +26 -0
  64. data/test/dummy/public/500.html +26 -0
  65. data/test/dummy/public/favicon.ico +0 -0
  66. data/test/dummy/public/javascripts/application.js +2 -0
  67. data/test/dummy/public/javascripts/controls.js +965 -0
  68. data/test/dummy/public/javascripts/dragdrop.js +974 -0
  69. data/test/dummy/public/javascripts/effects.js +1123 -0
  70. data/test/dummy/public/javascripts/prototype.js +6001 -0
  71. data/test/dummy/public/javascripts/rails.js +202 -0
  72. data/test/dummy/public/stylesheets/.gitkeep +0 -0
  73. data/test/dummy/script/rails +6 -0
  74. data/test/integration/auth_controller_test.rb +23 -0
  75. data/test/integration/client_application_controller_test.rb +24 -0
  76. data/test/integration/docs_controller_test.rb +8 -0
  77. data/test/integration/oauth_test.rb +17 -0
  78. data/test/opro_test.rb +24 -0
  79. data/test/support/integration_case.rb +5 -0
  80. data/test/test_helper.rb +99 -0
  81. metadata +251 -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.