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

Devex / article_json / 314
100%

Build:
DEFAULT BRANCH: master
Ran 16 Nov 2017 10:22AM UTC
Jobs 2
Files 171
Run time 15s
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
314

push

travis-ci

nicolas-fricke
Improve multiple calls to `Article#place_additional_elements`

When calling `ArticleJSON::Article#place_additional_elements` multiple
times with additional elements, they were previously directly placed
into the article. This led to additional elements being placed very
close together, since the second iteration did not know that there was
already an additional element inserted earlier.

Now, the class keeps track of what additional elements are to be placed
into the article, but only when accessing the `Article#elements` they
are actually injected into the article. If more additional elements are
added, the structure will be recalculated to guarantee an even
distribution of the additional elements.

4218 of 4218 relevant lines covered (100.0%)

37.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 314.1 (2.3) 16 Nov 2017 10:22AM UTC 0
100.0
Travis Job 314.1
2 314.2 (ruby-head) 16 Nov 2017 10:22AM UTC 0
100.0
Travis Job 314.2
Source Files on build 314
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #314
  • 2fd06e41 on github
  • Prev Build on master (#313)
  • Next Build on master (#316)
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