From 0b49d56d20a54121c1548934302bd56786853e15 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Thu, 24 Mar 2011 12:37:03 -0700 Subject: [PATCH] gem rename: git-hub => hub --- README.md | 10 +++----- git-hub.gemspec | 52 ++----------------------------------- hub.gemspec | 62 +++++++++++++++++++++++++++++++++++++++++++++ lib/hub/commands.rb | 6 ++--- 4 files changed, 70 insertions(+), 60 deletions(-) create mode 100644 hub.gemspec diff --git a/README.md b/README.md index af8d2735..65b38d87 100644 --- a/README.md +++ b/README.md @@ -51,18 +51,14 @@ Assuming `~/bin/` is in your `$PATH`, you're ready to roll: Though not recommended, `hub` can also be installed as a RubyGem: - $ gem install git-hub - -Yes, the gem name is "git-hub". + $ gem install hub (It's not recommended for casual use because of the RubyGems startup time. See [this gist][speed] for information.) ### Standalone via RubyGems -Yes, the gem name is still "git-hub": - - $ gem install git-hub + $ gem install hub $ hub hub standalone > ~/bin/hub && chmod 755 ~/bin/hub This installs a standalone version which doesn't require RubyGems to @@ -340,7 +336,7 @@ Meta * Bugs: * List: * Test: -* Gems: +* Gems: Authors diff --git a/git-hub.gemspec b/git-hub.gemspec index 77d4daa1..c6d9e1fb 100644 --- a/git-hub.gemspec +++ b/git-hub.gemspec @@ -5,58 +5,10 @@ Gem::Specification.new do |s| s.name = "git-hub" s.version = Hub::VERSION s.date = Time.now.strftime('%Y-%m-%d') - s.summary = "hub introduces git to GitHub" + s.summary = "The `git-hub' gem has been renamed `hub'." s.homepage = "http://github.com/defunkt/hub" s.email = "chris@ozmm.org" s.authors = [ "Chris Wanstrath" ] s.has_rdoc = false - - s.files = %w( README.md Rakefile LICENSE ) - s.files += Dir.glob("lib/**/*") - s.files += Dir.glob("bin/**/*") - s.files += Dir.glob("man/**/*") - s.files += Dir.glob("test/**/*") - - s.executables = %w( hub ) - s.description = < ~/bin/hub && chmod 755 ~/bin/hub - # $ gem uninstall git-hub + # $ gem uninstall hub def hub(args) return help(args) unless args[1] == 'standalone' require 'hub/standalone' -- GitLab