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

Rename push_include to pushInclude #1020

Merged

Conversation

abelsromero
Copy link
Member

Thank you for opening a pull request and contributing to AsciidoctorJ!

Please take a bit of time giving some details about your pull request:

Kind of change

  • Bug fix
  • New non-breaking feature
  • New breaking feature
  • Documentation update
  • Build improvement

Description

What is the goal of this pull request?
Rename PreprocessorReader::push_include to pushInclude to align with Java conventions.
Also deprecates the old method to keep this change compatible.

How does it achieve that?

Are there any alternative ways to implement this?
no

Are there any implications of this pull request? Anything a user must know?

Issue

If this PR fixes an open issue, please add a line of the form:

Fixes #980

Release notes

Please add a corresponding entry to the file CHANGELOG.adoc

@abelsromero
Copy link
Member Author

There's a thing here in that the attributes are passed as Map.
That made me reconsider the deprecation of "asMap" methods. wdyt? Should we keep the asMap for these cases?

@robertpanzer robertpanzer merged commit 8f7bebc into asciidoctor:main Apr 21, 2021
@abelsromero abelsromero deleted the issue-980-rename-push_include branch December 23, 2021 10:32
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.

Rename push_include to pushInclude
2 participants