-
Notifications
You must be signed in to change notification settings - Fork 38
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
Drop support for end-of-life Ruby versions + update dependencies. #349
Conversation
With middleman-sprockets 4.1, tests fail with: ``` /Users/sengi/src/alphagov/tech-docs-gem/vendor/bundle/ruby/3.3.0/gems/middleman-sprockets-4.1.1/lib/middleman-sprockets/resource.rb:37:in `block in sprockets_asset': ../../lib/source/stylesheets/manifest.css (Sprockets::FileNotFound) ```
These default gems are slated for removal from Ruby 3.4, but upstream gems that depend on them haven't updated their gemspecs yet (or hadn't at the time of release of the we're stuck on for now, at least). This somewhat helps forward-compatibility with Ruby 3.4.
I've removed the requirement for tests on ruby 2.7 will try to do a review in the next day or two (probably by just including the gem in another thing and making sure it works) |
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.
looks good, thanks for doing this Chris
I have tested against a local tech docs site using ruby 3.2.3. Everything seems to function correctly. |
Thanks @heathd! |
npm audit fix
).Someone with repo admin (or alphagov org admin) will need to update the repo's branch protection rules to fix the list of required checks.