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.29.26 features/gem_package.feature
zold-0.29.25 features/gem_package.feature
zold-0.29.24 features/gem_package.feature
zold-0.29.23 features/gem_package.feature
zold-0.29.22 features/gem_package.feature
zold-0.29.21 features/gem_package.feature
zold-0.29.20 features/gem_package.feature
zold-0.26.19 features/gem_package.feature
zold-0.26.18 features/gem_package.feature
zold-0.26.17 features/gem_package.feature
zold-0.26.16 features/gem_package.feature
zold-0.26.15 features/gem_package.feature
zold-0.26.14 features/gem_package.feature
zold-0.26.13 features/gem_package.feature
zold-0.26.12 features/gem_package.feature
zold-0.26.11 features/gem_package.feature
zold-0.26.10 features/gem_package.feature
zold-0.26.9 features/gem_package.feature
zold-0.26.8 features/gem_package.feature
zold-0.26.7 features/gem_package.feature