Only add the english README when generating RDoc

This commit is contained in:
Eloy Perez 2020-12-28 14:44:25 +01:00
parent 9fbb02d492
commit 2041c4697a
No known key found for this signature in database
GPG Key ID: FA19B344EAD70E3F
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ Gem::Specification.new 'sinatra', version do |s|
"sinatra.gemspec",
"VERSION"]
s.test_files = s.files.select { |p| p =~ /^test\/.*_test.rb/ }
s.extra_rdoc_files = s.files.select { |p| p =~ /^README/ } << 'LICENSE'
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)