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

Ensure compatibility with ruby --enable-frozen-string-literal #508

Merged

Conversation

casperisfine
Copy link

Ref: https://bugs.ruby-lang.org/issues/20205

json-schema is used by the rbs gem, which is tested as part of the ruby-core CI, and it's failing with frozen string literals are enabled by default.

Ref: https://bugs.ruby-lang.org/issues/20205

`json-schema` is used by the `rbs` gem, which is tested as part
of the `ruby-core` CI, and it's failing with frozen string literals
are enabled by default.
Copy link

codecov bot commented Mar 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.08%. Comparing base (2cc181b) to head (d1d1e48).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #508   +/-   ##
=======================================
  Coverage   90.08%   90.08%           
=======================================
  Files          76       76           
  Lines        1584     1584           
=======================================
  Hits         1427     1427           
  Misses        157      157           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bastelfreak
Copy link
Member

Thanks for the patch @casperisfine

@bastelfreak bastelfreak merged commit 7e4c49a into voxpupuli:master Mar 15, 2024
14 checks passed
@casperisfine
Copy link
Author

Thanks for the extremely timely merge :)

@casperisfine
Copy link
Author

As a maintainer I know it's annoying to be asked for a release, but in this case I arrived here because I'm trying to get rbs test suite to pass with --enable-frozen-string-literal and it depend on json-schema. I can use a git gem for now, but not sure they'll be willing to merge my fixes without a proper release cut.

So I'd owe you one if you could cut a release soon 🙏

casperisfine pushed a commit to casperisfine/rbs that referenced this pull request Mar 15, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `rbs` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
@bastelfreak
Copy link
Member

already on it :)
#509

@casperisfine
Copy link
Author

😻

@casperisfine casperisfine deleted the enable-frozen-string-literal branch March 15, 2024 08:57
casperisfine pushed a commit to casperisfine/rbs that referenced this pull request Mar 15, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `rbs` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
@mostlyobvious
Copy link

considering #507 resolved too

casperisfine pushed a commit to casperisfine/typeprof that referenced this pull request Mar 18, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `typeprof` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
casperisfine pushed a commit to casperisfine/typeprof that referenced this pull request Mar 18, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `typeprof` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
casperisfine pushed a commit to casperisfine/typeprof that referenced this pull request Mar 18, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `typeprof` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
casperisfine pushed a commit to casperisfine/typeprof that referenced this pull request Mar 18, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `typeprof` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
casperisfine pushed a commit to casperisfine/typeprof that referenced this pull request Mar 18, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `typeprof` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
casperisfine pushed a commit to casperisfine/typeprof that referenced this pull request Mar 18, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `typeprof` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
casperisfine pushed a commit to casperisfine/rbs that referenced this pull request Mar 18, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `rbs` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
mame pushed a commit to ruby/typeprof that referenced this pull request Mar 18, 2024
Ref: https://bugs.ruby-lang.org/issues/20205
Ref: voxpupuli/json-schema#508

Since `typeprof` is tested as part of ruby-core CI, it needs to be compatible
with the `--enable-frozen-string-literal` option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants