blacklight_facet_extras 0.0.1pre3 → 0.0.1pre4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1pre3
1
+ 0.0.1pre4
@@ -35,6 +35,7 @@ module BlacklightFacetExtras::Hierarchy::ViewHelperExtension
35
35
  end
36
36
 
37
37
  def render_constraint_element(label, value, options = {})
38
+ options[:classes] ||= []
38
39
  return super(label, value, options) unless options[:classes].any? { |x| blacklight_hierarchy_config.keys.map { |y| "filter-#{y.parameterize}" }.include? x }
39
40
 
40
41
  return ''.html_safe if value.blank?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight_facet_extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1pre3
4
+ version: 0.0.1pre4
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &2164953580 !ruby/object:Gem::Requirement
17
+ requirement: &2156245200 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '3.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2164953580
25
+ version_requirements: *2156245200
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: blacklight
28
- requirement: &2164953140 !ruby/object:Gem::Requirement
28
+ requirement: &2156244500 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2164953140
36
+ version_requirements: *2156244500
37
37
  description:
38
38
  email:
39
39
  - chris_beer@wgbh.org