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

projectblacklight / spotlight / 4986
97%

Build:
DEFAULT BRANCH: master
Ran 01 Feb 2017 11:38PM UTC
Jobs 2
Files 125
Run time 7s
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
4986

push

travis-ci

jkeck
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

3019 of 3125 relevant lines covered (96.61%)

454.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4986.1 (2.4.0) 01 Feb 2017 11:38PM UTC 0
96.29
Travis Job 4986.1
2 4986.2 (2.3.3, RAILS_VERSION=4.2.7.1) 01 Feb 2017 11:38PM UTC 0
96.41
Travis Job 4986.2
Source Files on build 4986
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4986
  • a2a24e93 on github
  • Prev Build on master (#4969)
  • Next Build on master (#4993)
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