Sha256: 28161fdd601e7686d576b53e18a8bdd51ee9455b57ed18fd6b24b32586d42f1a

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

source 'https://rubygems.org'

# Specify your gem's dependencies in beaker-abs.gemspec
gemspec

def location_for(place, fake_version = nil)
  if place =~ /^(git:[^#]*)#(.*)/
    [fake_version, { :git => $1, :branch => $2, :require => false }].compact
  elsif place =~ /^file:\/\/(.*)/
    ['>= 0', { :path => File.expand_path($1), :require => false }]
  else
    [place, { :require => false }]
  end
end

group :testing do
  gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '>= 5.0', '< 7')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beaker-abs-1.1.0 Gemfile