-
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
Remove unnecessary explicit dependencies: sprockets, activesupport, sass and pry #218
Conversation
b167e42
to
55d8d31
Compare
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.
👏
Do you want to bump the version to |
I'm optimistically hoping I might get my long protracted bug fix PR into this release too. But if that hits a snag I'll release them separately. |
This is implicitly required by middleman-sprockets and is not referenced explicitly in the code. This dependency is unnecessarily set to a minimum version of 4.0.0 which causes problems for some consumers (notably govuk-developer-docs) that haven't made the (rather painful) migration to sprockets 4.
This is a deprecated library where there are no explicit references to it in the code.
This was presumably installed just to allow debugging within this gem and is not a dependency that clients of this need.
I can't find any places where this is used in this project.
Since Ruby 2.7 has bundler installed and is the minimum version for this gem there isn't need to flag bundler as a development dependency.
This also fixes the formatting of the changelog from 125
55d8d31
to
e86d2f9
Compare
With the exception of pry, none of these dependencies are explicitly referenced in the code (activesupport and sprockets are implicit though). This removes an unnecessary constraint on sprockets 4, as middleman-sprockets depends on 3 and up which causes problems for apps that integrate with govuk_publishing_components.