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

mysociety / yournextrepresentative / 2660
74%
master: 51%

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

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%)

2.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2660.1 28 Apr 2016 02:46PM UTC 0
73.63
Travis Job 2660.1
2 2660.2 28 Apr 2016 02:46PM UTC 0
73.63
Travis Job 2660.2
3 2660.3 28 Apr 2016 02:48PM UTC 0
73.63
Travis Job 2660.3
Source Files on build 2660
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2660
  • 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