sferik-merb-admin 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -14,7 +14,7 @@ At the command prompt, type:
14
14
 
15
15
  In your app, add the following dependency to `config/dependencies.rb`:
16
16
 
17
- dependency "sferik-merb-admin", "0.2.2", :require_as => "merb-admin"
17
+ dependency "sferik-merb-admin", "0.2.3", :require_as => "merb-admin"
18
18
 
19
19
  Add the following route to `config/router.rb`:
20
20
 
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ AUTHOR = "Erik Michaels-Ober"
12
12
  EMAIL = "sferik@gmail.com"
13
13
  HOMEPAGE = "http://twitter.com/sferik"
14
14
  SUMMARY = "MerbAdmin is a merb slice that provides an easy-to-use interface for managing your data."
15
- GEM_VERSION = "0.2.2"
15
+ GEM_VERSION = "0.2.3"
16
16
 
17
17
  spec = Gem::Specification.new do |s|
18
18
  s.rubyforge_project = "merb"
@@ -24,7 +24,7 @@
24
24
  <!-- Welcome, <strong></strong>. <a href="">Log out</a> -->
25
25
  </div>
26
26
  </div>
27
- <%= partial('layout/message') -%>
27
+ <%= partial('layout/message', :message => message) unless message.blank? -%>
28
28
  <div id="content" class="colMS">
29
29
  <h1>
30
30
  <%= page_name %>
@@ -32,7 +32,7 @@
32
32
  <%= link_to("Home", url(:admin_dashboard)) %> &rsaquo;
33
33
  <%=h @model_name.pluralize %>
34
34
  </div>
35
- <%= partial('layout/message') -%>
35
+ <%= partial('layout/message', :message => message) unless message.blank? -%>
36
36
  <div id="content" class="flex">
37
37
  <h1>
38
38
  <%= page_name %>
data/lib/merb-admin.rb CHANGED
@@ -22,7 +22,7 @@ if defined?(Merb::Plugins)
22
22
 
23
23
  # Slice metadata
24
24
  self.description = "MerbAdmin is a merb slice that uses your DataMapper models to provide an easy-to-use, Django-style interface for content managers."
25
- self.version = "0.2.2"
25
+ self.version = "0.2.3"
26
26
  self.author = "Erik Michaels-Ober"
27
27
 
28
28
  # Stub classes loaded hook - runs before LoadClasses BootLoader
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sferik-merb-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Michaels-Ober