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

valum-framework / valum / 941
59%

Build:
DEFAULT BRANCH: master
Ran 19 Dec 2015 02:38AM 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
941

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.

5405 of 9279 relevant lines covered (58.25%)

11.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 941.1 19 Dec 2015 02:38AM UTC 0
58.25
Travis Job 941.1
Source Files on build 941
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #941
  • e5b344a6 on github
  • Prev Build on master (#939)
  • Next Build on master (#944)
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