• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SUSE / connect / 2239
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: update_example
DEFAULT BRANCH: master
Ran 28 Feb 2018 02:04PM UTC
Jobs 1
Files 36
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2239

push

travis-ci

lagartoflojo
Correctly set the proxy user & pass in Ruby 2.5

Ruby 2.5 changes the way proxies behave from Ruby 2.1.
In Ruby 2.1, Net::HTTP would get the proxy URL from the http_proxy env
var, and then one could set proxy_user and proxy_password directly on
the Net::HTTP object.
In Ruby 2.5, once the proxy URL comes from the http_proxy env var,
setting proxy_user and proxy_password on the Net::HTTP object does
nothing. It assumes that the proxy URL will have the user and password
as part of the URI (eg. http://user:pass@myproxy).
In SLES, the recommended way of setting the proxy user and password is
through the .curlrc file.
Now, what we do is that if we detect that a proxy is being used, we will
re-create the Net::HTTP object, passing all proxy settings to the
initializer.

1089 of 1089 relevant lines covered (100.0%)

13.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2239.1 (2.1.2) 28 Feb 2018 02:04PM UTC 0
100.0
Travis Job 2239.1
Source Files on build 2239
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2239
  • a8e2038b on github
  • Prev Build on test-on-15 (#2238)
  • Next Build on test-on-15 (#2241)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc