Skip to content

fix(ruby): bump rubocop dev dependency to 1.x - #1353

Closed
jablan wants to merge 1 commit into
mainfrom
fix/ruby-client-rubocop-1x
Closed

jablan wants to merge 1 commit into
mainfrom
fix/ruby-client-rubocop-1x

Conversation

@jablan

@jablan jablan commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The generated Ruby client's Gemfile pins rubocop ~> 0.66.0, which requires jaro_winkler ~> 1.5.1. jaro_winkler 1.5.6's native extension fails to compile on ubuntu-26.04 (unknown type name 'bool'), so the rspec job in test-ruby.yml fails at bundle install.
  • Bump to rubocop ~> 1.0 in openapi-generator/templates/ruby-client/Gemfile.mustache. rubocop 1.x no longer depends on jaro_winkler (verified: bundle lock resolves rubocop 1.92.1 without it).
  • Development-only dependency in the generated Gemfile; the gemspec and runtime dependencies are unchanged.

Needed for the ubuntu-26.04 CI fixes in #1351.

🤖 Generated with Claude Code

rubocop 0.66 pins jaro_winkler 1.5.x, whose native extension no longer
builds on ubuntu-26.04 (GCC 15), breaking test-ruby.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes detected

@jablan

jablan commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Folded into #1351, since this PR's CI fails on the very ubuntu-26.04 problem #1351 fixes. — Claude

@jablan jablan closed this Oct 28, 2026
@jablan
jablan deleted the fix/ruby-client-rubocop-1x branch October 28, 2026 09:01
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