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

httprb / http / 1257
97%
master: 94%

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

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.

1101 of 1139 relevant lines covered (96.66%)

943.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1257.1 (2.0.0) 03 Apr 2016 02:31AM UTC 0
94.49
Travis Job 1257.1
2 1257.2 (2.1) 03 Apr 2016 02:31AM UTC 0
94.97
Travis Job 1257.2
3 1257.3 (2.2) 03 Apr 2016 02:31AM UTC 0
94.97
Travis Job 1257.3
4 1257.4 (2.3.0) 03 Apr 2016 02:31AM UTC 0
94.97
Travis Job 1257.4
5 1257.5 (jruby-9.0.5.0) 03 Apr 2016 02:34AM UTC 0
94.35
Travis Job 1257.5
8 1257.8 (rbx-2) 03 Apr 2016 02:34AM UTC 0
97.19
Travis Job 1257.8
Source Files on build 1257
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1257
  • 362258f5 on github
  • Next Build on tonyarcieri/avoid-subclassing-addressable (#1259)
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

© 2025 Coveralls, Inc