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 1 commit
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
Next Next commit
Update gemspec
- Fix homepage URL
- Get the version from version.rb (less duplication)

Closes #341
  • Loading branch information
perlun committed May 15, 2018
commit b40dd6f44677d3d69494d56148a7c5440ca09ee5
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