Skip to content

Commit

Permalink
awww yeah 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jul 9, 2013
1 parent 66a3502 commit 9b1f16d
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 28 deletions.
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -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
~~~

Expand Down Expand Up @@ -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
~~~
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -405,10 +405,10 @@ These instructions assume that _you already have hub installed_ and aliased as
Meta
----

* Home: <https://github.com/defunkt/hub>
* Bugs: <https://github.com/defunkt/hub/issues>
* Home: <https://github.com/github/hub>
* Bugs: <https://github.com/github/hub/issues>
* Gem: <https://rubygems.org/gems/hub>
* Authors: <https://github.com/defunkt/hub/contributors>
* Authors: <https://github.com/github/hub/contributors>

### Prior art

Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -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 }
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions features/authentication.feature
Expand Up @@ -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') {
Expand All @@ -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') {
Expand Down
4 changes: 2 additions & 2 deletions hub.gemspec
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/hub/commands.rb
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/hub/github_api.rb
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions 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
Expand Down Expand Up @@ -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
10 changes: 5 additions & 5 deletions man/hub.1.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/hub.1.ronn
Expand Up @@ -194,14 +194,14 @@ variable:

## 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>

0 comments on commit 9b1f16d

Please sign in to comment.