2017-04-09 02:15:28 -04:00
|
|
|
version = File.read(File.expand_path("../VERSION", __FILE__)).strip
|
2008-08-31 03:49:22 -04:00
|
|
|
|
2017-04-09 02:15:28 -04:00
|
|
|
Gem::Specification.new 'sinatra', version do |s|
|
2011-07-24 04:10:58 -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"
|
2011-06-05 09:21:19 -04:00
|
|
|
s.authors = ["Blake Mizerany", "Ryan Tomayko", "Simon Rozet", "Konstantin Haase"]
|
|
|
|
s.email = "sinatrarb@googlegroups.com"
|
2011-06-05 09:24:01 -04:00
|
|
|
s.homepage = "http://www.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/*'] + [
|
|
|
|
".yardopts",
|
|
|
|
"AUTHORS.md",
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"CONTRIBUTING.md",
|
|
|
|
"Gemfile",
|
|
|
|
"LICENSE",
|
|
|
|
"MAINTENANCE.md",
|
|
|
|
"Rakefile",
|
|
|
|
"SECURITY.md",
|
2017-08-18 03:40:47 -04:00
|
|
|
"sinatra.gemspec",
|
|
|
|
"VERSION"]
|
2011-06-05 09:09:01 -04:00
|
|
|
s.test_files = s.files.select { |p| p =~ /^test\/.*_test.rb/ }
|
|
|
|
s.extra_rdoc_files = s.files.select { |p| p =~ /^README/ } << 'LICENSE'
|
2012-07-06 16:44:21 -04:00
|
|
|
s.rdoc_options = %w[--line-numbers --inline-source --title Sinatra --main README.rdoc --encoding=UTF-8]
|
2011-06-05 09:21:19 -04:00
|
|
|
|
2015-09-05 16:46:17 -04:00
|
|
|
s.required_ruby_version = '>= 2.2.0'
|
2015-09-05 04:55:42 -04:00
|
|
|
|
2016-06-30 22:14:08 -04:00
|
|
|
s.add_dependency 'rack', '~> 2.0'
|
2015-07-27 01:51:25 -04:00
|
|
|
s.add_dependency 'tilt', '~> 2.0'
|
2017-04-09 02:15:28 -04:00
|
|
|
s.add_dependency 'rack-protection', version
|
2017-03-27 22:27:10 -04:00
|
|
|
s.add_dependency 'mustermann', '~> 1.0'
|
2008-08-31 03:49:22 -04:00
|
|
|
end
|