Skip to content

Commit

Permalink
Merge pull request #90 from ruby/restore-gemspec
Browse files Browse the repository at this point in the history
Restore gemspec file to gem package
  • Loading branch information
hsbt authored Jan 29, 2025
2 parents 53482b8 + d496a82 commit afaa298
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion net-smtp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Gem::Specification.new do |spec|
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage

spec.files = `git ls-files README.md NEWS.md LICENSE.txt lib`.split
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files README.md NEWS.md LICENSE.txt net-smtp.gemspec lib`.split
end
spec.require_paths = ["lib"]

spec.add_dependency "net-protocol"
Expand Down

0 comments on commit afaa298

Please sign in to comment.