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

Add missing dependency rexml #1703

Merged
merged 1 commit into from
Feb 25, 2023

Conversation

tricknotes
Copy link
Contributor

rexml has been removed from default gems since Ruby 3.0. https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/

To use rexml, it should be added as runtime dependency. https://github.com/troessner/reek/blob/v6.1.4/lib/reek/report/xml_report.rb#L13

Since rexml is depended from rubocop and kramdown that are only development dependencies, all tests are passed on CI.

@mvz
Copy link
Collaborator

mvz commented Feb 14, 2023

Thanks @tricknotes! Can you please add a version limitation for this? I think "~> 3.1" should be fine.

rexml has been removed from default gems since Ruby 3.0.
https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/

To use rexml, it should be added as runtime dependency.
https://github.com/troessner/reek/blob/v6.1.4/lib/reek/report/xml_report.rb#L13

Since rexml is depended from rubocop and kramdown that are only development dependencies,
all tests are passed on CI.
@tricknotes tricknotes force-pushed the add-missing-dependency-rexml branch from 1f1a97e to c2fa422 Compare February 14, 2023 10:55
@tricknotes
Copy link
Contributor Author

@mvz
Thanks. It is a good idea.
I updated this PR with version limitation.

@mvz mvz merged commit 81001c5 into troessner:master Feb 25, 2023
@tricknotes tricknotes deleted the add-missing-dependency-rexml branch February 25, 2023 13:11
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