Sha256: f2323a3bf9c9365e06a7ddf7fc55c7bfa950e5bc6ab6e69c38f80a04e505996f

Contents?: true

Size: 1.45 KB

Versions: 137

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 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

  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

137 entries across 83 versions & 7 rubygems

Version Path
jeweler-2.3.9 features/tasks/version.feature
jeweler-2.3.7 features/tasks/version.feature
jeweler-2.3.6 features/tasks/version.feature
jeweler-2.3.5 features/tasks/version.feature
jeweler-2.3.3 features/tasks/version.feature
jeweler-2.3.2 features/tasks/version.feature
jeweler-2.3.1 features/tasks/version.feature
jeweler-2.3.0 features/tasks/version.feature
jeweler-2.2.1 features/tasks/version.feature
jeweler-2.1.2 features/tasks/version.feature
jeweler-2.1.1 features/tasks/version.feature
jeweler-2.0.1 features/tasks/version.feature
jeweler-2.0.0 features/tasks/version.feature
jeweler-1.8.8 features/tasks/version.feature
jeweler-1.8.7 features/tasks/version.feature
jeweler-1.8.6 features/tasks/version.feature
jeweler-1.8.5 features/tasks/version.feature
devise_sociable-0.1.0 vendor/bundle/gems/jeweler-1.8.4/features/tasks/version.feature
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/features/tasks/version.feature
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/features/tasks/version.feature