Skip to content

Release 3.7.2: gem packaging for rubygems.org - #11

Merged
csmichaelkamal merged 1 commit into
masterfrom
release/3.7.2-20261202-099
Dec 2, 2026
Merged

csmichaelkamal merged 1 commit into
masterfrom
release/3.7.2-20261202-099

Conversation

@csmichaelkamal

Copy link
Copy Markdown
Contributor

Problem / what this PR contains

Syncs the Ruby connector repo from Azure DevOps (knownuser-v3-ruby) to GitHub through the release pipeline, branch release/3.7.2-20261202-099. It carries phase 1 of publishing the gem to rubygems.org: Azure DevOps PR !25346 (the release pipeline and gem packaging). No work item is linked.

The version stays 3.7.2, so merging this does not publish anything. The release workflow itself is not part of this PR; it was merged earlier in #10. The first publish is phase 2 (connector 3.8.0, a separate PR).

What changes in the repo:

  • queueit_knownuserv3.gemspec: license metadata LGPL-3.0 to MIT (the LICENSE file is already MIT text), adds source_code_uri and changelog_uri, and the gem now ships only lib/**/*.rb, LICENSE and README.md (before: every file tracked by git except test, spec and features).
  • Gemfile: adds test-unit, which Ruby 3.4 no longer loads by default, so bundle exec can run the tests.
  • .gitignore: ignores *.gem.
  • LICENSE: the final newline is removed. No text change.

Covered

  • Packaging and licence metadata needed before the first rubygems.org publish.
  • The bundle exec test setup that the release workflow's build job uses.

Not covered

  • Phase 2 (3.8.0): removing require 'base64', required_ruby_version, README upgrade notes, post_install_message, the version bump.
  • The first publish. Nothing is tagged, released or published by this PR.

What we focused on

  • Making sure the packaged gem contains only what an application needs, and that the metadata shown on rubygems.org is correct.
  • Keeping this PR from publishing anything while the version is unchanged.

Reviewers should focus on

  • The licence change in the gemspec from LGPL-3.0 to MIT. This changes what rubygems.org shows for the next published version. It matches the LICENSE file, but please confirm MIT is the intended licence.
  • The files list. A file that used to be in the gem and is not in the list above will be missing from the published gem. test/ is no longer shipped.
  • The build job in the workflow is red on this PR and on master after merge. require 'base64' (in lib/queueit_knownuserv3/user_in_queue_state_cookie_repository.rb) raises a LoadError under Bundler on Ruby 3.4 until phase 2 removes it. Because of that, create-release and publish-gem do not run, so nothing is tagged or published. This is expected.
  • Even with a green build, a merge at version 3.7.2 would stop at the tag step, since tag 3.7.2 exists on another commit.

Verified by us

  • The branch is one commit on top of origin/master, with exactly the 4 files above and nothing under .github/.
  • On ruby:3.4 in Docker, with the require 'base64' removed locally: 110 tests and 414 assertions pass, the gem builds (MIT, only lib, LICENSE, README.md and the two URIs), and a smoke test installing the built gem under Bundler prints v3-ruby-3.7.2. With the require present, the tests and smoke test fail with the LoadError.

For reviewers to verify

  • The GitHub Actions run of this PR. No run has been seen on this repo so far (none after Build, test and publish the gem to rubygems.org from the release workflow #10 either), so the workflow's build job has not run on GitHub. actionlint, gem push and the OIDC exchange are untested.
  • The GitHub release environment (required reviewers, master only) and the rubygems.org trusted publisher settings before the first publish.

Models used (effort)

  • Implementation: Claude Sonnet 5.5 (claude-sonnet-5-5), effort not recorded.
  • Review: Claude Opus 5.5 (claude-opus-5-5), xhigh, on an earlier version of the ADO PR. No separate review of this sync PR.
  • Planning: Claude Sonnet 5.5 (claude-sonnet-5-5), effort not recorded.
  • This description: Claude Sonnet 5.5 (claude-sonnet-5-5), effort not recorded.

🤖 Generated with Claude Code

- Describe the changes here...
@csmichaelkamal csmichaelkamal self-assigned this Dec 2, 2026
@csmichaelkamal
csmichaelkamal marked this pull request as ready for review December 2, 2026 18:13
@csmichaelkamal
csmichaelkamal merged commit 174b036 into master Dec 2, 2026
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