Sha256: 03e3e6f5eb1a75bea872c3ceabbf39450e5212b353a2a42c55367eb41306de7e

Contents?: true

Size: 540 Bytes

Versions: 8

Compression:

Stored size: 540 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 have a "execs.rb" file with content:
    """
    #!/usr/bin/env ruby
    require 'rubygems'
    spec = Gem::Specification::load('./spec.rb')
    fail 'no executables' if spec.executables.empty?
    """
    When I run bash:
    """
    set -e
    cd hoc
    gem build hoc.gemspec
    gem specification --ruby hoc-*.gem > ../spec.rb
    cd ..
    ruby execs.rb
    """
    Then Exit code is zero

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hoc-0.6 features/gem_package.feature
hoc-0.5 features/gem_package.feature
hoc-0.4.2 features/gem_package.feature
hoc-0.4.1 features/gem_package.feature
hoc-0.4 features/gem_package.feature
hoc-0.3 features/gem_package.feature
hoc-0.2 features/gem_package.feature
hoc-0.1 features/gem_package.feature