Sha256: 8e0cb00b22fc98457c3b28bbbc0a4b7d4572397bba42b1ee01c081187dbb44f1
Contents?: true
Size: 712 Bytes
Versions: 1
Compression:
Stored size: 712 Bytes
Contents
source ENV.fetch('GEM_SOURCE', 'https://rubygems.org') gemspec def location_for(place, fake_version = nil) if place =~ /^git:([^#]*)#(.*)/ [fake_version, { git: Regexp.last_match(1), branch: Regexp.last_match(2), require: false }].compact elsif place =~ %r{^file://(.*)} ['>= 0', { path: File.expand_path(Regexp.last_match(1)), require: false }] else [place, { require: false }] end end # We don't put beaker in as a test dependency because we # don't want to create a transitive dependency group :acceptance_testing do gem 'beaker', *location_for(ENV.fetch('BEAKER_VERSION', '~> 4.0')) end # if File.exists? "#{__FILE__}.local" # eval(File.read("#{__FILE__}.local"), binding) # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
beaker-google-0.4.0 | Gemfile |