Skip to content

Commit 93e17d6

Browse files
committed
Fix gemspec
1 parent e028197 commit 93e17d6

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

ruby-hdf5.gemspec

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,12 @@ Gem::Specification.new do |spec|
1313
spec.license = 'MIT'
1414
spec.required_ruby_version = '>= 3.2.0'
1515

16-
# Specify which files should be added to the gem when it is released.
17-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18-
spec.files = Dir.chdir(__dir__) do
19-
`git ls-files -z`.split("\x0").reject do |f|
20-
(File.expand_path(f) == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
21-
end
22-
end
16+
spec.files = Dir["*.{md,txt}", "{lib}/**/*", "vendor/*.{so,dylib,dll}"]
17+
spec.require_path = "lib"
2318
spec.require_paths = ['lib']
2419

2520
spec.add_dependency 'ffi'
2621
spec.add_dependency 'pkg-config'
2722

28-
# For more information and examples about making a new gem, check out our
29-
# guide at: https://bundler.io/guides/creating_gem.html
23+
spec.metadata["msys2_mingw_dependencies"] = "hdf5"
3024
end

0 commit comments

Comments
 (0)