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

Optimize skunk.gemspec: Streamlined gem specification and cleaned metadata and file handling. #118

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

infyomer
Copy link

@infyomer infyomer commented Dec 20, 2024

I optimized the skunk.gemspec by simplifying the required_ruby_version to a string format for clarity, streamlined the metadata handling to only include necessary sections, and improved the file inclusion process for efficiency. I also clarified comments for better understanding. These changes enhance readability, reduce redundancy, and ensure the file is easier to maintain and extend in the future.

…adata and file handling.

I optimized the skunk.gemspec by simplifying the required_ruby_version to a string format for clarity, streamlined the metadata handling to only include necessary sections, and improved the file inclusion process for efficiency. I also clarified comments for better understanding. These changes enhance readability, reduce redundancy, and ensure the file is easier to maintain and extend in the future.
@JuanVqz JuanVqz requested a review from etagwerker December 20, 2024 14:32
spec.required_ruby_version = ">= 2.4.0"

# Prevent pushing this gem to RubyGems.org unless specified
spec.metadata["allowed_push_host"] = "https://www.rubygems.org" if spec.respond_to?(:metadata)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @infyomer, Thanks for the contribution, however, I'm not sure this is the right change. If you keep the if for this line, why didn't you add it for the next 3 metadata lines?

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