muck-engine 0.4.30 → 0.4.31

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.30
1
+ 0.4.31
@@ -81,8 +81,8 @@ module MuckEngineHelper
81
81
  if object.photo.original_filename && !use_only_gravatar
82
82
  image_url = object.photo.url(size) rescue nil
83
83
  end
84
-
85
- if image_url.blank? && defined?(object.email)
84
+
85
+ if image_url.blank? && object.email.present?
86
86
  gravatar_default = File.join(root_url, default_image) if gravatar_default.blank?
87
87
  image_url = gravatar(object.email, gravatar_default, gravatar_size, rating)
88
88
  else
@@ -4,7 +4,7 @@
4
4
  </div>
5
5
  <div id="admin-account" class="navigation span-24">
6
6
  <ul>
7
- <li><%=translate('muck.engine.admin_welcome', :user => current_user.display_name) %></li>
7
+ <li><%= link_to current_user.login, user_path(current_user) %>&nbsp;&nbsp;|</li>
8
8
  <li><%=link_to translate('muck.engine.admin_logout'), '/logout' %></li>
9
9
  </ul>
10
10
  </div>
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.30"
8
+ s.version = "0.4.31"
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-07-17}
12
+ s.date = %q{2010-08-18}
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
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-engine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 30
10
- version: 0.4.30
9
+ - 31
10
+ version: 0.4.31
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Ball
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-07-17 00:00:00 -06:00
19
+ date: 2010-08-18 00:00:00 -06:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency