multi-solr 01.09.00 → 01.09.01

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ class MultiSolr::SolrFilterBoolean < MultiSolr::SolrFilterSimple
11
11
  end
12
12
 
13
13
 
14
- def render_value value
14
+ def render_value value, options=nil
15
15
  to_bool(value) ? 'yes' : 'no'
16
16
  end
17
17
 
@@ -23,7 +23,7 @@ class MultiSolr::SolrFilterCollection < MultiSolr::SolrFilterSimple
23
23
  @collection_proc = options.delete(:collection_data)
24
24
  @after_collect_proc = options.delete(:after_collect)
25
25
  if options[:render_value].nil?
26
- options[:render_value] = lambda{|value| compact_values(value).join(', ') }
26
+ options[:render_value] = Proc.new{|value| compact_values(value).join(', ') }
27
27
  end
28
28
  super filter_name, options
29
29
  end
@@ -34,7 +34,7 @@ class MultiSolr::SolrFilterDate < MultiSolr::SolrFilterSimple
34
34
  end
35
35
 
36
36
 
37
- def render_value value
37
+ def render_value value, options=nil
38
38
  value.to_s
39
39
  end
40
40
 
@@ -10,7 +10,7 @@ class MultiSolr::SolrFilterRange < MultiSolr::SolrFilterSimple
10
10
  end
11
11
 
12
12
 
13
- def render_value value
13
+ def render_value value, options=nil
14
14
  from, to = extract_from_to value
15
15
  return '' if from.nil? && to.nil?
16
16
  s = []
@@ -1,3 +1,3 @@
1
1
  module MultiSolr
2
- VERSION = "01.09.00"
2
+ VERSION = "01.09.01"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi-solr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 9
9
- - 0
10
- version: 01.09.00
9
+ - 1
10
+ version: 01.09.01
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bernd Ledig
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-07-29 00:00:00 Z
18
+ date: 2013-08-01 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false