Skip to content

Commit

Permalink
Gemspec for github
Browse files Browse the repository at this point in the history
  • Loading branch information
Les Hill and Rogelio J. Samour committed Apr 20, 2009
1 parent 8072e3f commit 8ea7fd8
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 1 deletion.
48 changes: 48 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
hitch
by Rogelio J. Samour
http://therubymug.com

== DESCRIPTION:

Hitch allows developers to be properly credited when Pair Programming and using Git.

== FEATURES/PROBLEMS:

* General Awesomeness

== SYNOPSIS:

hitch tpope

== REQUIREMENTS:

* Git, RubyGems

== INSTALL:

* sudo gem install therubymug-hitch

== LICENSE:

(The MIT License)

Copyright (c) 2008 Rogelio J. Samour

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 changes: 20 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,23 @@ PROJ.dependencies = ['highline']

PROJ.spec.opts << '--color'

# EOF
require 'fileutils'

spec = Gem::Specification.new do |s|
s.name = %q{hitch}
s.version = "0.0.1"
s.summary = %q{Hitch allows developers to be properly credited when Pair Programming and using Git.}
s.email = %q{ro@hashrocket.com}
s.homepage = %q{http://github.com/therubymug/hitch}
s.has_rdoc = false
s.authors = ["Rogelio Samour", "Les Hill"]
s.files = %w( README.rdoc Rakefile ) + Dir["{bin,lib}/**/*"].sort
s.extra_rdoc_files = ["README.rdoc"]
s.executables = ["hitch", "unhitch", "hitchrc"]
end

desc "Generate the static gemspec required for github"
task :gemspec do
open("hitch.gemspec", "w").write(spec.to_ruby)
end

28 changes: 28 additions & 0 deletions hitch.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{hitch}
s.version = "0.0.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Rogelio Samour", "Les Hill"]
s.date = %q{2009-04-20}
s.email = %q{ro@hashrocket.com}
s.executables = ["hitch", "unhitch", "hitchrc"]
s.extra_rdoc_files = ["README.rdoc"]
s.files = ["README.rdoc", "Rakefile", "bin/hitch", "bin/hitchrc", "bin/unhitch", "lib/hitch.rb"]
s.homepage = %q{http://github.com/therubymug/hitch}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.1}
s.summary = %q{Hitch allows developers to be properly credited when Pair Programming and using Git.}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else
end
else
end
end

0 comments on commit 8ea7fd8

Please sign in to comment.