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

ctran / annotate_models / 1129 / 4
81%
develop: 81%

Build:
DEFAULT BRANCH: develop
Ran 12 Jul 2017 07:30PM 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

12 Jul 2017 07:27PM UTC coverage: 80.718%. Remained the same
ruby-head

push

travis-ci

ctran
annotate --routes modifies only routes.rb (#485)

* annotate --routes modifies only routes.rb

This change is a proposed solution to #357 and an alternative to the already proposed solution #361.
In #361 it is needed to call `annotate --routes --ignore-models` to achieve the same as in this change with only `annotate --routes`.

* Call eager_load only when models are included

This to prevent activerecord model errors when using mongoid for example and calling `annotate --routes`

607 of 752 relevant lines covered (80.72%)

65.36 hits per line

Source Files on job 1129.4 (ruby-head)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1129
  • Travis Job 1129.4
  • 5e3820b8 on github
  • Prev Job for ruby-head on develop (#1128.4)
  • Next Job for ruby-head on develop (#1132.4)
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