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

valum-framework / valum / 918 / 1
58%
master: 59%

Build:
Build:
LAST BUILD BRANCH: wip/build-on-windows
DEFAULT BRANCH: master
Ran 16 Dec 2015 04:14AM UTC
Files 43
Run time 1s
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

16 Dec 2015 04:14AM UTC coverage: 58.439% (-1.7%) from 60.18%
918.1

push

travis-ci

Guillaume Poirier-Morency
Provide a middleware and utilities to handle subdomains

The 'subdomain' middleware matches request which subdomain is consistent
with the provided pattern. The pattern also support jokers '*'.

    var app = new Router ();
    var api = new Router ();

    app.matcher (subdomain ("api"), api.handle);

The default behaviour is to accept request which are part of the
provided subdomain in a suffix fashion. The 'strict' flag expects the
request to have the exact same subdomains.

The 'extract' utility is capable of splitting a hostname in an array of
labels. It drops the two top-most labels (eg. 'example.com') as they are
not typically part of what an application should consider as subdomains.

Provide minimal documentation and tests.

5443 of 9314 relevant lines covered (58.44%)

12.17 hits per line

Source Files on job 918.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 918
  • Travis Job 918.1
  • 65941ccd on github
  • Prev Job for on next (#788.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