File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,12 +2,22 @@ source ENV['GEM_SOURCE'] || 'https://rubygems.org'
22
33require 'uri'
44
5+ def location_for ( place )
6+ if place =~ /^((?:git[:@]|https:)[^#]*)#(.*)/
7+ [ { :git => $1, :branch => $2, :require => false } ]
8+ elsif place =~ /^file:\/ \/ (.*)/
9+ [ '>= 0' , { :path => File . expand_path ( $1) , :require => false } ]
10+ else
11+ [ place , { :require => false } ]
12+ end
13+ end
14+
515gem 'artifactory'
6- gem 'packaging' , ' ~> 0.105'
16+ gem 'packaging' , * location_for ( ENV [ 'PACKAGING_LOCATION' ] || ' ~> 0.105')
717gem 'rake' , '~> 13.0'
818gem 'rubocop' , '~> 1.86'
919gem 'rubocop-rake' , '~> 0.7'
10- gem 'vanagon' , ( ENV [ 'VANAGON_LOCATION' ] || 'https://github.com/openvoxproject/vanagon#main' )
20+ gem 'vanagon' , * location_for ( ENV [ 'VANAGON_LOCATION' ] || 'https://github.com/openvoxproject/vanagon#main' )
1121# Need to update the openssl gem on MacOS to avoid SSL errors. Doesn't hurt to have the newest
1222# for all platforms.
1323# https://www.rubyonmac.dev/certificate-verify-failed-unable-to-get-certificate-crl-openssl-ssl-sslerror
You can’t perform that action at this time.
0 commit comments