blacklight_range_limit 1.0.0pre2 → 1.0.0pre3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0pre2
1
+ 1.0.0pre3
@@ -17,7 +17,7 @@
17
17
  <% end %>
18
18
 
19
19
  <% unless params["range"] && params["range"][solr_field] && params["range"][solr_field]["missing"] %>
20
- <% form_tag catalog_index_path, :method => :get, :class=>"range_limit subsection range_#{solr_field}" do %>
20
+ <%= form_tag catalog_index_path, :method => :get, :class=>"range_limit subsection range_#{solr_field}" do %>
21
21
  <%= search_as_hidden_fields %>
22
22
 
23
23
  <!-- we need to include a dummy search_field parameter if none exists,
@@ -37,7 +37,7 @@
37
37
  # add a constraint for ranges?
38
38
  unless my_params[:range].blank?
39
39
  my_params[:range].each_pair do |solr_field, hash|
40
- next unless hash["missing"] || hash["begin"] || hash["end"]
40
+ next unless hash["missing"] || (!hash["begin"].blank?) || (! hash["end"].blank?)
41
41
 
42
42
  content << render_search_to_s_element(
43
43
  facet_field_labels[solr_field],
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight_range_limit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923831949
4
+ hash: 1923831951
5
5
  prerelease: 5
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
10
  - pre
11
- - 2
12
- version: 1.0.0pre2
11
+ - 3
12
+ version: 1.0.0pre3
13
13
  platform: ruby
14
14
  authors:
15
15
  - Jonathan Rochkind
@@ -17,7 +17,8 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-06-22 00:00:00 Z
20
+ date: 2011-06-27 00:00:00 -04:00
21
+ default_executable:
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
23
24
  name: rails
@@ -83,6 +84,7 @@ files:
83
84
  - lib/generators/blacklight_range_limit/templates/public/javascripts/range_limit_distro_facets.js
84
85
  - lib/generators/blacklight_range_limit/templates/public/javascripts/range_limit_slider.js
85
86
  - lib/generators/blacklight_range_limit/templates/public/stylesheets/blacklight_range_limit.css
87
+ has_rdoc: true
86
88
  homepage: http://projectblacklight.org/
87
89
  licenses: []
88
90
 
@@ -114,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
116
  requirements: []
115
117
 
116
118
  rubyforge_project: blacklight
117
- rubygems_version: 1.7.2
119
+ rubygems_version: 1.6.2
118
120
  signing_key:
119
121
  specification_version: 3
120
122
  summary: Blacklight Range Limit plugin