Merge pull request #6014 from vitorgalvao/caskroom-home

cask home: update to brew.sh
This commit is contained in:
Mike McQuaid 2019-04-14 10:00:15 +01:00 committed by GitHub
commit 3b842ef41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ module Cask
def run
if casks.none?
odebug "Opening project homepage"
self.class.open_url "https://caskroom.github.io/"
self.class.open_url "https://brew.sh/"
else
casks.each do |cask|
odebug "Opening homepage for Cask #{cask}"

View File

@ -48,7 +48,7 @@ graphical user interface.
* `home` or `homepage` [ <token> ... ]:
Display the homepage associated with a given Cask in a browser.
With no arguments, display the project page <https://caskroom.github.io/>.
With no arguments, display the project page <https://brew.sh/>.
* `info` or `abv` <token> [ <token> ... ]:
Display information about the given Cask.
@ -249,7 +249,7 @@ Other environment variables:
## SEE ALSO
The Homebrew Cask home page: <https://caskroom.github.io/>
The Homebrew home page: <https://brew.sh/>
The Homebrew Cask GitHub page: <https://github.com/Homebrew/homebrew-cask>

View File

@ -19,7 +19,7 @@ describe Cask::Cmd::Home, :cask do
end
it "opens the project page when no Cask is specified" do
expect(described_class).to receive(:open_url).with("https://caskroom.github.io/")
expect(described_class).to receive(:open_url).with("https://brew.sh/")
described_class.run
end
end

View File

@ -53,7 +53,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 \fIhttps://caskroom\.github\.io/\fR\.
With no arguments, display the project page \fIhttps://brew\.sh/\fR\.
.
.TP
\fBinfo\fR or \fBabv\fR \fItoken\fR [ \fItoken\fR \.\.\. ]
@ -288,7 +288,7 @@ Other environment variables:
When this variable is set, Homebrew Cask will call \fBsudo\fR(8) with the \fB\-A\fR option\.
.
.SH "SEE ALSO"
The Homebrew Cask home page: \fIhttps://caskroom\.github\.io/\fR
The Homebrew home page: \fIhttps://brew\.sh/\fR
.
.P
The Homebrew Cask GitHub page: \fIhttps://github\.com/Homebrew/homebrew\-cask\fR