diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2cd8f9bb..7d052085 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.9.1" + ".": "1.9.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 10379f97..eb3b66a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.9.2 (2026-06-30) + +Full Changelog: [v1.9.1...v1.9.2](https://github.com/OneBusAway/ruby-sdk/compare/v1.9.1...v1.9.2) + +### Chores + +* **internal:** bound formatter parallelism to CPU count ([e875e4e](https://github.com/OneBusAway/ruby-sdk/commit/e875e4ec89dd550cac93a99ef43251bb10515d24)) + ## 1.9.1 (2026-06-17) Full Changelog: [v1.9.0...v1.9.1](https://github.com/OneBusAway/ruby-sdk/compare/v1.9.0...v1.9.1) diff --git a/Gemfile.lock b/Gemfile.lock index 38cf25b3..9c993e77 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - onebusaway-sdk (1.9.1) + onebusaway-sdk (1.9.2) cgi connection_pool diff --git a/README.md b/README.md index 58f6f4da..fc19ac69 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "onebusaway-sdk", "~> 1.9.1" +gem "onebusaway-sdk", "~> 1.9.2" ``` diff --git a/Rakefile b/Rakefile index aa68a9d3..377915cc 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "etc" require "pathname" require "securerandom" require "shellwords" @@ -37,7 +38,11 @@ multitask(:test) do ruby(*%w[-w -e], rb, verbose: false) { fail unless _1 } end -xargs = %w[xargs --no-run-if-empty --null --max-procs=0 --max-args=300 --] +# Cap parallelism at the CPU count. `--max-procs=0` spawns one process per +# 300-file batch with no upper bound; on large SDKs (thousands of files) that +# oversubscribes CPUs and stacks up rubocop processes, exhausting memory and +# slowing CI to the point of timing out. +xargs = %W[xargs --no-run-if-empty --null --max-procs=#{Etc.nprocessors} --max-args=300 --] ruby_opt = {"RUBYOPT" => [ENV["RUBYOPT"], "--encoding=UTF-8"].compact.join(" ")} filtered = ->(ext, dirs) do diff --git a/lib/onebusaway_sdk/version.rb b/lib/onebusaway_sdk/version.rb index e327c9ca..bd643d82 100644 --- a/lib/onebusaway_sdk/version.rb +++ b/lib/onebusaway_sdk/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module OnebusawaySDK - VERSION = "1.9.1" + VERSION = "1.9.2" end