fix(appgate): make app-info an optional dependency
Pluginfiles pull the plugin from git, so a runtime dependency would make
every pipeline install app-info (Ruby 3.1+) even when it only uploads
with app tokens. The gem is now loaded lazily for org-key uploads without
bundle_id; when it is missing the error says how to add it or to pass
bundle_id.
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>
Showing
| ... | ... | @@ -34,6 +34,6 @@ Gem::Specification.new do |spec| |
| spec.add_development_dependency('fastlane', '>= 2.129.0') | ||
| spec.add_runtime_dependency 'faraday', '~> 1.0' | ||
| # Published as app-info, required as 'app_info'; reads bundle ids for the org API key flow. | ||
| spec.add_runtime_dependency 'app-info', '>= 3.0' | ||
| # app-info (required as 'app_info') is optional: only org-key uploads without `bundle_id` load it, | ||
| # so app-token pipelines do not pull it in or need its Ruby version. | ||
| end |