• 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 route-and-clause
branch: route-and-clause
CHANGE BRANCH
x
Reset
  • route-and-clause
  • 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
  • next
  • null-rule-catch-all
  • options-for-soup-server
  • replace-stack-with-context
  • return-in-application-callback
  • reuse-matcher-with-then
  • 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
809

push

travis-ci

Guillaume Poirier-Morency
Provide the 'and' and 'or' matching middleware

It is used to build conjunction of matching middlewares.

    app.matcher ("GET", and (accept (), ))

It can be used along with 'Route.and' to add an arbitrary clause:

    app.get ("")
       .and (or (accept ("text/html"), accept ("text/html+xml")))
       .then ((req, res) => { ... });

Update 'Route.and' to use that middleware instead of its own
implementation.

5084 of 8789 relevant lines covered (57.85%)

11.88 hits per line

Relevant lines Covered
Build:
Build:
8789 RELEVANT LINES 5084 COVERED LINES
11.88 HITS PER LINE
Source Files on route-and-clause
  • List 0
  • Changed 10
  • Source Changed 10
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
809 route-and-clause Provide the 'and' and 'or' matching middleware It is used to build conjunction of matching middlewares. app.matcher ("GET", and (accept (), )) It can be used along with 'Route.and' to add an arbitrary clause: app.get ("") .and (... push 21 Sep 2015 04:55AM UTC Guillaume Poirier-Morency travis-ci pending completion  
807 route-and-clause Introduce basic matching middlewares (not and noop) The 'not' matching middleware provides a way to negate a passed matching middleware to build more logical expressions: app.get ("") .and (not (cached)) .then ((req, res) => { ... push 21 Sep 2015 03:58AM UTC arteymix travis-ci pending completion  
806 route-and-clause Conjunction clause for Route The conjunction clause ('and') make it possible to assemble multiple matching middleware in a Route. It is typically useful when additional conditions has to be verified in order to serve a resource. app.get (""... push 19 Sep 2015 03:11PM UTC Guillaume Poirier-Morency 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