rails-prg.gemspec in rails-prg-0.1.0 vs rails-prg.gemspec in rails-prg-0.1.1
- old
+ new
@@ -8,17 +8,20 @@
spec.version = Rails::Prg::VERSION
spec.authors = ["Tom Meier"]
spec.email = ["tom@venombytes.com"]
spec.summary = %q{Allow Rails to use full POST-REDIRECT-GET pattern on errors.}
spec.description = %q{
- Secure applications must not use browser history or cache, this can cause problems
- with some browsers when following standard Rails pattern for POST -> Error -> Render -> Success -> Redirect.
- For full protection from ERR_CACHE_MISS (in Chrome with no-cache, no-store),
- Rails should redirect on errors as well as on success,
- always following full POST-REDIRECT-GET pattern.
- This way the browser will always have a consistent back-button history to traverse without
- triggering browser errors unable to display form submission pages.
+ Secure applications disable browser history and internal cache.
+ Unfortunately, this causes problems with most browsers when following
+ the standard Rails pattern for displaying errors.
+
+ For full protection from ERR_CACHE_MISS (in Chrome with no-cache, no-store),
+ and equivalent in other browsers, the pattern should be altered to follow
+ a full POST-REDIRECT-GET patten.
+
+ This way the browser will always have a consistent back-button history to
+ traverse without triggering browser errors.
}
spec.homepage = "https://github.com/tommeier/rails-prg"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
@@ -34,9 +37,11 @@
spec.add_development_dependency "cane"
spec.add_development_dependency "capybara"
spec.add_development_dependency "database_cleaner"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec-rails"
+ spec.add_development_dependency "sauce", "~> 3.1.1"
+ spec.add_development_dependency "sauce-connect"
spec.add_development_dependency "selenium-webdriver"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "sprockets-rails"
end