-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrails-prg.gemspec
48 lines (42 loc) · 1.93 KB
/
rails-prg.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rails/prg/version"
Gem::Specification.new do |spec|
spec.name = "rails-prg"
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 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($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "actionpack"
spec.add_dependency "railties"
spec.add_development_dependency "activerecord"
spec.add_development_dependency "bundler", "~> 1.5"
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