Project

General

Profile

« Previous | Next » 

Revision c4b5f3f1

Added by David Marshall over 1 year ago

[rubygems/rubygems] bundler CLI option for add gem --glob=

Bundler online documentation says that if the gem is located within a subdirectory of a git repository,
you can use the :glob option to specify the location of its .gemspec

gem 'cf-copilot', git: 'https://github.com/cloudfoundry/copilot', glob: 'sdk/ruby/*.gemspec'

This change allows for equivalent functionality from the bundler CLI

bundle add cf-copilot --git=https://github.com/cloudfoundry/copilot --glob=sdk/ruby/*.gemspec

https://github.com/rubygems/rubygems/commit/91052e5868