From 9b1f16d3939ae08dc19ee9155cb8650219f4b0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Tue, 9 Jul 2013 22:32:00 +0200 Subject: [PATCH] awww yeah :fire: --- README.md | 16 ++++++++-------- Rakefile | 4 ++-- features/authentication.feature | 4 ++-- hub.gemspec | 4 ++-- lib/hub/commands.rb | 2 +- lib/hub/github_api.rb | 2 +- man/hub.1 | 8 ++++---- man/hub.1.html | 10 +++++----- man/hub.1.ronn | 6 +++--- 9 files changed, 28 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index a27878a7b..8ebcd3cc7 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ $ brew install hub `hub` is easily installed as a standalone script: ~~~ sh -$ curl http://defunkt.io/hub/standalone -sLo ~/bin/hub && +$ curl http://github.github.com/hub/standalone -sLo ~/bin/hub && chmod +x ~/bin/hub ~~~ @@ -83,7 +83,7 @@ run, so it's faster. You can also install from source: ~~~ sh -$ git clone git://github.com/defunkt/hub.git +$ git clone git://github.com/github/hub.git $ cd hub $ rake install prefix=/usr/local ~~~ @@ -153,8 +153,8 @@ eval "$(hub alias -s)" hub repository contains tab-completion scripts for bash and zsh. These scripts complement existing completion scripts that ship with git. -* [hub bash completion](https://github.com/defunkt/hub/blob/master/etc/hub.bash_completion.sh) -* [hub zsh completion](https://github.com/defunkt/hub/blob/master/etc/hub.zsh_completion) +* [hub bash completion](https://github.com/github/hub/blob/master/etc/hub.bash_completion.sh) +* [hub zsh completion](https://github.com/github/hub/blob/master/etc/hub.zsh_completion) Commands @@ -382,7 +382,7 @@ These instructions assume that _you already have hub installed_ and aliased as `git` (see "Aliasing"). 1. Clone hub: - `git clone defunkt/hub && cd hub` + `git clone github/hub && cd hub` 1. Ensure Bundler is installed: `which bundle || gem install bundler` 1. Install development dependencies: @@ -405,10 +405,10 @@ These instructions assume that _you already have hub installed_ and aliased as Meta ---- -* Home: -* Bugs: +* Home: +* Bugs: * Gem: -* Authors: +* Authors: ### Prior art diff --git a/Rakefile b/Rakefile index 1601dc6ea..43ea322e5 100644 --- a/Rakefile +++ b/Rakefile @@ -71,7 +71,7 @@ if command? :ronn # generate man page with ronn compile_ronn = lambda { |destination, type, contents| - File.popen("ronn --pipe --#{type} --organization=DEFUNKT --manual='Git Manual'", 'w+') { |io| + File.popen("ronn --pipe --#{type} --organization=GITHUB --manual='Git Manual'", 'w+') { |io| io.write contents io.close_write File.open(destination, 'w') { |f| f << io.read } @@ -152,7 +152,7 @@ task :homebrew do sh 'git pull -q origin master' formula_file = 'Library/Formula/hub.rb' - sha = `curl -fsSL https://github.com/defunkt/hub/tarball/v#{Hub::VERSION} | shasum`.split(/\s+/).first + sha = `curl -fsSL https://github.com/github/hub/tarball/v#{Hub::VERSION} | shasum`.split(/\s+/).first abort unless $?.success? and sha.length == 40 formula = File.read formula_file diff --git a/features/authentication.feature b/features/authentication.feature index 840c50d38..e19e157ec 100644 --- a/features/authentication.feature +++ b/features/authentication.feature @@ -41,7 +41,7 @@ Feature: OAuth authentication halt 401 unless auth.credentials == %w[mislav kitty] json [ {:token => 'SKIPPD', :app => {:url => 'http://example.com'}}, - {:token => 'OTOKEN', :app => {:url => 'http://defunkt.io/hub/'}} + {:token => 'OTOKEN', :app => {:url => 'http://github.github.com/hub/'}} ] } get('/user') { @@ -66,7 +66,7 @@ Feature: OAuth authentication auth = Rack::Auth::Basic::Request.new(env) halt 401 unless auth.credentials == %w[mislav kitty] json [ - {:token => 'OTOKEN', :app => {:url => 'http://defunkt.io/hub/'}} + {:token => 'OTOKEN', :app => {:url => 'http://github.github.com/hub/'}} ] } get('/user') { diff --git a/hub.gemspec b/hub.gemspec index 0eda7ca38..e348e86b6 100644 --- a/hub.gemspec +++ b/hub.gemspec @@ -5,7 +5,7 @@ Gem::Specification.new do |s| s.name = "hub" s.version = Hub::VERSION s.summary = "Command-line wrapper for git and GitHub" - s.homepage = "http://defunkt.io/hub/" + s.homepage = "http://github.github.com/hub/" s.email = "mislav.marohnic@gmail.com" s.authors = [ "Chris Wanstrath", "Mislav Marohnić" ] s.license = "MIT" @@ -52,7 +52,7 @@ desc fashioned way. Faster startup time, you see. Check out the installation instructions at - https://github.com/defunkt/hub#readme under the + https://github.com/github/hub#readme under the "Standalone" section. Cheers, diff --git a/lib/hub/commands.rb b/lib/hub/commands.rb index 735dfca90..2119eead2 100644 --- a/lib/hub/commands.rb +++ b/lib/hub/commands.rb @@ -789,7 +789,7 @@ def api_client config_file = ENV['HUB_CONFIG'] || '~/.config/hub' file_store = GitHubAPI::FileStore.new File.expand_path(config_file) file_config = GitHubAPI::Configuration.new file_store - GitHubAPI.new file_config, :app_url => 'http://defunkt.io/hub/' + GitHubAPI.new file_config, :app_url => 'http://github.github.com/hub/' end end diff --git a/lib/hub/github_api.rb b/lib/hub/github_api.rb index f4e19a636..f6477ba84 100644 --- a/lib/hub/github_api.rb +++ b/lib/hub/github_api.rb @@ -15,7 +15,7 @@ module Hub # config_file = ENV['HUB_CONFIG'] || '~/.config/hub' # file_store = GitHubAPI::FileStore.new File.expand_path(config_file) # file_config = GitHubAPI::Configuration.new file_store - # GitHubAPI.new file_config, :app_url => 'http://defunkt.io/hub/' + # GitHubAPI.new file_config, :app_url => 'http://github.github.com/hub/' # end class GitHubAPI attr_reader :config, :oauth_app_url diff --git a/man/hub.1 b/man/hub.1 index 5d478d36a..e99bd2e56 100644 --- a/man/hub.1 +++ b/man/hub.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "HUB" "1" "June 2013" "DEFUNKT" "Git Manual" +.TH "HUB" "1" "July 2013" "GITHUB" "Git Manual" . .SH "NAME" \fBhub\fR \- git + hub = github @@ -462,10 +462,10 @@ $ git help hub .fi . .SH "BUGS" -\fIhttps://github\.com/defunkt/hub/issues\fR +\fIhttps://github\.com/github/hub/issues\fR . .SH "AUTHORS" -\fIhttps://github\.com/defunkt/hub/contributors\fR +\fIhttps://github\.com/github/hub/contributors\fR . .SH "SEE ALSO" -git(1), git\-clone(1), git\-remote(1), git\-init(1), \fIhttp://github\.com\fR, \fIhttps://github\.com/defunkt/hub\fR +git(1), git\-clone(1), git\-remote(1), git\-init(1), \fIhttp://github\.com\fR, \fIhttps://github\.com/github/hub\fR diff --git a/man/hub.1.html b/man/hub.1.html index 99ac50973..8482fc9cc 100644 --- a/man/hub.1.html +++ b/man/hub.1.html @@ -438,22 +438,22 @@

git help

BUGS

-

https://github.com/defunkt/hub/issues

+

https://github.com/github/hub/issues

AUTHORS

-

https://github.com/defunkt/hub/contributors

+

https://github.com/github/hub/contributors

SEE ALSO

git(1), git-clone(1), git-remote(1), git-init(1), http://github.com, -https://github.com/defunkt/hub

+https://github.com/github/hub

    -
  1. DEFUNKT
  2. -
  3. June 2013
  4. +
  5. GITHUB
  6. +
  7. July 2013
  8. hub(1)
diff --git a/man/hub.1.ronn b/man/hub.1.ronn index a25b04da7..2c048cb47 100644 --- a/man/hub.1.ronn +++ b/man/hub.1.ronn @@ -194,14 +194,14 @@ variable: ## BUGS - + ## AUTHORS - + ## SEE ALSO git(1), git-clone(1), git-remote(1), git-init(1), , - +