Sha256: fd3d614fd2a1caacf81f4166e41bc0c53aa44c81fd84229fafc802a400e726c2

Contents?: true

Size: 617 Bytes

Versions: 134

Compression:

Stored size: 617 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: ' + IO.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

134 entries across 134 versions & 1 rubygems

Version Path
zold-0.31.10 features/gem_package.feature
zold-0.31.9 features/gem_package.feature
zold-0.31.8 features/gem_package.feature
zold-0.31.7 features/gem_package.feature
zold-0.31.6 features/gem_package.feature
zold-0.31.5 features/gem_package.feature
zold-0.31.4 features/gem_package.feature
zold-0.31.3 features/gem_package.feature
zold-0.31.2 features/gem_package.feature
zold-0.31.1 features/gem_package.feature
zold-0.31.0 features/gem_package.feature
zold-0.30.0 features/gem_package.feature
zold-0.29.34 features/gem_package.feature
zold-0.29.33 features/gem_package.feature
zold-0.29.32 features/gem_package.feature
zold-0.29.31 features/gem_package.feature
zold-0.29.30 features/gem_package.feature
zold-0.29.29 features/gem_package.feature
zold-0.29.28 features/gem_package.feature
zold-0.29.27 features/gem_package.feature