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 / commit_the_version.feature
Size: Mime:
Feature: commit the version
  When the version is updated
  And the repo is about to be tagged
  The commit is made "Bump! {new_version}"

  Background:
    Given there are no tags

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

  Scenario: Commit the minor version
    Given a gem that is versioned "0.0.1"
    When I run the buildgem with the options:
      |minor|
    Then the last commit should read "Bump! 0.1.0"

  Scenario: Commit the major version
    Given a gem that is versioned "0.0.1"
    When I run the buildgem with the options:
      |major|
    Then the last commit should read "Bump! 1.0.0"