File tree 3 files changed +10
-11
lines changed
3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Library for using Git in Ruby.
6
6
7
7
Git public hosting of the project source code is at:
8
8
9
- http://github.com/schacon /ruby-git
9
+ http://github.com/ruby-git /ruby-git
10
10
11
11
## Install
12
12
@@ -17,9 +17,8 @@ You can install Ruby/Git like this:
17
17
## Code Status
18
18
19
19
* [ ![ Build Status] ( https://travis-ci.org/ruby-git/ruby-git.svg?branch=master )] ( https://travis-ci.org/ruby-git/ruby-git )
20
- * [ ![ Code Climate] ( https://codeclimate.com/github/schacon /ruby-git.png )] ( https://codeclimate.com/github/schacon /ruby-git )
20
+ * [ ![ Code Climate] ( https://codeclimate.com/github/ruby-git /ruby-git.png )] ( https://codeclimate.com/github/ruby-git /ruby-git )
21
21
* [ ![ Gem Version] ( https://badge.fury.io/rb/git.png )] ( http://badge.fury.io/rb/git )
22
- * [ ![ Dependencies] ( https://gemnasium.com/schacon/ruby-git.png?travis )] ( https://gemnasium.com/schacon/ruby-git )
23
22
24
23
## Major Objects
25
24
@@ -155,7 +154,7 @@ Here are the operations that need read permission only.
155
154
g.show(' HEAD' )
156
155
g.show(' v2.8' , ' README.md' )
157
156
158
- Git .ls_remote(' https://github.com/schacon /ruby-git.git' ) # returns a hash containing the available references of the repo.
157
+ Git .ls_remote(' https://github.com/ruby-git /ruby-git.git' ) # returns a hash containing the available references of the repo.
159
158
Git .ls_remote(' /path/to/local/repo' )
160
159
Git .ls_remote() # same as Git.ls_remote('.')
161
160
Original file line number Diff line number Diff line change
1
+ $LOAD_PATH. unshift File . expand_path ( '../lib' , __FILE__ )
2
+ require 'git/version'
3
+
1
4
Gem ::Specification . new do |s |
2
- s . authors = [ 'Scott Chacon' ]
3
- s . date = '2016-02-25'
5
+ s . author = 'Scott Chacon and others'
4
6
s . email = 'schacon@gmail.com'
5
- s . homepage = 'http://github.com/schacon /ruby-git'
7
+ s . homepage = 'http://github.com/ruby-git /ruby-git'
6
8
s . license = 'MIT'
7
9
s . name = 'git'
8
10
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.'
9
- s . version = '1.3.0'
11
+ s . version = Git :: VERSION
10
12
11
13
s . require_paths = [ 'lib' ]
12
14
s . required_ruby_version = '>= 1.9'
13
- s . required_rubygems_version = Gem ::Requirement . new ( " >= 0" ) if s . respond_to? :required_rubygems_version=
15
+ s . required_rubygems_version = Gem ::Requirement . new ( ' >= 0' ) if s . respond_to? ( :required_rubygems_version= )
14
16
s . requirements = [ 'git 1.6.0.0, or greater' ]
15
17
16
18
s . add_development_dependency 'rake'
Original file line number Diff line number Diff line change 1
1
module Git
2
-
3
2
# The current gem version
4
3
# @return [String] the current gem version.
5
4
VERSION = '1.3.0'
6
-
7
5
end
You can’t perform that action at this time.
0 commit comments