Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 2.15 KB

README.md

File metadata and controls

70 lines (44 loc) · 2.15 KB

[Deprecated/Unsupported] Pikaday Gem

Gem Version Dependency Status Code Climate

Pikaday datepicker as a Ruby gem.

03/25/2015 - Unsupported: Due to the ETS Berkeley team now using npm for front-end dependencies, this gem is no longer supported.

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. Run gem build pikaday-gem.gemspec to package the gem
  3. Once satisfied, push the gem up to RubyGems.org with gem push pikaday-gem-<VERSION>.gem
  4. Update the changelog

How to Create a Release

Releases happen in CircleCI when a tag is pushed to the repository.

To create a release, you will need to do the following:

  1. Change the version in lib/pikaday-gem/version.rb to the new version and create a PR with the change.
  2. Once the PR is merged, switch to the master branch and git pull.
  3. git tag <version from version.rb>
  4. git push origin --tags

CircleCI will see the tag push, build, and release a new version of the library.