Debian Codegraph @

lib/tmpdir.gemspec

raw
1 Gem::Specification.new do |spec|
2 spec.name = "tmpdir"
3 spec.version = "0.2.0"
4 spec.authors = ["Yukihiro Matsumoto"]
5 spec.email = ["[email protected]"]
6
7 spec.summary = %q{Extends the Dir class to manage the OS temporary file path.}
8 spec.description = %q{Extends the Dir class to manage the OS temporary file path.}
9 spec.homepage = "https://github.com/ruby/tmpdir"
10 spec.licenses = ["Ruby", "BSD-2-Clause"]
11 spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
12
13 spec.metadata["homepage_uri"] = spec.homepage
14 spec.metadata["source_code_uri"] = spec.homepage
15
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(File.expand_path('..', __FILE__)) do
19 `git ls-files -z 2>#{IO::NULL}`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20 end
21 spec.bindir = "exe"
22 spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23 spec.require_paths = ["lib"]
24
25 spec.add_dependency "fileutils"
26 end