-
Notifications
You must be signed in to change notification settings - Fork 243
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
Conversation
@jejacks0n Any chance for a new release soon to support apps upgrading to Sprockets 4? Thanks! |
4b7ca0a
to
74c6b2f
Compare
I just open rails/sprockets#650 because I tried to move to Sprocket 4. Hope this helps. |
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. |
gemfiles/rails_6_sprockets_3.gemfile
Outdated
gem "teaspoon-qunit", path: "../teaspoon-qunit" | ||
gem "rubocop", require: false | ||
gem "rubocop-rails_config" | ||
gem "sprockets", "< 4" |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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
There was a problem hiding this 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
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
74c6b2f
to
b8db61f
Compare
Better late than never? This PR is now rebased against the default branch. |
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!