-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use Ruby 2.7 compatible string matching #2060
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
Conversation
In Ruby 2.7, performing true =~ %r{false}i raises a deprecation warning.
apache::bool2httpd is a functionthat may have no external impact to Forge modules. This module is declared in 174 of 575 indexed public
|
sanfrancrisko
left a comment
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.
Thanks for getting rid of the warning @ekohl !
Use Ruby 2.7 compatible string matching
|
since this code change our run failes with |
|
Which Puppet and Ruby versions are used? The module is compatible with Puppet 5.5.10 and newer. The AIO install bundles Ruby 2.4 and that has the method. |
|
we are using puppet 5.5.14 and ruby 2.3.1p112. seems like its a ruby version thing |
|
It does indeed look like the method was introduced in Ruby 2.4. |
|
We are running puppet 5.5.22 with ruby 2.4.10p364 and also get the same error. |
|
Hi folks, We have a fix for this merged in #2102 and hope to get a new version of the module out this week. |
Use Ruby 2.7 compatible string matching
In Ruby 2.7, performing true =~ %r{false}i raises a deprecation warning.