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

Add rubocop - # frozen_string_literal #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sebyx07
Copy link
Contributor

@sebyx07 sebyx07 commented Aug 17, 2024

I added rubocop mainly for frozen_string_literal

  • used https://github.com/toshimaru/rubocop-rails_config, which follows the rails standard

  • also refactored what files get inside the .gem file when you do the gem build jit_preloader.gemspec - to only include the useful files from the lib change: spec.files = Dir.glob('lib/**/*.rb') + [File.basename(__FILE__)]. now the .gem file is just 9.7kb

  • run rubocop on the ci too

  • add required_ruby_version = '>= 3.0.0'

@sebyx07 sebyx07 requested review from a team as code owners August 17, 2024 15:46
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.

1 participant