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

Passing safe_level with the 2nd argument of ERB.new is deprecated #122

Open
bkmgit opened this issue Oct 13, 2023 · 0 comments
Open

Passing safe_level with the 2nd argument of ERB.new is deprecated #122

bkmgit opened this issue Oct 13, 2023 · 0 comments

Comments

@bkmgit
Copy link
Contributor

bkmgit commented Oct 13, 2023

$ gem2rpm -T > rubygem-GEM.spec.template
$ gem2rpm -t rubygem-GEM.spec.template licensee-9.16.0.gem > rubygem-licensee.spec
/usr/share/gems/gems/gem2rpm-1.0.2/lib/gem2rpm.rb:93: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/usr/share/gems/gems/gem2rpm-1.0.2/lib/gem2rpm.rb:93: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.

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

No branches or pull requests

1 participant