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

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

Build:
Build:
LAST BUILD BRANCH: active-support-lazy-load
DEFAULT BRANCH: main
Ran 14 Apr 2016 04:11AM UTC
Jobs 6
Files 10
Run time 1min
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
163

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%)

30.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 163.1 (2.3.0, ACTION_MAILER_VERSION=4) 14 Apr 2016 04:11AM UTC 0
99.46
Travis Job 163.1
2 163.2 (2.3.0, ACTION_MAILER_VERSION=5.beta) 14 Apr 2016 04:12AM UTC 0
99.46
Travis Job 163.2
3 163.3 (2.3.0, ACTION_MAILER_VERSION=master) 14 Apr 2016 04:12AM UTC 0
99.46
Travis Job 163.3
4 163.4 (ruby-head, ACTION_MAILER_VERSION=4) 14 Apr 2016 04:12AM UTC 0
99.46
Travis Job 163.4
5 163.5 (ruby-head, ACTION_MAILER_VERSION=5.beta) 14 Apr 2016 04:13AM UTC 0
99.46
Travis Job 163.5
6 163.6 (ruby-head, ACTION_MAILER_VERSION=master) 14 Apr 2016 04:13AM UTC 0
99.46
Travis Job 163.6
Source Files on build 163
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #163
  • Pull Request #157
  • PR Base - master (#161)
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