forked from mjackson/rack-accept
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrack-accept.gemspec
33 lines (23 loc) · 961 Bytes
/
rack-accept.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
$LOAD_PATH.unshift(File.expand_path('../lib', __FILE__))
require 'rack/accept/version'
Gem::Specification.new do |s|
s.name = 'rack-accept'
s.version = Rack::Accept.version
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = 'HTTP Accept* for Ruby/Rack'
s.description = 'HTTP Accept, Accept-Charset, Accept-Encoding, and Accept-Language for Ruby/Rack'
s.author = 'Michael Jackson'
s.email = '[email protected]'
s.require_paths = %w< lib >
s.files = Dir['doc/**/*'] +
Dir['lib/**/*.rb'] +
Dir['test/*.rb'] +
%w< CHANGES rack-accept.gemspec Rakefile README >
s.test_files = s.files.select {|path| path =~ /^test\/.*_test.rb/ }
s.add_dependency('rack', '>= 0.4')
s.add_development_dependency('rake')
s.has_rdoc = true
s.rdoc_options = %w< --line-numbers --inline-source --title Rack::Accept --main Rack::Accept >
s.extra_rdoc_files = %w< CHANGES README >
s.homepage = 'http://mjijackson.com/rack-accept'
end