Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release aruba/rspec as a standalone gem without cucumber #806

Open
caalberts opened this issue May 13, 2021 · 1 comment
Open

Release aruba/rspec as a standalone gem without cucumber #806

caalberts opened this issue May 13, 2021 · 1 comment

Comments

@caalberts
Copy link

Summary

Release aruba-rspec gem which contains only relevant code for aruba/rspec.

Expected Behavior

When I need to use aruba with RSpec, I should be able to install the gem without cucumber.

Given the following Gemfile:

gem 'aruba-rspec'

When bundle install

Then Gemfile.lock should contain:

    aruba (1.1.0)
      childprocess (>= 2.0, < 5.0)
      contracts (~> 0.16.0)
      rspec-expectations (~> 3.4)
      thor (~> 1.0)

Current Behavior

Given the following Gemfile:

gem 'aruba'

When bundle install

Then Gemfile.lock should contain:

    aruba (1.1.0)
      childprocess (>= 2.0, < 5.0)
      contracts (~> 0.16.0)
      cucumber (>= 2.4, < 7.0) # cucumber is also installed
      rspec-expectations (~> 3.4)
      thor (~> 1.0)

Possible Solution

Context & Motivation

When aruba/rspec is used, there doesn't seem to be a need for the cucumber gem to be installed as well. Releasing aruba-rspec on its own would reduce the bundle size.

@mvz
Copy link
Contributor

mvz commented May 13, 2021

Please see #402 for previous discussion about splitting aruba.

The name aruba-rspec is taken, unfortunately, but apart from that, I'm all for this.

Pull requests welcome, but they'll have to include a migration path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants