styledev / pikaday-gem

The Pikaday datepicker as a gem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pikaday Gem

Gem Version Dependency Status Code Climate

Pikaday datepicker as a Ruby gem.

Getting Started

Add the gem to your Gemfile:

gem "pikaday-gem"

And run

bundle install

in the terminal to download the resources.

Adding the files to your projects

In order for the files to load, you'll need to do add them.

application.js:

//= require pikaday

application.css:

*= require pikaday

and you should be good to go.

Updating this plug-in

If you would like to update this gem you should take the following steps:

  1. rake download VERSION=X.X.X. If you don't specify the version, it will get the latest one.
  2. rake tag VERSION=X.X.X will tag the version you've specified as the standard version.
  3. Make a Pull request

Then the maintainer of the gem will need to do the following steps:

  1. Update the version lib/pikaday-gem/version.rb
  2. rake build
  3. git add .
  4. git commit -am "version changes"
  5. Update the changelog
  6. rake release

About

The Pikaday datepicker as a gem

License:MIT License