Sha256: 927db547f6b538d137817bad61e6e7ed94111256a77e374a951ef569c0ecf00d

Contents?: true

Size: 577 Bytes

Versions: 6

Compression:

Stored size: 577 Bytes

Contents

Feature: Gem Package
  As a source code writer I want to be able to
  package the Gem into .gem file

  Scenario: Gem can be packaged
    Given It is Unix
    Given I have a "execs.rb" file with content:
      """
      #!/usr/bin/env ruby
      require 'rubygems'
      spec = Gem::Specification::load('./spec.rb')
      raise 'no executables' if spec.executables.empty?
      """
    When I run bash:
      """
      cd hoc
      gem build hoc.gemspec
      gem specification --ruby hoc-*.gem > ../spec.rb
      cd ..
      ruby execs.rb
      """
    Then Exit code is zero

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hoc-0.10.0 features/gem_package.feature
hoc-0.9.0 features/gem_package.feature
hoc-0.8.1 features/gem_package.feature
hoc-0.8 features/gem_package.feature
hoc-0.7.3 features/gem_package.feature
hoc-0.7.2 features/gem_package.feature