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

Revert "Change how rules are referenced" #125

Closed
wants to merge 1 commit into from

Conversation

Tabby
Copy link
Contributor

@Tabby Tabby commented Jul 11, 2024

Reverts #124

This change fixes an issue caused by a downstream service not having the new rubocop-factory_bot gem in its dependencies, but does it in the wrong way. These old namespaces were deprecated long ago and the correct fix is to add a dependency on the new gem, either here or in services that depend on this gem

See https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html

@Tabby Tabby requested a review from kevinrobayna July 11, 2024 17:03
@@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = 'gc_ruboconfig'
spec.version = '5.0.1'
spec.version = '5.0.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

5.0.2

then

Copy link
Contributor

Choose a reason for hiding this comment

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

can we update these then

  spec.add_dependency 'rubocop', '>= 1.63'
  spec.add_dependency 'rubocop-factory_bot', '>= 2.26.1'
  spec.add_dependency 'rubocop-performance', '>= 1.21'
  spec.add_dependency 'rubocop-rails', '>= 2.25.0'
  spec.add_dependency 'rubocop-rspec', '>= 3.0.1'
  spec.add_dependency 'rubocop-rspec_rails', '>= 2.30.0'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, go for it :)
Just do it in this PR, or a separate one?

@kevinrobayna kevinrobayna deleted the revert-124-change_reference branch July 22, 2024 14:51
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