diff options
| author | Viktor Szakats | 2017-03-12 19:44:01 +0000 |
|---|---|---|
| committer | Viktor Szakats | 2017-03-14 17:27:11 +0000 |
| commit | cc8f029f222a618eb30b585ccb22efcce1e5cf91 (patch) | |
| tree | 1a31cde9d122bc8b8027b201f30a8d147e96c74c /Library/Homebrew/cask/lib | |
| parent | 5d9215b2118e14cf666be3bd3c26146130ff7342 (diff) | |
| download | brew-cc8f029f222a618eb30b585ccb22efcce1e5cf91.tar.bz2 | |
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.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/url.rb | 2 |
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 |
