redirector 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +71 -0
- data/Rakefile +19 -0
- data/app/models/redirect_rule.rb +61 -0
- data/app/models/request_environment_rule.rb +23 -0
- data/db/migrate/20120815212612_create_redirect_rules.rb +14 -0
- data/db/migrate/20120823163756_create_request_environment_rules.rb +13 -0
- data/lib/redirector/engine.rb +7 -0
- data/lib/redirector/middleware.rb +66 -0
- data/lib/redirector/regex_attribute.rb +38 -0
- data/lib/redirector/version.rb +3 -0
- data/lib/redirector.rb +6 -0
- data/redirector.gemspec +29 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/news_controller.rb +9 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +59 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +17 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/schema.rb +41 -0
- data/spec/dummy/log/development.log +128 -0
- data/spec/dummy/log/test.log +8699 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories/redirect_rules.rb +16 -0
- data/spec/factories/request_environment_rules.rb +15 -0
- data/spec/models/redirect_rule_spec.rb +153 -0
- data/spec/models/request_environment_rule_spec.rb +64 -0
- data/spec/requests/middleware_spec.rb +18 -0
- data/spec/spec_helper.rb +27 -0
- 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.