Skip to content

Fix RBS::DuplicatedDeclarationError#5

Merged
pboling merged 1 commit into
ruby-oauth:mainfrom
leoarnold:leoarnold/sig/duplication
Jun 7, 2026
Merged

Fix RBS::DuplicatedDeclarationError#5
pboling merged 1 commit into
ruby-oauth:mainfrom
leoarnold:leoarnold/sig/duplication

Conversation

@leoarnold

Copy link
Copy Markdown

We remove the RBS declaration of Auth::Sanitizer::VERSION from sig/auth/sanitizer.rbs because it's already declared in sig/auth/sanitizer/version.rbs.

This duplicate declaration causes RBS::DuplicatedDeclarationError in projects using auth-sanitizer.

We remove the RBS declaration of `Auth::Sanitizer::VERSION`
from sig/auth/sanitizer.rbs because it's already declared in
sig/auth/sanitizer/version.rbs.

This duplicate declaration causes `RBS::DuplicatedDeclarationError`
in projects using `auth-sanitizer`.

@pboling pboling left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very good point!

@pboling pboling self-assigned this Jun 7, 2026
@pboling pboling merged commit 07bc837 into ruby-oauth:main Jun 7, 2026
30 of 34 checks passed
@pboling

pboling commented Jun 7, 2026

Copy link
Copy Markdown
Member

@leoarnold released as v0.2.1 - thanks! 🌟

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