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

fphilipe / premailer-rails / 163 / 4
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: active-support-lazy-load
DEFAULT BRANCH: main
Ran 14 Apr 2016 04:12AM UTC
Files 10
Run time 0s
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

14 Apr 2016 04:10AM UTC coverage: 99.457%. First build
ruby-head, ACTION_MAILER_VERSION=4

Pull #157

travis-ci

woahdae
Fix loading protocol-relative URLs over a network

Previously, protocol-relative URLs such as "//www.example.com/foo.css"
would throw an error when loaded. This is due to a subtle issue with
URI parsing in the stardard library, bordering on a bug, where URI()
would appear to parse something like "http:////www.example.com" in a
sane manner, but actually would not set URI#hostname, and potentially
other methods, nor would it pass equality (`==`) with
"http://www.example.com"

This fixes the issue by building the URI more manually. Note, in Ruby
2.3 we could have used URI::join, but this particular case fails in Ruby
2.1 using URI::join.
Pull Request #157: Fix loading protocol-relative URLs over a network

183 of 184 relevant lines covered (99.46%)

5.01 hits per line

Source Files on job 163.4 (ruby-head, ACTION_MAILER_VERSION=4)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 163
  • Travis Job 163.4
  • 4dbfb8bf on github
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