Permalink
Browse files

use options[:size] not size.

  • Loading branch information...
1 parent 6287603 commit 2d41081770110bdc8679ed7355a5345ccee60dd1 @parndt parndt committed May 27, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 app/models/blog_comment.rb
  2. +1 −1 lib/refinery/blog/version.rb
  3. +2 −2 refinerycms-blog.gemspec
@@ -23,7 +23,7 @@ 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)}#{size}.jpg"
+ "http://gravatar.com/avatar/#{Digest::MD5.hexdigest(self.email.to_s.strip.downcase)}#{options[:size]}.jpg"
end
def approve!
@@ -3,7 +3,7 @@ module Blog
class Version
@major = 1
@minor = 5
- @tiny = 0
+ @tiny = 1
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.0}
+ s.version = %q{1.5.1}
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.}
@@ -169,5 +169,5 @@ Gem::Specification.new do |s|
spec/models/blog_comment_spec.rb
spec/models/blog_post_spec.rb
)
-
+
end

0 comments on commit 2d41081

Please sign in to comment.