Skip to content

timlkelly/onesie

Repository files navigation

Onesie

ci

Onesie is a Task runner for Rails applications.

Installation

See the installation guide.

Usage

See the usage guide.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install.

Guard is setup for local development and will automatically run RSpec and Rubocop upon file save. To make use of this, run bundle exec guard.

Add any changes to CHANGELOG under "Unreleased".

How to publish a gem version

Note: Publishing to Github Packages registry requires authentication, see Github's guide on how to work with the registry.

  1. Increment the version number accordingly in lib/onesie/version.rb, doc/usage/installation.md, and README.md
  2. Update the CHANGELOG file to reflect the release
  3. Commit the version and CHANGELOG changes
  4. Build and tag the gem, using gem_push=no to prevent Bundler from pushing to the RubyGems registry
gem_push=no rake release
  1. Push the corresponding gem version to Github Packages registry
gem push --key github \
--host https://rubygems.pkg.github.com/timlkelly \
pkg/onesie-0.2.0.gem