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

aperezdc / lua-storefront / 8
90%

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2016 06:22PM UTC
Jobs 5
Files 3
Run time 30s
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
8

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.

204 of 258 relevant lines covered (79.07%)

55.38 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
./storefront/base.lua
Jobs
ID Job ID Ran Files Coverage
1 8.1 (LUA="lua 5.1") 04 Sep 2016 06:22PM UTC 0
79.07
Travis Job 8.1
2 8.2 (LUA="lua 5.2") 04 Sep 2016 06:22PM UTC 0
77.13
Travis Job 8.2
3 8.3 (LUA="lua 5.3") 04 Sep 2016 06:22PM UTC 0
77.13
Travis Job 8.3
4 8.4 (LUA="luajit 2.0") 04 Sep 2016 06:22PM UTC 0
77.13
Travis Job 8.4
5 8.5 (LUA="luajit 2.1") 04 Sep 2016 06:23PM UTC 0
77.13
Travis Job 8.5
Source Files on build 8
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8
  • 20ce883e on github
  • Prev Build on master (#7)
  • Next Build on master (#10)
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