Sha256: 84413389392f9131e512975fe15f72fcc69f574e99905b9065db8eaa01ae4f92

Contents?: true

Size: 631 Bytes

Versions: 10

Compression:

Stored size: 631 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-stress.gemspec
    gem specification --ruby zold-stress-*.gem > ../spec.rb
    cd ..
    ruby execs.rb
    """
    Then Exit code is zero

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zold-stress-0.7.0 features/gem_package.feature
zold-stress-0.6.0 features/gem_package.feature
zold-stress-0.5.3 features/gem_package.feature
zold-stress-0.5.2 features/gem_package.feature
zold-stress-0.5.1 features/gem_package.feature
zold-stress-0.5.0 features/gem_package.feature
zold-stress-0.4.0 features/gem_package.feature
zold-stress-0.3.0 features/gem_package.feature
zold-stress-0.2.0 features/gem_package.feature
zold-stress-0.1.0 features/gem_package.feature