muck-engine 0.4.25 → 0.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.25
1
+ 0.4.26
@@ -1,4 +1,4 @@
1
- <% if flash.keys.any? {|key| flash[key].length > 0} -%>
1
+ <% if flash.keys.any? {|key| !flash[key].blank? && flash[key].length > 0} -%>
2
2
  <div id="flashMessage" class="message">
3
3
  <% flash.each do |key, msg| -%>
4
4
  <%= content_tag :div, msg, :class => [key, " message"], :id => "notice_#{key}" %>
@@ -40,7 +40,7 @@ class MuckEngine
40
40
 
41
41
  # Output a page update that will display messages in the flash
42
42
  def output_admin_messages(fields = nil, title = '', options = { :class => 'notify-box' }, flash_only = false)
43
- output_errors_ajax('admin-messages', fields, title, options, flash_only)
43
+ output_errors_ajax('admin-messages', title, options, fields, flash_only)
44
44
  end
45
45
 
46
46
  # Output a message that can be show for an ajax request.
data/muck-engine.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-engine}
8
- s.version = "0.4.25"
8
+ s.version = "0.4.26"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball", "Joel Duffin"]
12
- s.date = %q{2010-05-05}
12
+ s.date = %q{2010-05-14}
13
13
  s.description = %q{The base engine for the muck system. Contains common tables, custom for, css and javascript.}
14
14
  s.email = %q{justin@tatemae.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 25
9
- version: 0.4.25
8
+ - 26
9
+ version: 0.4.26
10
10
  platform: ruby
11
11
  authors:
12
12
  - Justin Ball
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-05-05 00:00:00 -06:00
18
+ date: 2010-05-14 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency