2011-07-05 11:13:12 +02:00
|
|
|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
2011-07-04 21:08:16 -03:00
|
|
|
require 'sinatra/version'
|
2008-08-31 00:49:22 -07:00
|
|
|
|
2011-06-05 15:21:19 +02:00
|
|
|
Gem::Specification.new 'sinatra', Sinatra::VERSION do |s|
|
2011-07-24 10:10:58 +02: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 15:21:19 +02:00
|
|
|
s.authors = ["Blake Mizerany", "Ryan Tomayko", "Simon Rozet", "Konstantin Haase"]
|
|
|
|
s.email = "sinatrarb@googlegroups.com"
|
2011-06-05 15:24:01 +02:00
|
|
|
s.homepage = "http://www.sinatrarb.com/"
|
2013-11-17 19:00:04 +05:30
|
|
|
s.license = 'MIT'
|
2016-02-02 18:00:38 +09:00
|
|
|
s.files = %w(.yardopts AUTHORS.md CHANGELOG.md CONTRIBUTING.md Gemfile LICENSE MAINTENANCE.md Rakefile SECURITY.md sinatra.gemspec) + Dir['README*.md', 'lib/**/*', 'examples/*']
|
2011-06-05 15:09:01 +02: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-07 02:14:21 +05:30
|
|
|
s.rdoc_options = %w[--line-numbers --inline-source --title Sinatra --main README.rdoc --encoding=UTF-8]
|
2011-06-05 15:21:19 +02:00
|
|
|
|
2015-09-05 13:46:17 -07:00
|
|
|
s.required_ruby_version = '>= 2.2.0'
|
2015-09-05 01:55:42 -07:00
|
|
|
|
2016-07-01 10:14:08 +08:00
|
|
|
s.add_dependency 'rack', '~> 2.0'
|
2015-07-26 22:51:25 -07:00
|
|
|
s.add_dependency 'tilt', '~> 2.0'
|
2016-07-25 17:26:05 +09:00
|
|
|
s.add_dependency 'rack-protection', '~> 2.0'
|
2016-01-29 23:07:52 +01:00
|
|
|
s.add_dependency 'mustermann', '~> 0.4'
|
2008-08-31 00:49:22 -07:00
|
|
|
end
|