File: rack.gemspec

package info (click to toggle)
ruby-rack 2.0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,392 kB
  • sloc: ruby: 14,467; sh: 12; makefile: 6
file content (34 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download | duplicates (2)
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
Gem::Specification.new do |s|
  s.name            = "rack"
  s.version = File.read('lib/rack.rb')[/RELEASE += +([\"\'])([\d][\w\.]+)\1/, 2]
  s.platform        = Gem::Platform::RUBY
  s.summary         = "a modular Ruby webserver interface"
  s.license         = "MIT"

  s.description = <<-EOF
Rack provides a minimal, modular and adaptable interface for developing
web applications in Ruby.  By wrapping HTTP requests and responses in
the simplest way possible, it unifies and distills the API for web
servers, web frameworks, and software in between (the so-called
middleware) into a single method call.

Also see https://rack.github.io/.
EOF

  s.files           = Dir['{bin/*,contrib/*,example/*,lib/**/*,test/**/*}'] +
                        %w(COPYING rack.gemspec Rakefile README.rdoc SPEC)
  s.bindir          = 'bin'
  s.executables     << 'rackup'
  s.require_path    = 'lib'
  s.extra_rdoc_files = ['README.rdoc', 'HISTORY.md']
  s.test_files      = Dir['test/spec_*.rb']

  s.author          = 'Leah Neukirchen'
  s.email           = 'leah@vuxu.org'
  s.homepage        = 'https://rack.github.io/'
  s.required_ruby_version = '>= 2.2.2'

  s.add_development_dependency 'minitest', "~> 5.0"
  s.add_development_dependency 'minitest-sprint'
  s.add_development_dependency 'rake'
end