aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorVítor Galvão2017-03-12 12:59:10 +0000
committerGitHub2017-03-12 12:59:10 +0000
commit5d9215b2118e14cf666be3bd3c26146130ff7342 (patch)
tree22f5cfc87d2cd89eebdfca10695c38f330d2cc1c /Library
parentff4e0ea30589ca78ea1b786df40dc42fde2f6c73 (diff)
parentb704b48b2f83a63b34806aa98214b2d5fa11133f (diff)
downloadbrew-5d9215b2118e14cf666be3bd3c26146130ff7342.tar.bz2
Merge pull request #2249 from Numbermaniac/remove-caskroom-io-2
Change instances of caskroom.io to caskroom.github.io
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/home.rb2
-rw-r--r--Library/Homebrew/cask/lib/hbc/url.rb2
-rw-r--r--Library/Homebrew/manpages/brew-cask.1.md4
-rw-r--r--Library/Homebrew/test/cask/cli/home_spec.rb2
-rw-r--r--Library/Homebrew/test/cask/download_strategy_spec.rb2
5 files changed, 6 insertions, 6 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