Sha256: a81ea549dc78c33840720b9327f76cefec1c8b8bcbcdb10b96bfd56140a081d3

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

Feature: Generated RubyGems have various rake tasks to aide their development
  In order to maintain and release generated RubyGems
  As a RubyGem developer
  I want rake tasks to perform routine maintenance and deployment tasks

  Scenario: Generate a gemspec that can build the RubyGem
    Given default env variables setup for name and email
    And an existing newgem scaffold [called "my_project"]
    And "pkg" folder is deleted
    When I invoke task "rake gemspec"
    Then file "my_project.gemspec" is created
    And gemspec builds the RubyGem successfully
    Then I should see
      """
      Successfully built RubyGem
      """

  Scenario: Generate RubyGem
    Given default env variables setup for name and email
    And an existing newgem scaffold [called "my_project"]
    And "pkg" folder is deleted
    When I invoke task "rake gem"
    Then folder "pkg" is created
    And file with name matching "pkg/my_project-0.0.1.gem" is created
    And gem spec key "rdoc_options" contains /--mainREADME.rdoc/
    And gem spec key "dependencies" contains /newgem \(>= [\d.]+, development\)/

  Scenario: Hoe does not bitch about README.txt being missing
    Given an existing newgem scaffold [called "my_project"] that has "README.rdoc" not "README.txt"
    When I invoke task "rake -T"
    Then I should not see
      """
      README.txt is missing
      """
  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
newgem-1.5.0 features/rubygem_tasks.feature
newgem-1.5.1 features/rubygem_tasks.feature
newgem-1.5.2 features/rubygem_tasks.feature
newgem-1.4.0 features/rubygem_tasks.feature
newgem-1.4.1 features/rubygem_tasks.feature