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

valum-framework / valum
58%
master: 59%

Build:
Build:
LAST BUILD BRANCH: wip/build-on-windows
DEFAULT BRANCH: master
Repo Added 29 Mar 2015 03:31PM UTC
Files 47
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

LAST BUILD ON BRANCH next
branch: next
CHANGE BRANCH
x
Reset
  • next
  • 0.1/documentation-for-hacking
  • 0.1/improve-api-docs
  • 0.1/methods
  • 0.1/server-documentation
  • 0.2/converters
  • 0.2/end-in-a-continuation
  • 0.2/pollable-fastcgi-stream
  • 0.2/redesign-async-model
  • 0.2/redesigned-async-model
  • 0.2/status-code-handler
  • 0.2/update-documentation
  • 0.2/write-head-asynchronously
  • basepath-middleware
  • build-docs-with-waf
  • build-separate-libraries
  • cgi
  • codecov
  • coveralls-with-gcov
  • debug-flag-for-coverage
  • decode-middlewares
  • default-implementation-for-head
  • delegator-for-application
  • documentation-overhaul
  • explicit-leading-slash
  • filtering
  • fix-all-tests
  • fix-nullable-convert
  • flatten
  • generate-path-from-rule
  • genie-example
  • glib-application-integration
  • glib-parameter-for-request-params
  • improve-test-coverage
  • improve-vsgi-coverage
  • invert-routing
  • invoke-next-in-router
  • loader
  • master
  • master-with-c-sources
  • meson-build
  • middleware
  • multipart
  • negociation-middlewares
  • null-rule-catch-all
  • options-for-soup-server
  • replace-stack-with-context
  • return-in-application-callback
  • reuse-matcher-with-then
  • route-and-clause
  • route-flags
  • scgi
  • server-sent-events
  • stable
  • stacked-states
  • v0.1.0-alpha
  • v0.1.1-alpha
  • v0.1.3-alpha
  • v0.1.4-alpha
  • v0.2.0
  • v0.2.0-alpha
  • v0.2.1
  • v0.2.10
  • v0.2.11
  • v0.2.12
  • v0.2.13
  • v0.2.14
  • v0.2.15
  • v0.2.2
  • v0.2.3
  • v0.2.4
  • v0.2.5
  • v0.2.6
  • v0.2.7
  • v0.2.8
  • v0.2.9
  • valadoc
  • vsgi-convert
  • vsgi-response-expand
  • vsgi-rewrite-server-with-gmodule
  • wip/build-on-windows

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

Relevant lines Covered
Build:
Build:
9314 RELEVANT LINES 5443 COVERED LINES
12.17 HITS PER LINE
Source Files on next
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
918 next 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 Route... push 16 Dec 2015 04:14AM UTC Guillaume Poirier-Morency travis-ci pending completion  
788 next Merge pull request #126 from Bob131/scgi-cli-parsing-fix Fix port command-line parsing in VSGI.SCGI.Server push 04 Sep 2015 06:15AM UTC Guillaume Poirier-Morency travis-ci pending completion  
776 next Remove the start script from the FastCGI example The example can already be run with lighttpd. push 31 Aug 2015 09:58PM UTC Guillaume Poirier-Morency travis-ci pending completion  
769 next Refactor 'Route.from_rule' to use 'Route.from_regex' Throw a 'RegexError.COMPILE' error when a rule references an unexisting type instead of simply erroring. This way it can be handled properly. Parameters are only extracted from the resulting r... push 30 Aug 2015 03:56PM UTC arteymix travis-ci pending completion  
See All Builds (764)
  • Repo on GitHub
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

© 2025 Coveralls, Inc