Sha256: 0d86b318f5afcc4c41fac1fd4f1294d97a78b6c60b0ec6d2deaed0afd092dd1e

Contents?: true

Size: 1.92 KB

Versions: 2

Compression:

Stored size: 1.92 KB

Contents

$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 'addressable', '~> 2.8'
  s.add_runtime_dependency 'rchardet', '~> 1.8'

  s.add_development_dependency 'bump', '~> 0.10'
  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', '>= 0.9.28'
    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|bin)/}) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git-1.13.0 git.gemspec
git-1.12.0 git.gemspec