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

mysociety / yournextrepresentative / 2660 / 1
74%
master: 51%

Build:
Build:
LAST BUILD BRANCH: liable-to-vandalism-in-db
DEFAULT BRANCH: master
Ran 28 Apr 2016 02:46PM UTC
Files 298
Run time 18s
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

28 Apr 2016 02:36PM UTC coverage: 73.634%. First build
2660.1

push

travis-ci

mhl
Fix version diffs where JSON patch operations are dependent

The operations that make up a JSON patch may depend on earlier
operations - they're meant to be applied in order.  However, the code
that parsed these to generate readable diffs assumed that each operation
would apply to the original JSON.

This commit changes that behaviour so that after dealing with each
operation it's applied to the original JSON.  This fixes the problem,
for example, where an array of three items are reordered and the
generated operations in the patch are (a) insert an item at the front
and (b) remove the last item - if you don't apply (a) first then (b)
will refer to an index off the end of the array.

Fixes #873

7127 of 9679 relevant lines covered (73.63%)

0.74 hits per line

Source Files on job 2660.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2660
  • Travis Job 2660.1
  • 8411fa51 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

© 2026 Coveralls, Inc