Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…again).
  • Loading branch information...
commit 3a5d3f56f3446704e1e5c1564011d88e257af97c 1 parent 2d41081
@parndt parndt authored
View
4 app/models/blog_comment.rb
@@ -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!
View
2  lib/refinery/blog/version.rb
@@ -3,7 +3,7 @@ module Blog
class Version
@major = 1
@minor = 5
- @tiny = 1
+ @tiny = 2
class << self
attr_reader :major, :minor, :tiny
View
2  refinerycms-blog.gemspec
@@ -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.}
Please sign in to comment.
Something went wrong with that request. Please try again.