Ensure examples, all lib files, Gemfile and Rakefile are included in package

This commit is contained in:
Zachary Scott 2016-02-02 18:00:38 +09:00
parent 1666dade4f
commit d6915b1b6a
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ Gem::Specification.new 'sinatra', Sinatra::VERSION do |s|
s.email = "sinatrarb@googlegroups.com"
s.homepage = "http://www.sinatrarb.com/"
s.license = 'MIT'
s.files = %w(.yardopts AUTHORS.md CHANGELOG.md CONTRIBUTING.md LICENSE MAINTENANCE.md SECURITY.md sinatra.gemspec) + Dir['README.*.md', 'lib/**/*.rb']
s.files = %w(.yardopts AUTHORS.md CHANGELOG.md CONTRIBUTING.md Gemfile LICENSE MAINTENANCE.md Rakefile SECURITY.md sinatra.gemspec) + Dir['README*.md', 'lib/**/*', 'examples/*']
s.test_files = s.files.select { |p| p =~ /^test\/.*_test.rb/ }
s.extra_rdoc_files = s.files.select { |p| p =~ /^README/ } << 'LICENSE'
s.rdoc_options = %w[--line-numbers --inline-source --title Sinatra --main README.rdoc --encoding=UTF-8]