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

SUSE / connect / 2239 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: update_example
DEFAULT BRANCH: master
Ran 28 Feb 2018 02:04PM UTC
Files 36
Run time 1s
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

28 Feb 2018 02:02PM UTC coverage: 100.0%. Remained the same
2.1.2

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

Source Files on job 2239.1 (2.1.2)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 2239.1
  • a8e2038b on github
  • Prev Job for 2.1.2 on test-on-15 (#2238.1)
  • Next Job for 2.1.2 on test-on-15 (#2241.1)
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