RubyGems Navigation menu

Blog

Back to blog posts

December 2022 RubyGems Updates

Welcome to the RubyGems monthly update! As part of our efforts at Ruby Central, we publish a recap of the work that we’ve done the previous month. Read on to find out what updates were made to RubyGems and RubyGems.org in December.

RubyGems News

This month in RubyGems, we released final versions of RubyGems 3.4.0 and 3.4.1 and Bundler 2.4.0 and 2.4.1 featuring:

  • a new “call to update” mechanism for RubyGems cleaning - #5922.
  • an enhanced Bundler resolver based on PubGrub - #6146.
  • generating of gems with rust extensions via bundle gem - #6149.
  • lighter Bundler git sources using shallow clones under the hood - #6241.

In addition to that, we made the following improvements and fixes(see the changelog for more information):

  • added support for --pre flag in bundle update and bundle lock - #5258.
  • fixed bundle outdated with both --groups and --parseable flags - #6148.
  • fixed crash due to BundlerVersionFinder not being defined - #6152.
  • created a fallback to selecting installable candidates if possible when materializing specs - #6225.
  • updated generated CI scripts to be able to compile Rust extensions - #6168.
  • added a spec to make sure global gemspecs can’t confuse Bundler - #6086.

We also dropped support for old Rubies (2.3, 2.4, and 2.5) and finally removed the auto-sudo feature in Bundler 2.4, a longstanding request of our users because of being considered harmful.

In December, RubyGems gained 242 new commits, contributed by 20 authors. There were 77,119 additions and 3,466 deletions across 2,051 files.

RubyGems.org News

In December, RubyGems.org saw several bug fixes and updates, some of which include the following:

  • fixed mocha deprecation warnings in tests - #3295.
  • as part of ongoing work involved in creating WebAuthn CLI, we setup a verification page - #3310, added a Webauthn verification authenticate endpoint #3305, and set the Webauthn authentication challenge on the prompt page - #3324.
  • fixed dependency links pointing to their dependents - #3312.
  • created an ES index in search_test before relying on it - #3303.
  • updated the docs and scripts for contributing and setup - #3300.
  • migrated from Elasticsearch to the opensearch-ruby gem - #3036.

This month, RubyGems.org gained 59 new commits, contributed by 12 authors. There were 2,133 additions and 632 deletions across 77 files.

As always, we continue to fix bugs, review and merge PRs and reply to support tickets.

Thank you

Thank you to all the contributors of RubyGems and RubyGems.org for this month! Your contributions are greatly appreciated, and we are grateful for your support.

Contributors to RubyGems:

Contributors to RubyGems.org:


Learn more about contributing to RubyGems by visiting the RubyGems Contributing Guide. We welcome all kinds of contributions, including bug fixes, feature implementation, writing and updating documentation, and bug triage.

Gift Egwuenu