2022-07-31 08:56:44 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
version = File.read(File.expand_path('VERSION', __dir__)).strip
|
2008-08-31 03:49:22 -04:00
|
|
|
|
2017-04-09 02:15:28 -04:00
|
|
|
Gem::Specification.new 'sinatra', version do |s|
|
2022-07-31 08:56:44 -04:00
|
|
|
s.description = 'Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.'
|
|
|
|
s.summary = 'Classy web-development dressed in a DSL'
|
|
|
|
s.authors = ['Blake Mizerany', 'Ryan Tomayko', 'Simon Rozet', 'Konstantin Haase']
|
|
|
|
s.email = 'sinatrarb@googlegroups.com'
|
|
|
|
s.homepage = 'http://sinatrarb.com/'
|
2013-11-17 08:30:04 -05:00
|
|
|
s.license = 'MIT'
|
2017-03-18 23:07:56 -04:00
|
|
|
s.files = Dir['README*.md', 'lib/**/*', 'examples/*'] + [
|
2022-07-31 08:56:44 -04:00
|
|
|
'.yardopts',
|
|
|
|
'AUTHORS.md',
|
|
|
|
'CHANGELOG.md',
|
|
|
|
'CONTRIBUTING.md',
|
|
|
|
'Gemfile',
|
|
|
|
'LICENSE',
|
|
|
|
'MAINTENANCE.md',
|
|
|
|
'Rakefile',
|
|
|
|
'SECURITY.md',
|
|
|
|
'sinatra.gemspec',
|
|
|
|
'VERSION'
|
|
|
|
]
|
2020-12-28 08:44:25 -05:00
|
|
|
s.extra_rdoc_files = %w[README.md LICENSE]
|
2020-12-28 08:43:30 -05:00
|
|
|
s.rdoc_options = %w[--line-numbers --title Sinatra --main README.rdoc --encoding=UTF-8]
|
2018-06-23 07:50:20 -04:00
|
|
|
|
2022-07-31 08:56:44 -04:00
|
|
|
unless s.respond_to?(:metadata)
|
|
|
|
raise <<-WARN
|
2018-06-23 07:50:20 -04:00
|
|
|
RubyGems 2.0 or newer is required to protect against public gem pushes. You can update your rubygems version by running:
|
|
|
|
gem install rubygems-update
|
|
|
|
update_rubygems:
|
|
|
|
gem update --system
|
2022-07-31 08:56:44 -04:00
|
|
|
WARN
|
2018-06-23 07:50:20 -04:00
|
|
|
end
|
2011-06-05 09:21:19 -04:00
|
|
|
|
2022-07-31 08:56:44 -04:00
|
|
|
s.metadata = {
|
|
|
|
'source_code_uri' => 'https://github.com/sinatra/sinatra',
|
2023-03-05 17:43:29 -05:00
|
|
|
'changelog_uri' => 'https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md',
|
2022-07-31 08:56:44 -04:00
|
|
|
'homepage_uri' => 'http://sinatrarb.com/',
|
|
|
|
'bug_tracker_uri' => 'https://github.com/sinatra/sinatra/issues',
|
|
|
|
'mailing_list_uri' => 'http://groups.google.com/group/sinatrarb',
|
|
|
|
'documentation_uri' => 'https://www.rubydoc.info/gems/sinatra'
|
|
|
|
}
|
|
|
|
|
2021-10-03 20:48:38 -04:00
|
|
|
s.required_ruby_version = '>= 2.6.0'
|
2015-09-05 04:55:42 -04:00
|
|
|
|
2022-07-31 08:56:44 -04:00
|
|
|
s.add_dependency 'mustermann', '~> 3.0'
|
2022-12-28 05:03:49 -05:00
|
|
|
s.add_dependency 'rack', '~> 2.2', '>= 2.2.4'
|
2017-04-09 02:15:28 -04:00
|
|
|
s.add_dependency 'rack-protection', version
|
2022-07-31 08:56:44 -04:00
|
|
|
s.add_dependency 'tilt', '~> 2.0'
|
2022-07-25 10:12:27 -04:00
|
|
|
|
|
|
|
s.add_development_dependency 'rack-test', '~> 2'
|
2008-08-31 03:49:22 -04:00
|
|
|
end
|