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

aperezdc / omni / 7 / 2
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2014 10:04AM UTC
Files 8
Run time 5s
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

19 Nov 2014 09:57AM UTC coverage: 88.835% (-5.4%) from 94.247%
7.2

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

0.89 hits per line

Source Files on job 7.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7
  • Travis Job 7.2
  • a2986e4d on github
  • Prev Job for on master (#6.2)
  • Next Job for on master (#8.1)
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