opro 0.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/Gemfile +39 -0
- data/Gemfile.lock +138 -0
- data/MIT-LICENSE +20 -0
- data/README.md +90 -0
- data/Rakefile +50 -0
- data/VERSION +1 -0
- data/app/controllers/oauth/auth_controller.rb +74 -0
- data/app/controllers/oauth/client_application_controller.rb +15 -0
- data/app/controllers/oauth/docs_controller.rb +36 -0
- data/app/controllers/opro_application_controller.rb +8 -0
- data/app/models/oauth/access_grant.rb +42 -0
- data/app/models/oauth/client_application.rb +30 -0
- data/app/views/oauth/auth/new.html.erb +8 -0
- data/app/views/oauth/client_application/create.html.erb +11 -0
- data/app/views/oauth/client_application/index.html.erb +18 -0
- data/app/views/oauth/client_application/new.html.erb +13 -0
- data/app/views/oauth/docs/index.html.erb +14 -0
- data/app/views/oauth/docs/markdown/curl.md.erb +6 -0
- data/app/views/oauth/docs/markdown/oauth.md.erb +1 -0
- data/app/views/oauth/docs/markdown/quick_start.md.erb +70 -0
- data/app/views/oauth/docs/show.html.erb +1 -0
- data/config/routes.rb +9 -0
- data/lib/generators/active_record/opro_generator.rb +28 -0
- data/lib/generators/active_record/templates/access_grants.rb +14 -0
- data/lib/generators/active_record/templates/client_applications.rb +11 -0
- data/lib/generators/opro/install_generator.rb +21 -0
- data/lib/generators/templates/opro.rb +4 -0
- data/lib/opro.rb +86 -0
- data/lib/opro/controllers/application_controller_helper.rb +38 -0
- data/lib/opro/engine.rb +8 -0
- data/opro.gemspec +148 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/pages_controller.rb +8 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/user.rb +10 -0
- data/test/dummy/app/views/layouts/application.html.erb +20 -0
- data/test/dummy/app/views/pages/index.html.erb +1 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +49 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +22 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +26 -0
- data/test/dummy/config/environments/production.rb +49 -0
- data/test/dummy/config/environments/test.rb +35 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/devise.rb +223 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/opro.rb +4 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/locales/devise.en.yml +57 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +63 -0
- data/test/dummy/db/migrate/20120408163038_devise_create_users.rb +49 -0
- data/test/dummy/db/migrate/20120408165729_create_opro_access_grants.rb +14 -0
- data/test/dummy/db/migrate/20120408165730_create_opro_client_applications.rb +11 -0
- data/test/dummy/db/schema.rb +54 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/javascripts/application.js +2 -0
- data/test/dummy/public/javascripts/controls.js +965 -0
- data/test/dummy/public/javascripts/dragdrop.js +974 -0
- data/test/dummy/public/javascripts/effects.js +1123 -0
- data/test/dummy/public/javascripts/prototype.js +6001 -0
- data/test/dummy/public/javascripts/rails.js +202 -0
- data/test/dummy/public/stylesheets/.gitkeep +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/integration/auth_controller_test.rb +23 -0
- data/test/integration/client_application_controller_test.rb +24 -0
- data/test/integration/docs_controller_test.rb +8 -0
- data/test/integration/oauth_test.rb +17 -0
- data/test/opro_test.rb +24 -0
- data/test/support/integration_case.rb +5 -0
- data/test/test_helper.rb +99 -0
- 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.