README.textile in gravtastic-2.0.0 vs README.textile in gravtastic-2.1.0

- old
+ new

@@ -33,19 +33,19 @@ current_user.gravatar_url => "http://gravatar.com/e9e719b44653a9300e1567f09f6b2e9e.png?r=PG" Note that it defaults to a PG rating. You can specify extra options with a hash: - current_user.gravatar_url(:rating => 'R18', :size => 512) + current_user.gravatar_url(:rating => 'R', :size => 512) => "http://gravatar.com/e9e719b44653a9300e1567f09f6b2e9e.png?r=R18&s=512" current_user.gravatar_url(:secure => true) => "https://secure.gravatar.com/e9e719b44653a9300e1567f09f6b2e9e.png?r=PG" However, to DRY things up you can specify defaults in the class declaration. - is_gravtastic :with => :author_email, :rating => 'R18', :size => 20 + is_gravtastic :with => :author_email, :rating => 'R', :size => 20 Nice, now all the calls to gravatar_url will have the defaults you have specified. Any options that you pass when you use @gravatar_url@ will over-ride these class-defaults. PS. Bonus points for anybody who can tell me what that users email is! @@ -67,9 +67,11 @@ h2. Thanks * "Xavier Shay":http://rhnh.net and others for "Enki":http://enkiblog.com (the reason this was written) * "Matthew Moore":http://www.matthewpaulmoore.com/ for helpful suggestions and for submitting it to the official list of Gravatar implementations. +* "Vincent Charles":http://vincentcharles.com/ For an updated README. + h2. License Copyright (c) 2008 Chris Lloyd.