Sha256: 8d58aad0c56d7b528aaa390c444bb961aa882238482ef019ef1ec56969b850b9

Contents?: true

Size: 1.58 KB

Versions: 19

Compression:

Stored size: 1.58 KB

Contents

Feature: bumping version

  Scenario: major version
    Given a working directory
    And I use the existing project "existing-project-with-version-yaml" as a template
    And "VERSION.yml" contains hash "{ :major => 1, :minor => 5, :patch => 3}"
    When I run "rake version:bump:major" in "existing-project-with-version-yaml"
    Then the process should exit cleanly
    And the updated version, 2.0.0, is displayed

  Scenario: minor version
    Given a working directory
    And I use the existing project "existing-project-with-version-yaml" as a template
    And "VERSION.yml" contains hash "{ :major => 1, :minor => 5, :patch => 3}"
    When I run "rake version:bump:minor" in "existing-project-with-version-yaml"
    Then the process should exit cleanly
    And the updated version, 1.6.0, is displayed

  Scenario: patch version
    Given a working directory
    And I use the existing project "existing-project-with-version-yaml" as a template
    And "VERSION.yml" contains hash "{ :major => 1, :minor => 5, :patch => 3}"
    When I run "rake version:bump:patch" in "existing-project-with-version-yaml"
    Then the process should exit cleanly
    And the updated version, 1.5.4, is displayed

  Scenario: arbitrary version
    Given a working directory
    And I use the existing project "existing-project-with-version-yaml" as a template
    And "VERSION.yml" contains hash "{ :major => 1, :minor => 5, :patch => 3}"
    When I run "rake version:write MAJOR=3 MINOR=7 PATCH=1" in "existing-project-with-version-yaml"
    Then the process should exit cleanly
    And the updated version, 3.7.1, is displayed

Version data entries

19 entries across 19 versions & 8 rubygems

Version Path
dima-jeweler-1.2.0 features/tasks/version_bumping.feature
gohanlonllc-jeweler-0.11.1.20090513153819 features/tasks/version_bumping.feature
gohanlonllc-jeweler-1.0.0.20080513000000 features/tasks/version_bumping.feature
gohanlonllc-jeweler-1.0.0.20090513153819 features/tasks/version_bumping.feature
mcornick-jeweler-1.2.0 features/tasks/version_bumping.feature
monkeyhelper-jeweler-1.0.1 features/tasks/version_bumping.feature
namelessjon-jeweler-1.0.1 features/tasks/version_bumping.feature
pivotal-jeweler-1.0.1.1 features/tasks/version_bumping.feature
technicalpickles-jeweler-1.0.0 features/tasks/version_bumping.feature
technicalpickles-jeweler-1.0.1 features/tasks/version_bumping.feature
technicalpickles-jeweler-1.0.2 features/tasks/version_bumping.feature
technicalpickles-jeweler-1.1.0 features/tasks/version_bumping.feature
technicalpickles-jeweler-1.2.1 features/tasks/version_bumping.feature
jeweler-1.2.1 features/tasks/version_bumping.feature
jeweler-1.2.0 features/tasks/version_bumping.feature
jeweler-1.1.0 features/tasks/version_bumping.feature
jeweler-1.0.2 features/tasks/version_bumping.feature
jeweler-1.0.1 features/tasks/version_bumping.feature
jeweler-1.0.0 features/tasks/version_bumping.feature