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

Benny1992 / rack-simple_auth / 107 / 6
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: rspec
DEFAULT BRANCH: master
Ran 29 Apr 2014 12:47PM UTC
Files 4
Run time 3s
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

29 Apr 2014 12:33PM UTC coverage: 100.0% (+22.2%) from 77.778%
rbx

push

travis-ci

Benny1992
Middlware DSL & refactoring

With the new middleware dsl some major changes has occured.

First of all HMAC is no longer a Class and represent a Module now.
Under this new Module 2 Classes were created:
  - Middleware
  - Config

The middleware class is the interface to the rack api (#call method)
On initializing (when using 'use ...') a HMAC Config object is instantiated.
The instance variables of this config object (tolerance, stepsize, secret ...) is
populated via yielding the middleware block into the config object

Open TODOS:
  - refactor Middleware#request_data
  - add error handling to config object (wrong dsl directive should output nice error)

93 of 93 relevant lines covered (100.0%)

187.12 hits per line

Source Files on job 107.6 (rbx)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 107
  • Travis Job 107.6
  • b707eb06 on github
  • Prev Job for rbx on nice_middleware_dsl (#106.6)
  • Next Job for rbx on nice_middleware_dsl (#108.6)
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