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

projectblacklight / blacklight / 4799
95%
master: 49%

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

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%)

965.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4799.1 (2.3.4, RAILS_VERSION=5.0.5) 31 Aug 2017 08:11PM UTC 0
94.53
Travis Job 4799.1
Source Files on build 4799
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #4799
  • 3c6c7176 on github
  • Next Build on action_builder (#4801)
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