Skip to content

Rename ruby-idiomatic to ruby-nextgen - #24281

Merged
wing328 merged 1 commit into
masterfrom
rename-ruby
Jul 13, 2026
Merged

Rename ruby-idiomatic to ruby-nextgen#24281
wing328 merged 1 commit into
masterfrom
rename-ruby

Conversation

@wing328

@wing328 wing328 commented Jul 13, 2026

Copy link
Copy Markdown
Member

a follow up pr to #24220

PR checklist

  • Read the contribution guidelines.
  • Run the following to build the project and update samples:
    ./mvnw clean package || exit
    ./bin/generate-samples.sh ./bin/configs/*.yaml || exit
    ./bin/utils/export_docs_generators.sh || exit
    
    (For Windows users, please run the script in WSL)
    Commit all changed files.
    This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
    These must match the expectations made by your contribution.
    You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/java*.
    IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
  • If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.

Summary by cubic

Renamed the Ruby client generator from ruby-idiomatic to ruby-nextgen across code, docs, tests, workflows, and samples. Use -g ruby-nextgen and the ruby-nextgen templates; no behavior changes.

  • Migration
    • Replace -g ruby-idiomatic with -g ruby-nextgen.
    • If you pass a template dir, switch to modules/openapi-generator/src/main/resources/ruby-nextgen.
    • Update any paths/configs from ruby-idiomatic to ruby-nextgen.
    • If instantiating programmatically, use org.openapitools.codegen.languages.RubyNextgenClientCodegen.

Written for commit 95f0c81. Summary will update on new commits.

Review in cubic

@wing328 wing328 changed the title rename ruby-idiomatic to ruby-nextgen Rename ruby-idiomatic to ruby-nextgen Jul 13, 2026
@wing328 wing328 added this to the 7.24.0 milestone Jul 13, 2026
@wing328
wing328 marked this pull request as ready for review July 13, 2026 07:14

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 issue found across 795 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/rubynextgen/RubyApiRouting.java">

<violation number="1" location="modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/rubynextgen/RubyApiRouting.java:10">
P3: The class-level Javadoc comment has a typo: `ruby-nextgengenerator` is missing a space. It should read `ruby-nextgen generator` to match the original comment's readability.</violation>
</file>

Note: This PR contains a large number of files. cubic only reviews up to 200 files per PR, so some files may not have been reviewed. cubic prioritizes the most important files to review.

Re-trigger cubic

// language-agnostic; it is duplicated (not shared) to keep each generator
// fully decoupled and avoid modifying the already-shipped Crystal generator.
/** Pure routing logic for the Ruby-idiomatic generator: path -> (namespace, resource, action). */
/** Pure routing logic for the ruby-nextgengenerator: path -> (namespace, resource, action). */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P3: The class-level Javadoc comment has a typo: ruby-nextgengenerator is missing a space. It should read ruby-nextgen generator to match the original comment's readability.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/rubynextgen/RubyApiRouting.java, line 10:

<comment>The class-level Javadoc comment has a typo: `ruby-nextgengenerator` is missing a space. It should read `ruby-nextgen generator` to match the original comment's readability.</comment>

<file context>
@@ -1,13 +1,13 @@
 // language-agnostic; it is duplicated (not shared) to keep each generator
 // fully decoupled and avoid modifying the already-shipped Crystal generator.
-/** Pure routing logic for the Ruby-idiomatic generator: path -> (namespace, resource, action). */
+/** Pure routing logic for the ruby-nextgengenerator: path -> (namespace, resource, action). */
 public final class RubyApiRouting {
     private RubyApiRouting() {}
</file context>
Suggested change
/** Pure routing logic for the ruby-nextgengenerator: path -> (namespace, resource, action). */
/** Pure routing logic for the ruby-nextgen generator: path -> (namespace, resource, action). */

@wing328
wing328 merged commit 07f4b61 into master Jul 13, 2026
21 of 23 checks passed
@wing328
wing328 deleted the rename-ruby branch July 13, 2026 07:21
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