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

aperezdc / omni / 7
82%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2014 10:03AM UTC
Jobs 2
Files 8
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
7

push

travis-ci

aperezdc
Make objects containing routes pluggable into Dispatcher

Changes how routes relate to a Dispatcher, moving the responsibility
of storing the routes away from the Dispatcher (previously Resource)
to any object that has a .routes attribute. This allows to create a
single Dispatcher in which Route objects from different objects are
plugged-in. For example:

  class A(Routes):
    @get("/a")
    def a(self, request):
      # ...

  class B(Routes):
    @get("/b/{item}")
    def b_item(self, request, item):
      # ...

  d = Dispatcher()
  d.plug_routes(A().routes)
  d.plug_routes(B().routes)

This will be the basis of the plug-ins for the HTTP server.

366 of 412 relevant lines covered (88.83%)

1.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7.1 19 Nov 2014 10:03AM UTC 0
88.83
Travis Job 7.1
2 7.2 19 Nov 2014 10:04AM UTC 0
88.83
Travis Job 7.2
Source Files on build 7
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7
  • a2986e4d on github
  • Prev Build on master (#6)
  • Next Build on master (#8)
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