This repository has been archived by the owner. It is now read-only.
Use Timeago JQuery plugin with Rails
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
vendor/assets/javascripts
.gitignore
.travis.yml
Gemfile
MIT-LICENSE
README.md
Rakefile
jquery-timeago-rails.gemspec

README.md

⛔️ DEPRECATED jquery-timeago-rails

Gem Version Dependency Status Build Status Coverage Status Code Climate Inline docs License

Timeago JQuery plugin for Rails.

Please be aware that this gem is deprecated and will no longer be maintained. There are other, better, options for including javascript libraries and other assets in Rails projects now. (e.g., rails-assets, yarn, webpack)

Installation

Add the gem to you Gemfile with:

gem "jquery-timeago-rails"

And run bundle install to install the gem.

Then add it to app/assets/javascripts/application.js with:

//= require jquery.timeago

Versioning

jquery-timeago-rails 1.4.1 == jquery.timeago.js 1.4.1

The major, minor, and patch will always match the library. If a gem fix is needed in between library versions then a 4th version numbers will be added.

Acknowledgments

Thanks to Yarp and Ryan McGeary for releasing and maintaining the timeago library.

License

Copyright 2015 SugarCRM Inc., released under the MIT License.