Skip to content
Snippets Groups Projects
Commit 5d9215b2 authored by Vítor Galvão's avatar Vítor Galvão Committed by GitHub
Browse files

Merge pull request #2249 from Numbermaniac/remove-caskroom-io-2

Change instances of caskroom.io to caskroom.github.io
parents ff4e0ea3 b704b48b
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ module Hbc ...@@ -4,7 +4,7 @@ module Hbc
def self.run(*cask_tokens) def self.run(*cask_tokens)
if cask_tokens.empty? if cask_tokens.empty?
odebug "Opening project homepage" odebug "Opening project homepage"
system "/usr/bin/open", "--", "http://caskroom.io/" system "/usr/bin/open", "--", "http://caskroom.github.io/"
else else
cask_tokens.each do |cask_token| cask_tokens.each do |cask_token|
odebug "Opening homepage for Cask #{cask_token}" odebug "Opening homepage for Cask #{cask_token}"
......
...@@ -2,7 +2,7 @@ require "forwardable" ...@@ -2,7 +2,7 @@ require "forwardable"
module Hbc module Hbc
class URL 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 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. ...@@ -64,7 +64,7 @@ names, and other aspects of this manual are still subject to change.
* `home` or `homepage` [ <token> ... ]: * `home` or `homepage` [ <token> ... ]:
Display the homepage associated with a given Cask in a browser. 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> ... ]: * `info` or `abv` <token> [ <token> ... ]:
Display information about the given Cask. Display information about the given Cask.
...@@ -248,7 +248,7 @@ Environment variables specific to Homebrew-Cask: ...@@ -248,7 +248,7 @@ Environment variables specific to Homebrew-Cask:
## SEE ALSO ## 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> The Homebrew-Cask GitHub page: <https://github.com/caskroom/homebrew-cask>
......
...@@ -40,7 +40,7 @@ describe Hbc::CLI::Home, :cask do ...@@ -40,7 +40,7 @@ describe Hbc::CLI::Home, :cask do
it "opens the project page when no Cask is specified" do it "opens the project page when no Cask is specified" do
Hbc::CLI::Home.run Hbc::CLI::Home.run
expect(Hbc::CLI::Home.system_commands).to eq [ expect(Hbc::CLI::Home.system_commands).to eq [
["/usr/bin/open", "--", "http://caskroom.io/"], ["/usr/bin/open", "--", "http://caskroom.github.io/"],
] ]
end end
end end
...@@ -60,7 +60,7 @@ describe "download strategies", :cask do ...@@ -60,7 +60,7 @@ describe "download strategies", :cask do
downloader.fetch downloader.fetch
end 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
end end
......
...@@ -67,7 +67,7 @@ Download remote application files for the given Cask to the local cache\. With \ ...@@ -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\. Display the homepage associated with a given Cask in a browser\.
. .
.IP .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 .TP
\fBinfo\fR or \fBabv\fR \fItoken\fR [ \fItoken\fR \.\.\. ] \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\ ...@@ -288,7 +288,7 @@ This variable may contain any arguments normally used as options on the command\
. .
.SH "SEE ALSO" .SH "SEE ALSO"
The Homebrew\-Cask home page: \fIhttp://caskroom\.io\fR The Homebrew\-Cask home page: \fIhttp://caskroom\.github\.io\fR
. .
.P .P
The Homebrew\-Cask GitHub page: \fIhttps://github\.com/caskroom/homebrew\-cask\fR The Homebrew\-Cask GitHub page: \fIhttps://github\.com/caskroom/homebrew\-cask\fR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment