No commit activity in last 3 years
No release in over 3 years
This gem provides jQuery.countdown driver for your Rails application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

< 5.0, >= 3.0
< 2.0, >= 0.14
 Project Readme

jquery-final_countdown-rails

Gem Version

jQuery.countdown (aka The Final Countdown) for Rails Asset Pipeline or standalone sprockets applications.

Installation

⚠️ jQuery.countdown needs jQuery. That is, you need to have 'jquery-rails' in your Gemfile.

Rails 3.1+

Add this line to your application's Gemfile:

gem 'jquery-final_countdown-rails'

And then execute:

$ bundle

Add following directive to your JavaScript manifest file (app/assets/javascripts/application.js):

//= require jquery.countdown

That's it!

Rails < 3.1 (or greater with asset pipeline disabled)

This gem adds a single generator: jquery:final_countdown:install. Running the generator will copy jquery.countdown.js and jquery.countdown.min.js to public/javascripts directory.

This gem contains the minified and un-minified versions of jquery.countdown, only the minified versions will be included in the :defaults when Rails is in production or test mode (un-minified versions will be included when Rails is in development mode).

To invoke the generator, run:

rails generate jquery:final_countdown:install

That's it!

Versions

The jquery-final_countdown-rails version is the same as jQuery.countdown version.

If a bug in gem is discovered, a 4th version identifier will be added. Like 2.0.4.1.

Contributing

See CONTRIBUTING.md.

Thanks

I gemify this gem by mock the jquery-rails.

License

MIT License. Please see LICENSE.