redirector 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/HISTORY +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +71 -0
  4. data/Rakefile +19 -0
  5. data/app/models/redirect_rule.rb +61 -0
  6. data/app/models/request_environment_rule.rb +23 -0
  7. data/db/migrate/20120815212612_create_redirect_rules.rb +14 -0
  8. data/db/migrate/20120823163756_create_request_environment_rules.rb +13 -0
  9. data/lib/redirector/engine.rb +7 -0
  10. data/lib/redirector/middleware.rb +66 -0
  11. data/lib/redirector/regex_attribute.rb +38 -0
  12. data/lib/redirector/version.rb +3 -0
  13. data/lib/redirector.rb +6 -0
  14. data/redirector.gemspec +29 -0
  15. data/spec/dummy/README.rdoc +261 -0
  16. data/spec/dummy/Rakefile +7 -0
  17. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  18. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  19. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  20. data/spec/dummy/app/controllers/news_controller.rb +9 -0
  21. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  22. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/spec/dummy/config/application.rb +59 -0
  24. data/spec/dummy/config/boot.rb +10 -0
  25. data/spec/dummy/config/database.yml +17 -0
  26. data/spec/dummy/config/environment.rb +5 -0
  27. data/spec/dummy/config/environments/development.rb +37 -0
  28. data/spec/dummy/config/environments/production.rb +67 -0
  29. data/spec/dummy/config/environments/test.rb +37 -0
  30. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/spec/dummy/config/initializers/inflections.rb +15 -0
  32. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  33. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  34. data/spec/dummy/config/initializers/session_store.rb +8 -0
  35. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  36. data/spec/dummy/config/locales/en.yml +5 -0
  37. data/spec/dummy/config/routes.rb +3 -0
  38. data/spec/dummy/config.ru +4 -0
  39. data/spec/dummy/db/schema.rb +41 -0
  40. data/spec/dummy/log/development.log +128 -0
  41. data/spec/dummy/log/test.log +8699 -0
  42. data/spec/dummy/public/404.html +26 -0
  43. data/spec/dummy/public/422.html +26 -0
  44. data/spec/dummy/public/500.html +25 -0
  45. data/spec/dummy/public/favicon.ico +0 -0
  46. data/spec/dummy/script/rails +6 -0
  47. data/spec/factories/redirect_rules.rb +16 -0
  48. data/spec/factories/request_environment_rules.rb +15 -0
  49. data/spec/models/redirect_rule_spec.rb +153 -0
  50. data/spec/models/request_environment_rule_spec.rb +64 -0
  51. data/spec/requests/middleware_spec.rb +18 -0
  52. data/spec/spec_helper.rb +27 -0
  53. metadata +255 -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.