Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VERSION file to gemspec #1338

Merged
merged 1 commit into from
Aug 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add VERSION file to gemspec
  - Fixes #1308
  • Loading branch information
olleolleolle committed Aug 18, 2017
commit 5b3c1ac686a6f9be092715ddf6f4c72866630175
3 changes: 2 additions & 1 deletion sinatra.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Gem::Specification.new 'sinatra', version do |s|
"MAINTENANCE.md",
"Rakefile",
"SECURITY.md",
"sinatra.gemspec"]
"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.rdoc_options = %w[--line-numbers --inline-source --title Sinatra --main README.rdoc --encoding=UTF-8]
Expand Down