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

projectblacklight / blacklight / 4801
95%
master: 49%

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

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

```

31 of 31 new or added lines in 5 files covered. (100.0%)

2972 of 3144 relevant lines covered (94.53%)

958.42 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
100.0
app/controllers/concerns/blacklight/catalog.rb
Jobs
ID Job ID Ran Files Coverage
1 4801.1 (2.3.4, RAILS_VERSION=5.0.5) 31 Aug 2017 08:41PM UTC 0
94.53
Travis Job 4801.1
Source Files on build 4801
  • Tree
  • List 0
  • Changed 16
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #4801
  • 4f8faa44 on github
  • Prev Build on action_builder (#4799)
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