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

aperezdc / lua-storefront / 8 / 5
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2016 06:23PM UTC
Files 3
Run time 0s
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

04 Sep 2016 06:17PM UTC coverage: 77.132% (-15.0%) from 92.143%
LUA="luajit 2.1"

push

travis-ci

aperezdc
Implement storefront.base.query_iterable() helper

This helper allows implementations of backends to just provide an iterable
over all the keys present in the store, and query_iterable() will handle
pagination and filtering of the results:

  local base = require "storefront.base"
  local foo_store = base.store + "foo_store"

  function foo_store:query(pattern, limit, offset)
    return base.query_iterable(iterate_keys(self), limit, offset)
  end

This allows will allow for certain stores to be implemented more concisely.

199 of 258 relevant lines covered (77.13%)

11.66 hits per line

Source Files on job 8.5 (LUA="luajit 2.1")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8
  • Travis Job 8.5
  • 20ce883e on github
  • Prev Job for LUA="luajit 2.1" on master (#7.5)
  • Next Job for LUA="luajit 2.1" on master (#10.5)
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