Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked frompoise/python

Commita76c1be

Browse files
author
jtimberman
committed
also look for https
1 parent6d2451d commita76c1be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎providers/pip.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def candidate_version
133133
definstall_package(version)
134134
# if a version isn't specified (latest), is a source archive (ex. http://my.package.repo/SomePackage-1.0.4.zip),
135135
# or from a VCS (ex. git+https://git.repo/some_pkg.git) then do not append a version as this will break the source link
136-
ifversion =='latest' ||@new_resource.name.downcase.start_with?('http:') ||['git','hg','svn'].include?(@new_resource.name.downcase.split('+')[0])
136+
ifversion =='latest' ||@new_resource.name.downcase.start_with?('http:','https:') ||['git','hg','svn'].include?(@new_resource.name.downcase.split('+')[0])
137137
version=''
138138
else
139139
version="==#{version}"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp