-
Notifications
You must be signed in to change notification settings - Fork 67
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
remove frozen string literal setting from the plugin #92
base: master
Are you sure you want to change the base?
Conversation
@rstruber sorry I think I was unclear before with any of the ones you are having issues with we could disable it but I was under the impression many of them worked. I have looked up solutions for most of the scenarios which can be worked around using:
There might be scenarios where it is still too painful to try to get it to work but I think we should put in the effort where we can. As of ruby 3.0 (which is certainly a while off) it will no longer work to disable them |
@eheydrick what are your thoughts? |
I probably got a little over-zealous. Nothing wrong with paring it down. I would lean toward using the |
Sorry for the lack of response, this got lost in the sea of notifications I get get from github.
No problem, I appreciate your help. My "quick" thoughtsI have yet to really see much consensus in the community as to the "ideal" way to handle it. I am leaning more towards Some additional thoughtsFirst off I think this discussion should move to an issue in https://github.com/sensu-plugins/community as its not really specific to this plugin on how we should address it going forward across all the plugins.
I think that is what I am seeing in a few places. I think that now I can't be lazy and just always init vars as I think specifically in the case of One advantage of using the Unary operator (other than supposedly faster) is encoding. Unless specified it will default to |
any chance you plan on coming back to this and getting this over the line? |
I have intentions to. I guess I thought we left off in a place where you were waiting to make a decision. I'll try to pare this down and move it along. |
I wanted to hear your thoughts on what I said, ideally these decisions should be made with community input not just my own personal opinions. |
Complete and standardize README
This avoids issues with string modification in scripts that do not create objects from the strings.
Example:
In bin/check-rabbitmq-node-usage.rb
Pull Request Checklist
Is this in reference to an existing issue?
General
Update Changelog following the conventions laid out here
Update README with any necessary configuration snippets
Binstubs are created if needed
RuboCop passes
Existing tests pass
New Plugins
Tests
Add the plugin to the README
Does it have a complete header as outlined here
Purpose
Known Compatibility Issues