diff options
| author | Numbermaniac | 2017-03-04 09:53:21 +1100 |
|---|---|---|
| committer | Numbermaniac | 2017-03-12 23:23:22 +1100 |
| commit | b704b48b2f83a63b34806aa98214b2d5fa11133f (patch) | |
| tree | 22f5cfc87d2cd89eebdfca10695c38f330d2cc1c | |
| parent | ff4e0ea30589ca78ea1b786df40dc42fde2f6c73 (diff) | |
| download | brew-b704b48b2f83a63b34806aa98214b2d5fa11133f.tar.bz2 | |
Change instances of caskroom.io to caskroom.github.io
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/home.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/url.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/manpages/brew-cask.1.md | 4 | ||||
| -rw-r--r-- | Library/Homebrew/test/cask/cli/home_spec.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/test/cask/download_strategy_spec.rb | 2 | ||||
| -rw-r--r-- | manpages/brew-cask.1 | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/home.rb b/Library/Homebrew/cask/lib/hbc/cli/home.rb index b35b08279..13b721859 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 1a5101da1..dd34119db 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 e882f09d1..5ca863815 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 a5359f24f..5208b3390 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 ca082c581..0d92b74ec 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 1a43996ac..64ff39c59 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 |
