From 1b71629531ebbfdf1b5738a210a4de5887966063 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Sun, 28 Jun 2026 18:01:05 +0800 Subject: [PATCH] fix: drop git-source deps from Gemfile Release gems must not depend on git sources. The Gemfile overrides for lutaml-model and plurimath point at GitHub main, but both gems are already published on RubyGems: - lutaml-model 0.8.16 (gemspec already declares ~> 0.8.0) - plurimath 0.11.3 (not a runtime dep; needed only by specs that exercise Unitsml::Formula#to_plurimath) Changes: - Drop the `gem "lutaml-model", github: ...` line; fall through to the gemspec constraint (~> 0.8.0). - Replace `gem "plurimath", github: ...` with `gem "plurimath", "~> 0.11.3"` so the Gemfile pulls the published gem. Verified locally: bundle install resolves both from RubyGems, and bundle exec rake spec passes (398 examples, 0 failures). --- Gemfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 3708561..ffde0aa 100644 --- a/Gemfile +++ b/Gemfile @@ -6,12 +6,11 @@ source "https://rubygems.org" gemspec gem "canon" -gem "lutaml-model", github: "lutaml/lutaml-model", branch: "main" gem "nokogiri" gem "oga" gem "opal", "~> 1.8" gem "ox" -gem "plurimath", github: "plurimath/plurimath", branch: "main" +gem "plurimath", "~> 0.11.3" gem "pry" gem "rake" gem "rspec"