Sha256: 6e05cf78026a0ac3df0bee9ced3d7dea5bf12ff7a8e790289ae57077f6b96d7c

Contents?: true

Size: 1.45 KB

Versions: 17

Compression:

Stored size: 1.45 KB

Contents

Feature: version rake task

  #Scenario: a newly created project without a version
  #  Given a working directory
  #  And I use the juwelier 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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
juwelier-2.4.9 features/tasks/version.feature
juwelier-2.4.7 features/tasks/version.feature
juwelier-2.4.6 features/tasks/version.feature
juwelier-2.4.5 features/tasks/version.feature
juwelier-2.4.4 features/tasks/version.feature
juwelier-2.4.1 features/tasks/version.feature
juwelier-2.4.0 features/tasks/version.feature
juwelier-2.3.6 features/tasks/version.feature
juwelier-2.3.4 features/tasks/version.feature
juwelier-2.3.2 features/tasks/version.feature
juwelier-2.3.0 features/tasks/version.feature
juwelier-2.2.3 features/tasks/version.feature
juwelier-2.2.1 features/tasks/version.feature
juwelier-2.1.3 features/tasks/version.feature
juwelier-2.1.2 features/tasks/version.feature
juwelier-2.1.1 features/tasks/version.feature
juwelier-2.1.0 features/tasks/version.feature