Sha256: 81554adfbd26e8de31aae892671858dd9c7f2c8266f43d2522c818042f3f94dd

Contents?: true

Size: 544 Bytes

Versions: 24

Compression:

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
pdd-0.5.2 features/gem_package.feature
pdd-0.5.1 features/gem_package.feature
pdd-0.5 features/gem_package.feature
pdd-0.4.1 features/gem_package.feature