No commit activity in last 3 years
No release in over 3 years
To complete standards bundler rake tasks, this gem add a series of tasks to display, bump and write the gem version.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
 Project Readme

Bundler::GemVersionTasks

travis status

I have always use jeweler to develop my gems. I decided recently to simply rely on bundler but I missed so much the helper rake tasks to manage version that I reimplemented for bundler.

Installation

Add this gem (bundler-gem_version_tasks) as a development dependency in your gemspec:

spec.add_development_dependency 'bundler-gem_version_tasks'

Add this to your Rakefile, instead of require 'bundler/gem_tasks':

require "bundler/gem_version_tasks"

Usage

rake version             # print current version
rake version:bump:major  # Bump the major version by 1
rake version:bump:minor  # Bump the minor version by 1
rake version:bump:patch  # Bump the patch version by 1
rake version:write       # write a specific version - example: rake version:write VERSION=1.2.3

Contributing

  1. Fork it ( https://github.com/[my-github-username]/bundler-gem_version_tasks/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request