Skip to content

Update gemspec #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Library for using Git in Ruby.

Git public hosting of the project source code is at:

http://github.com/schacon/ruby-git
http://github.com/ruby-git/ruby-git

## Install

Expand All @@ -17,9 +17,8 @@ You can install Ruby/Git like this:
## Code Status

* [![Build Status](https://travis-ci.org/ruby-git/ruby-git.svg?branch=master)](https://travis-ci.org/ruby-git/ruby-git)
* [![Code Climate](https://codeclimate.com/github/schacon/ruby-git.png)](https://codeclimate.com/github/schacon/ruby-git)
* [![Code Climate](https://codeclimate.com/github/ruby-git/ruby-git.png)](https://codeclimate.com/github/ruby-git/ruby-git)
* [![Gem Version](https://badge.fury.io/rb/git.png)](http://badge.fury.io/rb/git)
* [![Dependencies](https://gemnasium.com/schacon/ruby-git.png?travis)](https://gemnasium.com/schacon/ruby-git)

## Major Objects

Expand Down Expand Up @@ -155,7 +154,7 @@ Here are the operations that need read permission only.
g.show('HEAD')
g.show('v2.8', 'README.md')

Git.ls_remote('https://github.com/schacon/ruby-git.git') # returns a hash containing the available references of the repo.
Git.ls_remote('https://github.com/ruby-git/ruby-git.git') # returns a hash containing the available references of the repo.
Git.ls_remote('/path/to/local/repo')
Git.ls_remote() # same as Git.ls_remote('.')

Expand Down
12 changes: 7 additions & 5 deletions git.gemspec
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'git/version'

Gem::Specification.new do |s|
s.authors = ['Scott Chacon']
s.date = '2016-02-25'
s.author = 'Scott Chacon and others'
s.email = 'schacon@gmail.com'
s.homepage = 'http://github.com/schacon/ruby-git'
s.homepage = 'http://github.com/ruby-git/ruby-git'
s.license = 'MIT'
s.name = 'git'
s.summary = 'Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories by wrapping system calls to the git binary.'
s.version = '1.3.0'
s.version = Git::VERSION

s.require_paths = ['lib']
s.required_ruby_version = '>= 1.9'
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
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_development_dependency 'rake'
Expand Down
2 changes: 0 additions & 2 deletions lib/git/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module Git

# The current gem version
# @return [String] the current gem version.
VERSION='1.3.0'

end