diff options
author | Go MAEDA <maeda@farend.jp> | 2019-03-14 06:28:18 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-03-14 06:28:18 +0000 |
commit | 9f4a4be01a48eb2cbb30f8786aee3b9fec830f19 (patch) | |
tree | 628e7053af1179a5a2f98cc2f91be152f6507777 /lib/plugins/gravatar | |
parent | 4861cefd4b323bdbbf0d496fd7bd9e741cf25df5 (diff) | |
download | redmine-9f4a4be01a48eb2cbb30f8786aee3b9fec830f19.tar.gz redmine-9f4a4be01a48eb2cbb30f8786aee3b9fec830f19.zip |
Remove trailing whitespaces from lib/plugins/gravatar/lib/gravatar.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17946 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/plugins/gravatar')
-rw-r--r-- | lib/plugins/gravatar/lib/gravatar.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/plugins/gravatar/lib/gravatar.rb b/lib/plugins/gravatar/lib/gravatar.rb index 5d9cda340..2c0efaba8 100644 --- a/lib/plugins/gravatar/lib/gravatar.rb +++ b/lib/plugins/gravatar/lib/gravatar.rb @@ -14,14 +14,14 @@ module GravatarHelper # The URL of a default image to display if the given email address does # not have a gravatar. :default => nil, - + # The default size in pixels for the gravatar image (they're square). :size => 50, - - # The maximum allowed MPAA rating for gravatars. This allows you to + + # The maximum allowed MPAA rating for gravatars. This allows you to # exclude gravatars that may be out of character for your site. :rating => 'PG', - + # The alt text to use in the img tag for the gravatar. Since it's a # decorational picture, the alt text should be empty according to the # XHTML specs. @@ -29,18 +29,18 @@ module GravatarHelper # The title text to use for the img tag for the gravatar. :title => '', - + # The class to assign to the img tag for the gravatar. :class => 'gravatar', - + # Whether or not to display the gravatars using HTTPS instead of HTTP :ssl => false, } - + # The methods that will be made available to your views. module PublicMethods - - # Return the HTML img tag for the given user's gravatar. Presumes that + + # Return the HTML img tag for the given user's gravatar. Presumes that # the given user object will respond_to "email", and return the user's # email address. def gravatar_for(user, options={}) @@ -58,7 +58,7 @@ module GravatarHelper image_tag src, options.except(:rating, :size, :default, :ssl) end - + # Returns the base Gravatar URL for the given email hash def gravatar_api_url(hash) "//www.gravatar.com/avatar/#{hash}" @@ -82,5 +82,5 @@ module GravatarHelper end end - + end |