From b704b48b2f83a63b34806aa98214b2d5fa11133f Mon Sep 17 00:00:00 2001 From: Numbermaniac Date: Sat, 4 Mar 2017 09:53:21 +1100 Subject: Change instances of caskroom.io to caskroom.github.io --- Library/Homebrew/cask/lib/hbc/cli/home.rb | 2 +- Library/Homebrew/cask/lib/hbc/url.rb | 2 +- Library/Homebrew/manpages/brew-cask.1.md | 4 ++-- Library/Homebrew/test/cask/cli/home_spec.rb | 2 +- Library/Homebrew/test/cask/download_strategy_spec.rb | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Library') 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` [ ... ]: Display the homepage associated with a given Cask in a browser. - With no arguments, display the project page . + With no arguments, display the project page . * `info` or `abv` [ ... ]: Display information about the given Cask. @@ -248,7 +248,7 @@ Environment variables specific to Homebrew-Cask: ## SEE ALSO -The Homebrew-Cask home page: +The Homebrew-Cask home page: The Homebrew-Cask GitHub page: 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 -- cgit v1.2.3