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

projectblacklight / spotlight / 4984 / 2
41%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 298-indexing-job-summary
DEFAULT BRANCH: master
Ran 01 Feb 2017 11:22PM UTC
Files 125
Run time 5s
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

01 Feb 2017 11:13PM UTC coverage: 96.415% (+0.2%) from 96.191%
2.3.3, RAILS_VERSION=4.2.7.1

push

travis-ci

cbeer
refactor Spotlight::Resource reindexing stats tracking and the Spotlight::ReindexProgress that used to use it

* refactor the way Spotlight::Resource tracks indexing stats
  * add items_reindexed_estimate field to create_spotlight_reindexing_log_entries migration
  * resource.rb: refactor Spotlight::Resource#reindex so that it takes an optional ReindexingLogEntry; use the log entry to track the stats that Resource used to keep on itself.  remove unused methods.  update tests.
  * reindex_job.rb: use before_perform hook to update items_reindexed_estimate on the reindexing log entry, if there is one.  pass the log entry to resource.reindex.  add tests.
* refactor Spotlight::ReindexProgress to get a ReindexingLogEntry from an Exhibit, instead of dealing with a Resource list
  * refactor Spotlight::ReindexProgress so that it takes a Spotlight::Exhibit (instead of a Resource list), and uses the current ReindexingLogEntry from the Exhibit (if there is one).  fix Exhibit's call to ReindexProgress and have it initialize the log entries it creates to 0. update exhibit_spec.rb.
    * rewrite reindex_progress_spec.rb
  * reindex_monitor_spec.rb: fix the simulation of a recent reindexing job, slightly relax expectations for reindexing progress text to accommodate multi-digit numbers

3012 of 3124 relevant lines covered (96.41%)

228.91 hits per line

Source Files on job 4984.2 (2.3.3, RAILS_VERSION=4.2.7.1)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4984
  • Travis Job 4984.2
  • 78726ae4 on github
  • Prev Job for 2.3.3, RAILS_VERSION=4.2.7.1 on 298-indexing-job-summary (#4976.2)
  • Next Job for 2.3.3, RAILS_VERSION=4.2.7.1 on 298-indexing-job-summary (#4873.2)
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