mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
32 lines
1.1 KiB
Ruby
32 lines
1.1 KiB
Ruby
# frozen_string_literal: true
|
|
Gem::Specification.new do |spec|
|
|
spec.name = "win32-registry"
|
|
spec.version = "0.1.0"
|
|
spec.authors = ["U.Nakamura"]
|
|
spec.email = ["usa@garbagecollect.jp"]
|
|
|
|
spec.summary = %q{Provides an interface to the Windows Registry in Ruby}
|
|
spec.description = spec.summary
|
|
spec.homepage = "https://github.com/ruby/win32-registry"
|
|
spec.required_ruby_version = ">= 2.6.0"
|
|
|
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
spec.metadata["source_code_uri"] = spec.homepage
|
|
|
|
# Specify which files should be added to the gem when it is released.
|
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
excludes = %w[
|
|
bin/ test/ spec/ features/ rakelib/
|
|
.git .github .mailmap appveyor Rakefile Gemfile
|
|
]
|
|
spec.files = Dir.chdir(__dir__) do
|
|
`git ls-files -z`.split("\x0").reject do |f|
|
|
File.identical?(f, __FILE__) || f.start_with?(*excludes)
|
|
end
|
|
end
|
|
spec.bindir = "exe"
|
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
spec.require_paths = ["lib"]
|
|
|
|
spec.add_dependency "fiddle", "~> 1.0"
|
|
end
|