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

Add CI support for Sprockets 4 #573

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

rossta
Copy link
Contributor

@rossta rossta commented Oct 22, 2019

Additional Appraisal gemfiles are added to test against combinations of Rails 5 or Rails 6 with Sprockets 3 or 4. Also bumps Rails 5 and Rails 6 appraisals.

Thanks for maintaining this very useful gem!

@rossta
Copy link
Contributor Author

rossta commented Oct 22, 2019

@jejacks0n Any chance for a new release soon to support apps upgrading to Sprockets 4? Thanks!

@rossta rossta force-pushed the task/add-appraisals branch 2 times, most recently from 4b7ca0a to 74c6b2f Compare October 22, 2019 17:20
@thebravoman
Copy link

I just open rails/sprockets#650 because I tried to move to Sprocket 4. Hope this helps.

@rossta
Copy link
Contributor Author

rossta commented Dec 9, 2019

This might help: I had the same error when I upgraded my Rails app with teaspoon to Sprockets 4 and fixed the issue by pointing to teaspoon master:

gem 'teaspoon-jasmine', github: "jejacks0n/teaspoon"  

I use jasmine but it would be similar for teaspoon-qunit or teaspoon-mocha.

gem "teaspoon-qunit", path: "../teaspoon-qunit"
gem "rubocop", require: false
gem "rubocop-rails_config"
gem "sprockets", "< 4"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is now a duplicate of the other rails 6 above...

gem "teaspoon-jasmine", path: "../teaspoon-jasmine"
gem "teaspoon-mocha", path: "../teaspoon-mocha"
gem "teaspoon-qunit", path: "../teaspoon-qunit"
gem "rubocop", require: false
gem "rubocop-rails_config"
gem "sprockets", "< 4"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already have rails6+sprockets3 file

Copy link
Collaborator

@mathieujobin mathieujobin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should remove the two old gemfiles
then I think this is much better
lets merge

@mathieujobin
Copy link
Collaborator

please rebase and remove the duplicate files

squash into 1 commit

Add CI support for Sprockets 4

Additional Appraisal gemfiles are added to test against combinations of
Rails 5 or Rails 6 with Sprockets 3 or 4.

Also bumps Rails 5 and Rails 6 appraisals

Configure travis to use xvfb service

For more info:
https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-services-xvfb
@rossta
Copy link
Contributor Author

rossta commented Feb 18, 2021

Better late than never? This PR is now rebased against the default branch.

@jejacks0n jejacks0n merged commit 042ac0a into jejacks0n:master Feb 18, 2021
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

Successfully merging this pull request may close these issues.

4 participants