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

warning: attribute accessor as module_function #424

Open
mohamedhafez opened this issue Mar 29, 2023 · 0 comments
Open

warning: attribute accessor as module_function #424

mohamedhafez opened this issue Mar 29, 2023 · 0 comments

Comments

@mohamedhafez
Copy link

Getting the following warning as of version 1.5.0:

/myproject/shared/bundle/jruby/3.1.0/gems/googleauth-1.5.0/lib/googleauth/helpers/connection.rb:27: warning: attribute accessor as module_function

It's unclear to me what is intended here, so I didn't try to fix it:

module Connection
module_function
attr_accessor :default_connection

mohamedhafez added a commit to mohamedhafez/google-auth-library-ruby that referenced this issue May 25, 2024
This solves googleapis#424 for now. The issue has been open for over a year, so I'm guessing nobody has the bandwidth to fix it. This will keep it from spamming log files in the meantime
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