Sha256: dacc2f13399b734c1b72d2e14b8beb434e572e3dce63d5e6119604df10e0e7a4

Contents?: true

Size: 602 Bytes

Versions: 75

Compression:

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

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
sibit-0.25.1 features/gem_package.feature
sibit-0.25.0 features/gem_package.feature
sibit-0.24.0 features/gem_package.feature
sibit-0.23.1 features/gem_package.feature
sibit-0.23.0 features/gem_package.feature
sibit-0.22.0 features/gem_package.feature
sibit-0.21.8 features/gem_package.feature
sibit-0.21.7 features/gem_package.feature
sibit-0.21.6 features/gem_package.feature
sibit-0.21.5 features/gem_package.feature
sibit-0.21.4 features/gem_package.feature
sibit-0.21.3 features/gem_package.feature
sibit-0.21.2 features/gem_package.feature
sibit-0.21.1 features/gem_package.feature
sibit-0.21.0 features/gem_package.feature
sibit-0.20.4 features/gem_package.feature
sibit-0.20.3 features/gem_package.feature
sibit-0.20.2 features/gem_package.feature
sibit-0.20.1 features/gem_package.feature
sibit-0.20.0 features/gem_package.feature