Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
buildgem / features / bump_the_version.feature
Size: Mime:
Feature: Bump the version
  Find the lib/gem_name/version.rb file
  Increment the version
  according to some options

  Scenario: Bump the patch version
    Given a gem that is versioned "0.0.1"
    When I run the buildgem with no options
    Then the gem version file should read "0.0.2"

  Scenario: Bump the minor version
    Given a gem that is versioned "0.2.3"
    When I run the buildgem with the options:
      |minor|
    Then the gem version file should read "0.3.0"

  Scenario: Bump the major version
    Given a gem that is versioned "3.53.4"
    When I run the buildgem with the options:
      |major|
    Then the gem version file should read "4.0.0"