Pikaday datepicker as a Ruby gem.
Add the gem to your Gemfile:
gem "pikaday-gem"
And run
bundle install
in the terminal to download the resources.
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.
If you would like to update this gem you should take the following steps:
rake download VERSION=X.X.X
. If you don't specify the version, it will get the latest one.rake tag VERSION=X.X.X
will tag the version you've specified as the standard version.- Make a Pull request
Then the maintainer of the gem will need to do the following steps:
- Update the version lib/pikaday-gem/version.rb
rake build
git add .
git commit -am "version changes"
- Update the changelog
rake release