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

share / sharedb / 1095
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 23 May 2019 12:42PM UTC
Jobs 3
Files 28
Run time 17s
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
1095

Pull #215

travis-ci

web-flow
Allow options to be passed for `fetch` and `getOps`

The database adapters allow an `options` object to be passed through to
them for enabling the return of metadata with a snapshot or ops.

Consumers could query the database directly, or even use the database
adapters, but this may give inconsistent results when comparing ops with
those fetched through `getOps`. For example, the Mongo adapter makes
sure that a valid set of ops with unique versions are returned, which
may not be the case when querying the database directly. Fetching ops
and snapshots through `Backend` methods also ensures that we call the
appropriate "sanitize" methods, and trigger the corresponding
middleware.

However, we don't expose this on `Backend.getOps` or `Backend.fetch`.
This change adds an optional `options` argument to these methods, which
can then be used to ask for metadata.
Pull Request #215: Allow options to be passed into `Backend.getOps`

339 of 1388 branches covered (24.42%)

24 of 24 new or added lines in 1 file covered. (100.0%)

1141 of 2586 relevant lines covered (44.12%)

6.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1095.1 23 May 2019 12:42PM UTC 0
44.12
Travis Job 1095.1
2 1095.2 23 May 2019 12:42PM UTC 0
44.12
Travis Job 1095.2
3 1095.3 23 May 2019 12:42PM UTC 0
44.12
Travis Job 1095.3
Source Files on build 1095
  • Tree
  • List 0
  • Changed 26
  • Source Changed 1
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #1095
  • Pull Request #215
  • PR Base - master (#1094)
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