加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
git.gemspec 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'git/version'
Gem::Specification.new do |s|
s.author = 'Scott Chacon and others'
s.email = 'schacon@gmail.com'
s.homepage = 'http://github.com/ruby-git/ruby-git'
s.license = 'MIT'
s.name = 'git'
s.summary = 'An API to create, read, and manipulate Git repositories'
s.description = <<~DESCRIPTION
The Git Gem provides an API that can be used to create, read, and manipulate
Git repositories by wrapping system calls to the `git` binary. The API can be
used for working with Git in complex interactions including branching and
merging, object inspection and manipulation, history, patch generation and
more.
DESCRIPTION
s.version = Git::VERSION
s.metadata['homepage_uri'] = s.homepage
s.metadata['source_code_uri'] = s.homepage
s.metadata['changelog_uri'] = 'http://rubydoc.info/gems/git/file.CHANGELOG.html'
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.3'
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to?(:required_rubygems_version=)
s.requirements = ['git 1.6.0.0, or greater']
s.add_runtime_dependency 'rchardet', '~> 1.8'
s.add_development_dependency 'minitar', '~> 0.9'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'test-unit', '~> 3.3'
unless RUBY_PLATFORM == 'java'
s.add_development_dependency 'redcarpet', '~> 3.5'
s.add_development_dependency 'yard', '~> 0.9'
s.add_development_dependency 'yardstick', '~> 0.9'
end
# 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.
s.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(tests|spec|features)/}) }
end
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化