-
Notifications
You must be signed in to change notification settings - Fork 19
/
rack_csrf.gemspec
48 lines (42 loc) · 1.57 KB
/
rack_csrf.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 'rack/csrf/version'
Gem::Specification.new do |spec|
spec.name = 'rack_csrf'
spec.version = Rack::Csrf::VERSION
spec.authors = ['Emanuele Vicentini']
spec.email = ['[email protected]']
spec.description = 'Anti-CSRF Rack middleware'
spec.summary = 'Anti-CSRF Rack middleware'
spec.homepage = 'https://github.com/baldowl/rack_csrf'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.rdoc_options = [
'--line-numbers',
'--inline-source',
'--title',
"Rack::Csrf #{Rack::Csrf::VERSION}",
'--main',
'README.rdoc'
]
spec.extra_rdoc_files = [
'LICENSE.rdoc',
'README.rdoc'
]
spec.required_ruby_version = '>= 1.9.2'
if ENV['TEST_WITH_RACK']
spec.add_runtime_dependency 'rack', "~> #{ENV['TEST_WITH_RACK']}"
else
spec.add_runtime_dependency 'rack', '>= 1.1.0'
end
spec.add_development_dependency 'bundler', '>= 1.0.0'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'cucumber', '~> 8.0'
spec.add_development_dependency 'rack-test', '>= 0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rdoc', '>= 2.4.2'
spec.add_development_dependency 'git', '>= 1.2.5'
end