Sha256: 3fa85dc4d89d2d638e6ea8fc5d84245590d64d0789a6192c8069b96b193abc4c

Contents?: true

Size: 1.12 KB

Versions: 19

Compression:

Stored size: 1.12 KB

Contents

Feature: version rake task

  #Scenario: a newly created project without a version
  #  Given a working directory
  #  And I use the jeweler command to generate the "the-perfect-gem" project in the working directory
  #  And "the-perfect-gem/VERSION" does not exist
  #  When I run "rake version" in "the-perfect-gem"
  #  Then the process should not exit cleanly

  Scenario: an existing project with version yaml
    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" in "existing-project-with-version-yaml"
    Then the process should exit cleanly
    And the current version, 1.5.3, is displayed

  Scenario: an existing project with version plaintext
    Given a working directory
    And I use the existing project "existing-project-with-version-plaintext" as a template
    And "VERSION" contains "1.5.3"
    When I run "rake version" in "existing-project-with-version-plaintext"
    Then the process should exit cleanly
    And the current version, 1.5.3, is displayed

Version data entries

19 entries across 19 versions & 8 rubygems

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