Sha256: 260b037a95caeedbec9cab7bdb5a0cfd223e574a71c720e24c015b2332d78915

Contents?: true

Size: 599 Bytes

Versions: 17

Compression:

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
xcop-0.7.1 features/gem_package.feature
xcop-0.7.0 features/gem_package.feature
xcop-0.6.3 features/gem_package.feature
xcop-0.6.2 features/gem_package.feature
xcop-0.6.1 features/gem_package.feature
xcop-0.6 features/gem_package.feature
xcop-0.5.8 features/gem_package.feature
xcop-0.5.7 features/gem_package.feature
xcop-0.5.6 features/gem_package.feature
xcop-0.5.5 features/gem_package.feature
xcop-0.5.4 features/gem_package.feature
xcop-0.5.3 features/gem_package.feature
xcop-0.5.2 features/gem_package.feature
xcop-0.5.1 features/gem_package.feature
xcop-0.5 features/gem_package.feature
xcop-0.4 features/gem_package.feature
xcop-0.3 features/gem_package.feature