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

projectblacklight / blacklight / 4801 / 1
95%
master: 49%

Build:
Build:
LAST BUILD BRANCH: release-6.x
DEFAULT BRANCH: master
Ran 31 Aug 2017 08:41PM UTC
Files 129
Run time 12s
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

31 Aug 2017 08:38PM UTC coverage: 94.529%. Remained the same
2.3.4, RAILS_VERSION=5.0.5

push

travis-ci

jcoyne
Make the component configuration additive

Hopefully this makes it easier to understand how to customize the
components.

This is done by having all the component configuration generated onto
the template CatalogController rather than having it included in a mixin
automatically.

For backwards compatibility people will have to mix in:
```
include Blacklight::DefaultComponentConfiguration
```

or add to CatalogController:

```
  configure_blacklight do |config|
    config.add_results_document_tool(:bookmark, partial: 'bookmark_control', if: :render_bookmarks_control?)

    config.add_results_collection_tool(:sort_widget)
    config.add_results_collection_tool(:per_page_widget)
    config.add_results_collection_tool(:view_type_group)

    config.add_show_tools_partial(:bookmark, partial: 'bookmark_control', if: :render_bookmarks_control?)
    config.add_show_tools_partial(:email, callback: :email_action, validator: :validate_email_params)
    config.add_show_tools_partial(:sms, if: :render_sms_action?, callback: :sms_action, validator: :validate_sms_params)
    config.add_show_tools_partial(:citation)

    config.add_nav_action(:bookmark, partial: 'blacklight/nav/bookmark', if: :render_bookmarks_control?)
    config.add_nav_action(:search_history, partial: 'blacklight/nav/search_history')
  end

```

2972 of 3144 relevant lines covered (94.53%)

958.42 hits per line

Source Files on job 4801.1 (2.3.4, RAILS_VERSION=5.0.5)
  • Tree
  • List 0
  • Changed 16
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4801
  • Travis Job 4801.1
  • 4f8faa44 on github
  • Prev Job for 2.3.4, RAILS_VERSION=5.0.5 on action_builder (#4799.1)
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