Skip to content

Commit

Permalink
Merge feaf601 into 6240672
Browse files Browse the repository at this point in the history
  • Loading branch information
trusche committed Aug 5, 2019
2 parents 6240672 + feaf601 commit 34e83bb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions http.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ Gem::Specification.new do |gem|
gem.homepage = "https://github.com/httprb/http"
gem.licenses = ["MIT"]

gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Dir.chdir(__dir__) do
git_files = `git ls-files -z`.split("\x0")

gem.files = git_files.grep(%r{^lib/}) +
%w[http.gemspec README.md CHANGES.md LICENSE.txt]
gem.test_files = git_files.grep(%r{^spec/})
end

gem.name = "http"
gem.require_paths = ["lib"]
gem.version = HTTP::VERSION
Expand Down

0 comments on commit 34e83bb

Please sign in to comment.