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

Devex / article_json / 314 / 1
100%
master: 100%

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

16 Nov 2017 10:21AM UTC coverage: 100.0%. Remained the same
2.3

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.

4217 of 4217 relevant lines covered (100.0%)

18.9 hits per line

Source Files on job 314.1 (2.3)
  • Tree
  • List 0
  • Changed 8
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 314
  • Travis Job 314.1
  • 2fd06e41 on github
  • Prev Job for 2.3 on master (#313.1)
  • Next Job for 2.3 on master (#316.1)
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