Sha256: 68c0bc16594bfd888a5c94ace6d97b4bc97ed55be2ae67a87f6a1aa0bbb3380f

Contents?: true

Size: 1.66 KB

Versions: 69

Compression:

Stored size: 1.66 KB

Contents

Feature: Distribute native extension with gems

  In order to avoid compiler toolchain requirement during installation
  As a Gem developer.
  I want rake tasks generate platform specific gems for me

  Scenario: generate pure ruby gem
    Given a safe project directory
    And a gem named 'my_project'
    And a extension named 'extension_one'
    And I've already successfully executed rake task 'compile'
    And 'pkg' folder is deleted
    When rake task 'gem' is invoked
    Then rake task 'gem' succeeded
    And 'pkg' folder is created
    And ruby gem for 'my_project' version '0.1.0' do exist in 'pkg'

  Scenario: generate native gem
    Given a safe project directory
    And a gem named 'my_project'
    And a extension named 'extension_one'
    And I've already successfully executed rake task 'compile'
    And 'pkg' folder is deleted
    When rake task 'native gem' is invoked
    Then rake task 'native gem' succeeded
    And 'pkg' folder is created
    And ruby gem for 'my_project' version '0.1.0' do exist in 'pkg'
    And binary gem for 'my_project' version '0.1.0' do exist in 'pkg'

  Scenario: generate forced native gem
    Given a safe project directory
    And a gem named 'my_project'
    And a extension 'extension_one' with forced platform 'universal-unknown'
    And I've already successfully executed rake task 'compile'
    And 'pkg' folder is deleted
    When rake task 'native:universal-unknown gem' is invoked
    Then rake task 'native:universal-unknown gem' succeeded
    And 'pkg' folder is created
    And ruby gem for 'my_project' version '0.1.0' do exist in 'pkg'
    And a gem for 'my_project' version '0.1.0' platform 'universal-unknown' do exist in 'pkg'

Version data entries

69 entries across 69 versions & 5 rubygems

Version Path
rake-compiler-1.2.9 features/package.feature
rake-compiler-1.2.8 features/package.feature
rake-compiler-1.2.7 features/package.feature
rake-compiler-1.2.6 features/package.feature
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rake-compiler-1.2.5/features/package.feature
rake-compiler-1.2.5 features/package.feature
rake-compiler-1.2.4 features/package.feature
rake-compiler-1.2.3 features/package.feature
rake-compiler-1.2.2 features/package.feature
rake-compiler-1.2.1 features/package.feature
rake-compiler-1.2.0 features/package.feature
rake-compiler-1.1.9 features/package.feature
rake-compiler-1.1.8 features/package.feature
rake-compiler-1.1.7 features/package.feature
rake-compiler-1.1.6 features/package.feature
rake-compiler-1.1.5 features/package.feature
rake-compiler-1.1.4 features/package.feature
rake-compiler-1.1.3 features/package.feature
rake-compiler-1.1.2 features/package.feature
rake-compiler-1.1.1 features/package.feature