fix: Add logger dependency to gemspec by jgarber623 · Pull Request #227 · GoogleCloudPlatform/functions-framework-ruby · GitHub
Skip to content

fix: Add logger dependency to gemspec#227

Open
jgarber623 wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
jgarber623:patch-1
Open

fix: Add logger dependency to gemspec#227
jgarber623 wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
jgarber623:patch-1

Conversation

@jgarber623

Copy link
Copy Markdown

The functions_framework gem requires the logger gem in lib/functions_framework/cli.rb. Under Ruby 3.4, this emits a warning:

logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.

This commit adds the logger gem as a dependency to the gemspec which should silence the warning message.

The functions_framework gem requires the logger gem in
`lib/functions_framework/cli.rb`. Under Ruby 3.4, this emits a warning:

> logger was loaded from the standard library, but will no longer be
part of the default gems starting from Ruby 3.5.0.
> You can add logger to your Gemfile or gemspec to silence this warning.

This commit adds the logger gem as a dependency to the gemspec which
should silence the warning message.

See-also: https://rubygems.org/gems/logger
@jgarber623

Copy link
Copy Markdown
Author

Comment thread functions_framework.gemspec Outdated
GoogleCloudPlatform#227 feedback

Co-authored-by: Sam Bostock <bostocksamuel@gmail.com>
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