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

ctran / annotate_models / 961 / 5
80%
develop: 81%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: develop
Ran 20 Mar 2017 04:58PM UTC
Files 8
Run time 0s
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

05 Mar 2017 10:38PM UTC coverage: 79.972%. First build
2.4.0

push

travis-ci

ctran
Prevent root_dir option from being empty (#448)

* Prevent root_dir option from being empty

When setting root_dir to an empty string (as is done in the default rake
task config) this line previously caused root_dir to become an empty
array.

This in turn caused factories, specs etc not to be annotated.

This is just a quick band-aid on a larger problem. We have option
parsing spread out over many different places, with slight mismatches
like this in the assumptions made.

* Handle blank values & comma-separated strings in AnnotateModels.root_dir

These cases are currently handled (inconsistently) in the different
option parsing routines.

* Pass root_dir forward unmodified

The different cases are now handled inside AnnotateModels

579 of 724 relevant lines covered (79.97%)

63.6 hits per line

Source Files on job 961.5 (2.4.0)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 961
  • Travis Job 961.5
  • 8341983f 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