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

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

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

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

Jobs
ID Job ID Ran Files Coverage
1 918.1 16 Dec 2015 04:14AM UTC 0
58.44
Travis Job 918.1
Source Files on build 918
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #918
  • 65941ccd on github
  • Prev Build on next (#788)
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