forked from sinatra/sinatra
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sinatra.gemspec
49 lines (45 loc) · 1.81 KB
/
sinatra.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
49
version = File.read(File.expand_path("../VERSION", __FILE__)).strip
Gem::Specification.new 'sinatra', version do |s|
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 = "[email protected]"
s.homepage = "http://sinatrarb.com/"
s.license = 'MIT'
s.files = Dir['README*.md', 'lib/**/*', 'examples/*'] + [
".yardopts",
"AUTHORS.md",
"CHANGELOG.md",
"CONTRIBUTING.md",
"Gemfile",
"LICENSE",
"MAINTENANCE.md",
"Rakefile",
"SECURITY.md",
"sinatra.gemspec",
"VERSION"]
s.extra_rdoc_files = %w[README.md LICENSE]
s.rdoc_options = %w[--line-numbers --title Sinatra --main README.rdoc --encoding=UTF-8]
if s.respond_to?(:metadata)
s.metadata = {
'source_code_uri' => 'https://github.com/sinatra/sinatra',
'changelog_uri' => 'https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md',
'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'
}
else
raise <<-EOF
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
EOF
end
s.required_ruby_version = '>= 2.3.0'
s.add_dependency 'rack', '~> 2.2'
s.add_dependency 'tilt', '~> 2.0'
s.add_dependency 'rack-protection', version
s.add_dependency 'mustermann', '~> 1.0'
end