Change instances of caskroom.io to caskroom.github.io
This commit is contained in:
parent
ff4e0ea305
commit
b704b48b2f
@ -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}"
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user