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

Remove the IndifferentHash initializer #1982

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

dentarg
Copy link
Member

@dentarg dentarg commented Jan 5, 2024

See these links for background:

Before

> Sinatra::IndifferentHash.new(a: 1)[:b]
=> {"a"=>1}

After

> Sinatra::IndifferentHash.new(a: 1)[:b]
=> {:a=>1}

Close #1953

See these links for background:
- sinatra#1951
- sinatra#1948

Before

    > Sinatra::IndifferentHash.new(a: 1)[:b]
    => {"a"=>1}

After

    > Sinatra::IndifferentHash.new(a: 1)[:b]
    => {:a=>1}

Close sinatra#1953
@dentarg dentarg merged commit ceb14ed into sinatra:main Jan 5, 2024
24 checks passed
@dentarg dentarg deleted the issue/1953 branch January 5, 2024 12:15
@dentarg dentarg mentioned this pull request Jan 5, 2024
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.

Remove the IndifferentHash initializer
1 participant