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

ctran / annotate_models / 945
81%

Build:
DEFAULT BRANCH: develop
Ran 05 Mar 2017 10:39PM UTC
Jobs 6
Files 8
Run time 77322min
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
945

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

5 of 5 new or added lines in 1 file covered. (100.0%)

579 of 724 relevant lines covered (79.97%)

344.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
100.0
lib/annotate/annotate_models.rb
Jobs
ID Job ID Ran Files Coverage
1 945.1 (2.0) 28 Apr 2017 03:18PM UTC 0
79.61
Travis Job 945.1
2 945.2 (2.1) 28 Apr 2017 03:18PM UTC 0
79.61
Travis Job 945.2
3 945.3 (2.2.5) 28 Apr 2017 03:20PM UTC 0
79.61
Travis Job 945.3
4 945.4 (2.3.0) 28 Apr 2017 03:20PM UTC 0
79.61
Travis Job 945.4
5 945.5 (2.4.0) 28 Apr 2017 03:19PM UTC 0
79.97
Travis Job 945.5
7 945.7 (ruby-head) 28 Apr 2017 03:22PM UTC 0
79.97
Travis Job 945.7
Source Files on build 945
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #945
  • 8341983f on github
  • Prev Build on develop (#922)
  • Next Build on develop (#1006)
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

© 2025 Coveralls, Inc