muck-engine 0.4.15 → 0.4.16

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.15
1
+ 0.4.16
@@ -1,4 +1,4 @@
1
- <div id="errorExplanation" class="<%=message_id%> <%=css_class%>" style="display:none;">
1
+ <div id="<%=message_container_id%>" class="<%=css_class%>" style="display:none;">
2
2
  <div class="message" id="flashMessage">
3
3
  <div id="<%=message_id%>" class="notice message"></div>
4
4
  </div>
@@ -32,8 +32,10 @@ class MuckEngine
32
32
 
33
33
  # Output a message container that is hidden by default. This can be used to create html where an
34
34
  # ajax call can drop messages. Just do something like jQuery('#message_id).html('some message');
35
- def output_message_container(message_id = 'message_id', css_class = 'notify-box')
36
- render :partial => 'shared/message_container', :locals => { :message_id => message_id, :css_class => css_class }
35
+ def output_message_container(message_id = 'message_id', message_container_id = 'errorExplanation', css_class = 'notify-box')
36
+ render :partial => 'shared/message_container', :locals => { :message_id => message_id,
37
+ :message_container_id => message_container_id,
38
+ :css_class => css_class }
37
39
  end
38
40
 
39
41
  # Output a page update that will display messages in the flash
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.15"
8
+ s.version = "0.4.16"
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-03-21}
12
+ s.date = %q{2010-03-22}
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
- - 15
9
- version: 0.4.15
8
+ - 16
9
+ version: 0.4.16
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-03-21 00:00:00 -06:00
18
+ date: 2010-03-22 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency