Sha256: 0f141b16631e44fe6700dfb3959747335baa52d407fc64cc2f6be7d26c76e9fd

Contents?: true

Size: 617 Bytes

Versions: 3

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 I make a temp directory
    Then 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 judges
    gem build judges.gemspec
    gem specification --ruby judges-*.gem > ../spec.rb
    cd ..
    ruby execs.rb
    """
    Then Exit code is zero

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
judges-0.0.37 features/gem_package.feature
judges-0.0.36 features/gem_package.feature
judges-0.0.35 features/gem_package.feature