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.13.21 features/gem_package.feature
zold-0.13.20 features/gem_package.feature
zold-0.13.19 features/gem_package.feature
zold-0.13.18 features/gem_package.feature
zold-0.13.17 features/gem_package.feature
zold-0.13.16 features/gem_package.feature
zold-0.13.15 features/gem_package.feature
zold-0.13.14 features/gem_package.feature
zold-0.13.13 features/gem_package.feature
zold-0.13.12 features/gem_package.feature
zold-0.13.11 features/gem_package.feature
zold-0.13.10 features/gem_package.feature
zold-0.13.9 features/gem_package.feature
zold-0.13.8 features/gem_package.feature
zold-0.13.7 features/gem_package.feature
zold-0.13.6 features/gem_package.feature
zold-0.13.5 features/gem_package.feature
zold-0.13.4 features/gem_package.feature
zold-0.13.3 features/gem_package.feature
zold-0.13.2 features/gem_package.feature