René's URL Explorer Experiment


Title: ci: test on Ruby 4.0 by mortik · Pull Request #60 · openapi-ruby/openapi-ruby · GitHub

Open Graph Title: ci: test on Ruby 4.0 by mortik · Pull Request #60 · openapi-ruby/openapi-ruby

X Title: ci: test on Ruby 4.0 by mortik · Pull Request #60 · openapi-ruby/openapi-ruby

Description: Why .tool-versions has pinned Ruby 4.0 for a while, so the gem is developed and linted against 4.0 — but no CI job ran it. The one version the code is actually written against was the only one never exercised. The Gemfile already carries a Ruby 4.0 workaround (gemfiles/sinatra.gemfile pulls in ostruct, "stopped being a Ruby default gem in 4.0") that nothing verified. Change 4.0 added to the test, hanami and sinatra matrices lint moves from 3.4 to 4.0, matching local development .tool-versions 4.0.2 → 4.0.6 (current patch; CI's 4.0 already resolves to it) README's CI coverage line now names the Ruby range No matrix exclusions were needed. ruby/setup-ruby@v1 supports every version through 4.0.6, and '4.0' is a valid input. Verification Everything below ran locally on Ruby 4.0.2 against this branch's base: Suite Result Rails 7.0 / 7.1 / 7.2 / 8.0 433 examples, 0 failures each Hanami 2.3 / 3.0 17 examples, 0 failures each Sinatra 3.2 / 4.2 (RSpec) 17 examples, 0 failures each Sinatra 3.2 / 4.2 (Minitest) 2 runs, 9 assertions, 0 failures each standardrb clean Committed host schemas regenerate byte-identically (git diff --exit-code openapi/) Each Rails line was resolved in its own bundle with RAILS_VERSION applied, the way CI does it. Related, but deliberately not in this PR While resolving those bundles I hit a failure worth reporting separately: Rails 8.1 + rack 3.2.7 + json 2.21.2 rejects JSON request bodies with 400 Bad Request, failing the two POST examples in spec/dummy/spec/requests/posts_spec.rb. It needs both dependency versions together — pinning either rack 3.2.6 or json 2.19.3 makes it pass — and it reproduces on Ruby 3.3.11 as well, so it is not a Ruby 4.0 issue. CI does not see it because RAILS_VERSION never reaches 8.1, but *.lock is gitignored, so a fresh clone resolving Rails 8.1 today hits it. Happy to open an issue and dig into the root cause. 🤖

Open Graph Description: Why .tool-versions has pinned Ruby 4.0 for a while, so the gem is developed and linted against 4.0 — but no CI job ran it. The one version the code is actually written against was the only one neve...

X Description: Why .tool-versions has pinned Ruby 4.0 for a while, so the gem is developed and linted against 4.0 — but no CI job ran it. The one version the code is actually written against was the only one neve...

Opengraph URL: https://github.com/openapi-ruby/openapi-ruby/pull/60

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:99b955a6-5aae-afbb-b3d6-87038fbc8925
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB7A:10531B:E58C56:124AAD7:6B0147E9
html-safe-noncebbb399d0862e861e028b44b87c7acda641e733b7ab7d76ee56b9ea77afe73c04
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjdBOjEwNTMxQjpFNThDNTY6MTI0QUFENzo2QjAxNDdFOSIsInZpc2l0b3JfaWQiOiIyNDc1NTU2MjEyNzU4ODkwNDczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace50b7a1890409cde92b286f296a72e92ffb16e4b5c5317e3669a1cd705b1c08b
hovercard-subject-tagpull_request:4474433612
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/openapi-ruby/openapi-ruby/pull/60/files
twitter:imagehttps://avatars.githubusercontent.com/u/517703?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/517703?s=400&v=4
og:image:altWhy .tool-versions has pinned Ruby 4.0 for a while, so the gem is developed and linted against 4.0 — but no CI job ran it. The one version the code is actually written against was the only one neve...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/openapi-ruby/openapi-ruby git https://github.com/openapi-ruby/openapi-ruby.git
octolytics-dimension-user_id276587259
octolytics-dimension-user_loginopenapi-ruby
octolytics-dimension-repository_id1211860664
octolytics-dimension-repository_nwoopenapi-ruby/openapi-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1211860664
octolytics-dimension-repository_network_root_nwoopenapi-ruby/openapi-ruby
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/openapi-ruby/openapi-ruby/pull/60/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenapi-ruby%2Fopenapi-ruby%2Fpull%2F60%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenapi-ruby%2Fopenapi-ruby%2Fpull%2F60%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=openapi-ruby%2Fopenapi-ruby
Reloadhttps://github.com/openapi-ruby/openapi-ruby/pull/60/files
Reloadhttps://github.com/openapi-ruby/openapi-ruby/pull/60/files
Reloadhttps://github.com/openapi-ruby/openapi-ruby/pull/60/files
openapi-rubyhttps://github.com/openapi-ruby
openapi-rubyhttps://github.com/openapi-ruby/openapi-ruby
Codehttps://github.com/openapi-ruby/openapi-ruby
Issues1 (1)https://github.com/openapi-ruby/openapi-ruby/issues
Pull requests2 (2)https://github.com/openapi-ruby/openapi-ruby/pulls
Actionshttps://github.com/openapi-ruby/openapi-ruby/actions
Projectshttps://github.com/openapi-ruby/openapi-ruby/projects
Security and qualityhttps://github.com/openapi-ruby/openapi-ruby/security
Insightshttps://github.com/openapi-ruby/openapi-ruby/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fopenapi-ruby%2Fopenapi-ruby%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fopenapi-ruby%2Fopenapi-ruby%2Fissues%2Fnew%2Fchoose
mortikhttps://github.com/mortik
mainhttps://github.com/openapi-ruby/openapi-ruby/tree/main
ci/ruby-4.0https://github.com/openapi-ruby/openapi-ruby/tree/ci/ruby-4.0
Conversation 1 https://github.com/openapi-ruby/openapi-ruby/pull/60
Commits 2 https://github.com/openapi-ruby/openapi-ruby/pull/60/commits
Checks 30 https://github.com/openapi-ruby/openapi-ruby/pull/60/checks
Files changed https://github.com/openapi-ruby/openapi-ruby/pull/60/files
Please reload this pagehttps://github.com/openapi-ruby/openapi-ruby/pull/60/files
ci: test on Ruby 4.0 https://github.com/openapi-ruby/openapi-ruby/pull/60/files#top
Show all changes 2 commits https://github.com/openapi-ruby/openapi-ruby/pull/60/files
f96d299 ci: test on Ruby 4.0 mortik Sep 8, 2026 https://github.com/openapi-ruby/openapi-ruby/pull/60/commits/f96d2993fd01ad365a9dc52475551f6117e92aea
76c6aeb chore: bump Ruby to 4.0.6 mortik Sep 8, 2026 https://github.com/openapi-ruby/openapi-ruby/pull/60/commits/76c6aeb8ea7fb0a561462b72debc854473b57a79
Clear filters https://github.com/openapi-ruby/openapi-ruby/pull/60/files
Please reload this pagehttps://github.com/openapi-ruby/openapi-ruby/pull/60/files
Please reload this pagehttps://github.com/openapi-ruby/openapi-ruby/pull/60/files
ci.yml https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
.tool-versions https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-751af1a340658c7b8176fe32d7db9fadbe15d1d075daba1919a91df04155bc70
README.md https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
.github/workflows/ci.ymlhttps://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
View file https://github.com/openapi-ruby/openapi-ruby/blob/76c6aeb8ea7fb0a561462b72debc854473b57a79/.github/workflows/ci.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openapi-ruby/openapi-ruby/pull/60/{{ revealButtonHref }}
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
.tool-versionshttps://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-751af1a340658c7b8176fe32d7db9fadbe15d1d075daba1919a91df04155bc70
View file https://github.com/openapi-ruby/openapi-ruby/blob/76c6aeb8ea7fb0a561462b72debc854473b57a79/.tool-versions
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openapi-ruby/openapi-ruby/pull/60/{{ revealButtonHref }}
README.mdhttps://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/openapi-ruby/openapi-ruby/blob/76c6aeb8ea7fb0a561462b72debc854473b57a79/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/openapi-ruby/openapi-ruby/pull/60/{{ revealButtonHref }}
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/openapi-ruby/openapi-ruby/pull/60/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
Please reload this pagehttps://github.com/openapi-ruby/openapi-ruby/pull/60/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.