Permalink
Browse files

Wow, I'm getting good at releasing new versions of this. Fixes size (…

…again).
  • Loading branch information...
1 parent 2d41081 commit 3a5d3f56f3446704e1e5c1564011d88e257af97c @parndt parndt committed May 27, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 app/models/blog_comment.rb
  2. +1 −1 lib/refinery/blog/version.rb
  3. +1 −1 refinerycms-blog.gemspec
@@ -22,8 +22,8 @@ class BlogComment < ActiveRecord::Base
def avatar_url(options = {})
options = {:size => 60}
require 'digest/md5'
- options[:size] = "?s=#{size}" if options[:size]
- "http://gravatar.com/avatar/#{Digest::MD5.hexdigest(self.email.to_s.strip.downcase)}#{options[:size]}.jpg"
+ size = ("?s=#{options[:size]}" if options[:size])
+ "http://gravatar.com/avatar/#{Digest::MD5.hexdigest(self.email.to_s.strip.downcase)}#{size}.jpg"
end
def approve!
@@ -3,7 +3,7 @@ module Blog
class Version
@major = 1
@minor = 5
- @tiny = 1
+ @tiny = 2
class << self
attr_reader :major, :minor, :tiny
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{refinerycms-blog}
- s.version = %q{1.5.1}
+ s.version = %q{1.5.2}
s.description = %q{A really straightforward open source Ruby on Rails blog engine designed for integration with RefineryCMS.}
s.date = %q{2011-05-28}
s.summary = %q{Ruby on Rails blogging engine for RefineryCMS.}

0 comments on commit 3a5d3f5

Please sign in to comment.