README.md in rails-timeago-2.0.0.beta1 vs README.md in rails-timeago-2.1.0

- old
+ new

@@ -6,11 +6,11 @@ ## Installation Add this line to your application's Gemfile: ```ruby -gem 'rails-timeago', '~> 2.0.0.beta1' +gem 'rails-timeago', '~> 2.0' ``` And then execute: $ bundle @@ -62,10 +62,14 @@ **default** String that will be returned if time is nil. (default: '-') +**title** +A string or block that will be used to create a title attribute for timeago tags. It set to nil or false no title attribute will be set. +(default: proc { |time, options| I18n.l time, :format => options[:format] }) + All other options will be given as options to the time tag helper. The above options can be assigned globally as defaults using ```ruby Rails::Timeago.default_options :limit => proc { 20.days.ago }, :nojs => true @@ -102,10 +106,10 @@ > he, hr, hu, hy, id, it, ja, ko, mk, nl, no, pl, pt, pt-br, ro, ru, > sv, tr, uk, uz, zh-CN, zh-TW Your customized jQuery locale files must be changed to work with **rails-timeago 2**. Instead of defining your locale strings as `jQuery.timeago.settings.strings` you need to define them like this: - jQuery.timeago.settings.string["en"] = { + jQuery.timeago.settings.strings["en"] = { ... } ## License