Skip to content

Commit 9ce8f85

Browse files
authored
Merge pull request #904 from ruby/fix-spec-files
Use Dir.glob and base keyword arg for the installer of Ruby package
2 parents 11755ef + b8c17e4 commit 9ce8f85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openssl.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Gem::Specification.new do |spec|
1313
spec.files = []
1414
spec.add_runtime_dependency('jruby-openssl', '~> 0.14')
1515
else
16-
spec.files = Dir["lib/**/*.rb", "ext/**/*.{c,h,rb}", "*.md", "BSDL", "COPYING"]
16+
spec.files = Dir.glob(["lib/**/*.rb", "ext/**/*.{c,h,rb}", "*.md"], base: File.expand_path("..", __FILE__)) +
17+
["BSDL", "COPYING"]
1718
spec.require_paths = ["lib"]
1819
spec.extensions = ["ext/openssl/extconf.rb"]
1920
end

0 commit comments

Comments
 (0)