diff --git a/Library/Homebrew/cask/lib/hbc/cli/home.rb b/Library/Homebrew/cask/lib/hbc/cli/home.rb index b35b08279b354890203ee5452d867446645a82e1..13b721859e37ee96b63ea33758e61d08941dcdde 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/home.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/home.rb @@ -4,7 +4,7 @@ module Hbc def self.run(*cask_tokens) if cask_tokens.empty? odebug "Opening project homepage" - system "/usr/bin/open", "--", "http://caskroom.io/" + system "/usr/bin/open", "--", "http://caskroom.github.io/" else cask_tokens.each do |cask_token| odebug "Opening homepage for Cask #{cask_token}" diff --git a/Library/Homebrew/cask/lib/hbc/url.rb b/Library/Homebrew/cask/lib/hbc/url.rb index 1a5101da1fdbbc276ab31d15c503a2949a8ca3a5..dd34119db8679b327ca20403258ee993961595b8 100644 --- a/Library/Homebrew/cask/lib/hbc/url.rb +++ b/Library/Homebrew/cask/lib/hbc/url.rb @@ -2,7 +2,7 @@ require "forwardable" module Hbc class URL - FAKE_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10) http://caskroom.io".freeze + FAKE_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10) http://caskroom.github.io".freeze attr_reader :using, :revision, :trust_cert, :uri, :cookies, :referer, :data diff --git a/Library/Homebrew/manpages/brew-cask.1.md b/Library/Homebrew/manpages/brew-cask.1.md index e882f09d135759ebef052e52973b6f536f139b64..5ca863815c47f58d5bf1ff452e6099ff3c910f9e 100644 --- a/Library/Homebrew/manpages/brew-cask.1.md +++ b/Library/Homebrew/manpages/brew-cask.1.md @@ -64,7 +64,7 @@ names, and other aspects of this manual are still subject to change. * `home` or `homepage` [ <token> ... ]: Display the homepage associated with a given Cask in a browser. - With no arguments, display the project page <http://caskroom.io>. + With no arguments, display the project page <http://caskroom.github.io>. * `info` or `abv` <token> [ <token> ... ]: Display information about the given Cask. @@ -248,7 +248,7 @@ Environment variables specific to Homebrew-Cask: ## SEE ALSO -The Homebrew-Cask home page: <http://caskroom.io> +The Homebrew-Cask home page: <http://caskroom.github.io> The Homebrew-Cask GitHub page: <https://github.com/caskroom/homebrew-cask> diff --git a/Library/Homebrew/test/cask/cli/home_spec.rb b/Library/Homebrew/test/cask/cli/home_spec.rb index a5359f24ff8cc1124e319f193d61460c07a7deb3..5208b33900498d2fe8385ea14a9a928c9d70cf94 100644 --- a/Library/Homebrew/test/cask/cli/home_spec.rb +++ b/Library/Homebrew/test/cask/cli/home_spec.rb @@ -40,7 +40,7 @@ describe Hbc::CLI::Home, :cask do it "opens the project page when no Cask is specified" do Hbc::CLI::Home.run expect(Hbc::CLI::Home.system_commands).to eq [ - ["/usr/bin/open", "--", "http://caskroom.io/"], + ["/usr/bin/open", "--", "http://caskroom.github.io/"], ] end end diff --git a/Library/Homebrew/test/cask/download_strategy_spec.rb b/Library/Homebrew/test/cask/download_strategy_spec.rb index ca082c581fcd5c7ee001d649311a744110e34ff9..0d92b74ec6f3afc59a95ac733bd71dbf9f72d61c 100644 --- a/Library/Homebrew/test/cask/download_strategy_spec.rb +++ b/Library/Homebrew/test/cask/download_strategy_spec.rb @@ -60,7 +60,7 @@ describe "download strategies", :cask do downloader.fetch end - expect(curl_args.each_cons(2)).to include(["-A", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10) http://caskroom.io"]) + expect(curl_args.each_cons(2)).to include(["-A", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10) http://caskroom.github.io"]) end end diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index 1a43996acb5a479b7faef05ce727932584821343..64ff39c59b33f2722917215c3370d437396fdf9b 100644 --- a/manpages/brew-cask.1 +++ b/manpages/brew-cask.1 @@ -67,7 +67,7 @@ Download remote application files for the given Cask to the local cache\. With \ Display the homepage associated with a given Cask in a browser\. . .IP -With no arguments, display the project page \fIhttp://caskroom\.io\fR\. +With no arguments, display the project page \fIhttp://caskroom\.github\.io\fR\. . .TP \fBinfo\fR or \fBabv\fR \fItoken\fR [ \fItoken\fR \.\.\. ] @@ -288,7 +288,7 @@ This variable may contain any arguments normally used as options on the command\ . .SH "SEE ALSO" -The Homebrew\-Cask home page: \fIhttp://caskroom\.io\fR +The Homebrew\-Cask home page: \fIhttp://caskroom\.github\.io\fR . .P The Homebrew\-Cask GitHub page: \fIhttps://github\.com/caskroom/homebrew\-cask\fR