Sha256: d7552e4569a725bf970b2577d36e85a0832b17b9d628dc40e87bdd353c9599df

Contents?: true

Size: 619 Bytes

Versions: 126

Compression:

Stored size: 619 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 "execs.rb" file with content:
    """
    #!/usr/bin/env ruby
    require 'rubygems'
    spec = Gem::Specification::load('./spec.rb')
    if spec.executables.empty?
      fail 'no executables: ' + File.read('./spec.rb')
    end
    """
    When I run bash with:
    """
    set -x
    set -e
    cd zold
    gem build zold.gemspec
    gem specification --ruby zold-*.gem > ../spec.rb
    cd ..
    ruby execs.rb
    """
    Then Exit code is zero

Version data entries

126 entries across 126 versions & 1 rubygems

Version Path
zold-0.15.0 features/gem_package.feature
zold-0.14.53 features/gem_package.feature
zold-0.14.52 features/gem_package.feature
zold-0.14.51 features/gem_package.feature
zold-0.14.50 features/gem_package.feature
zold-0.14.49 features/gem_package.feature
zold-0.14.48 features/gem_package.feature
zold-0.14.47 features/gem_package.feature
zold-0.14.46 features/gem_package.feature
zold-0.14.45 features/gem_package.feature
zold-0.14.44 features/gem_package.feature
zold-0.14.43 features/gem_package.feature
zold-0.14.42 features/gem_package.feature
zold-0.14.41 features/gem_package.feature
zold-0.14.40 features/gem_package.feature
zold-0.14.39 features/gem_package.feature
zold-0.14.38 features/gem_package.feature
zold-0.14.37 features/gem_package.feature
zold-0.14.36 features/gem_package.feature
zold-0.14.35 features/gem_package.feature