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

Set sprocket-rails version to be at least 3.5.1 and fix rubocop issues #1072

Merged
merged 11 commits into from
Jul 12, 2024

Conversation

texpert
Copy link
Collaborator

@texpert texpert commented Jun 6, 2024

With the release of sprockets-rails 3.5.0, our local test suite breaks with:

NoMethodError: undefined method `deprecator' for Sprockets::Rails:Module
Did you mean?  deprecate
/home/runner/work/camaleon-cms/camaleon-cms/vendor/bundle/ruby/3.0.0/gems/sprockets-rails-3.5.0/lib/sprockets/railtie.rb:129:in `block in <class:Railtie>'
/home/runner/work/camaleon-cms/camaleon-cms/vendor/bundle/ruby/3.0.0/gems/railties-7.1.3.4/lib/rails/initializable.rb:32:in `instance_exec'

A bug fixing PR has already been merged - see rails/sprockets-rails#525, so let's set sprocket-rails version to be greater or equal to 3.5.1, which is working good.

@texpert texpert requested review from owen2345 and brian-kephart June 6, 2024 20:08
texpert added 2 commits June 11, 2024 14:45
`Error: The `RSpec/FilePath` cop has been split into `RSpec/SpecFilePathFormat` and `RSpec/SpecFilePathSuffix`.
 (obsolete configuration found in .rubocop.yml, please update it)`
@texpert texpert changed the title Restrict sprocket-rails to version up to 3.4.2 Set sprocket-rails version to be at least 3.5.1 Jun 11, 2024
@texpert texpert changed the title Set sprocket-rails version to be at least 3.5.1 Set sprocket-rails version to be at least 3.5.1 and fix rubocop issues Jun 11, 2024
Copy link
Collaborator

@brian-kephart brian-kephart left a comment

Choose a reason for hiding this comment

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

Sorry for the delay @texpert . This PR looks good. Thanks for doing this.

@texpert texpert merged commit 6074276 into owen2345:master Jul 12, 2024
13 checks passed
@texpert texpert deleted the restrict-sprockets-rails-to-3-4-2 branch August 21, 2024 17:43
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.

2 participants