aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib
diff options
context:
space:
mode:
authorMike McQuaid2017-03-15 15:11:35 +0000
committerGitHub2017-03-15 15:11:35 +0000
commit4d88cc4c41113be2d5bf11c11fa671c763705a64 (patch)
tree211ee881e9c83a82587da853581c91192661bcfd /Library/Homebrew/cask/lib
parente9e6dcf8930395e4284bbab07b500dd7cb5e5fe5 (diff)
parentcc8f029f222a618eb30b585ccb22efcce1e5cf91 (diff)
downloadbrew-4d88cc4c41113be2d5bf11c11fa671c763705a64.tar.bz2
Merge pull request #2326 from vszakats/sprot
secure urls + remove -k from in-doc curl command
Diffstat (limited to 'Library/Homebrew/cask/lib')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/home.rb2
-rw-r--r--Library/Homebrew/cask/lib/hbc/url.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/home.rb b/Library/Homebrew/cask/lib/hbc/cli/home.rb
index 13b721859..4734bfebb 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.github.io/"
+ system "/usr/bin/open", "--", "https://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 dd34119db..07b41fb80 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.github.io".freeze
+ FAKE_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10) https://caskroom.github.io".freeze
attr_reader :using, :revision, :trust_cert, :uri, :cookies, :referer, :data