muck-raker 0.1.41 → 0.1.42

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.41
1
+ 0.1.42
@@ -87,6 +87,8 @@ class Muck::EntriesController < ApplicationController
87
87
  log_query(current_user.nil? ? request.remote_addr : current_user.id, Language.locale_id, @tag_filter.nil? ? 'search' : 'browse', @search, @grain_size, @hit_count)
88
88
  end
89
89
  rescue MuckRaker::Exceptions::LanguageNotSupported => ex
90
+ @hit_count = 0
91
+ @results = []
90
92
  flash[:error] = ex
91
93
  end
92
94
 
@@ -1,3 +1,4 @@
1
+ <%= output_errors('', {:class => 'help-box'}) %>
1
2
  <div id="search-results" class="span-24">
2
3
  <% if @hit_count > 0 %>
3
4
  <%= render(:partial => 'entries/result_status') %>
data/muck-raker.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-raker}
8
- s.version = "0.1.41"
8
+ s.version = "0.1.42"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joel Duffin Justin Ball"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-raker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.41
4
+ version: 0.1.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Duffin Justin Ball