-
Notifications
You must be signed in to change notification settings - Fork 4
Bump markdown-rails from 2.1.0 to 2.2.0 #940
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
base: main
Are you sure you want to change the base?
Conversation
134e8ef to
ec0d3b1
Compare
ec0d3b1 to
10b14cc
Compare
|
@dependabot recreate |
10b14cc to
b33db39
Compare
Bumps [markdown-rails](https://github.com/sitepress/markdown-rails) from 2.1.0 to 2.2.0. - [Commits](sitepress/markdown-rails@v2.1.0...v2.2.0) --- updated-dependencies: - dependency-name: markdown-rails dependency-version: 2.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
b33db39 to
c4a1351
Compare
|
🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-940.www.review.forms.service.gov.uk/ It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready For the sign in details and more information, see the review apps wiki page. |
|
Oh I see what's happened, the way |
|
So what's happening here in detail:
However that is brittle, as seen with this version bump; the interface has changed (which is fair, this isn't the documented way of using the library), so to make our code work again we need to copy the changes from markdown-rails. Which is annoying and work we'd rather not be doing, we might as well just vendor the code. Making the two gems work together would be easier if one or both exposed mixins so that we could create a class that inherits methods from both, but currently neither gem does. |
|
I've raised a PR against govuk-markdown suggesting adding a mixin module that we can use to simplify our usage with markdown-rails: |
Bumps markdown-rails from 2.1.0 to 2.2.0.
Commits
54444c5Bump versione49576bSet a default view context1181cdcUse template handler9114355Put attr_writer :view_context back1e25b61Initialize with options154c018Delegate helpersd67af04Change from instance to class for renderersd7ac839Use Rails helpers for views instead of delegation94a5a08Pass view_context to markdown rails renderer2e3e953Add Github CI workflowYou can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)