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

httprb / http / 1257 / 3
97%
master: 94%

Build:
Build:
LAST BUILD BRANCH: 5-x-stable
DEFAULT BRANCH: master
Ran 03 Apr 2016 02:31AM UTC
Files 25
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

03 Apr 2016 02:18AM UTC coverage: 94.971%. First build
2.2

push

travis-ci

tarcieri
Use object composition rather than inheritance for HTTP::URI

The Addressable gem has been the source of a number of bugs and
performance problems. Perhaps in the future it might be worth
avoiding using it where ::URI would suffice, or getting rid of
it entirely, but as things stand it's the parent class for
HTTP::URI, which prevents us from doing that without making a
breaking release of the library.

This replaces inheritence with object composition: Forwardable
is used to delegate an explicit set of methods to Addressable::URI.
This should make it easier to work around Addressable bugs or
potentially even use ::URI as the internal representation when
URIs are simple enough.

982 of 1034 relevant lines covered (94.97%)

92.58 hits per line

Source Files on job 1257.3 (2.2)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1257
  • Travis Job 1257.3
  • 362258f5 on github
  • Next Job for 2.2 on tonyarcieri/avoid-subclassing-addressable (#1259.3)
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