Sha256: ac651cd8c63819bfd39a67db51524ce795fe01b376cbe956df9c8e27287b9a15

Contents?: true

Size: 945 Bytes

Versions: 1

Compression:

Stored size: 945 Bytes

Contents

source "http://rubygems.org"

# @param [Array<String>] versions compatible ruby versions
# @return [Array<String>] an array with mri platforms of given versions
def mries(*versions)
  versions.map do |v|
    %w(ruby mingw x64_mingw).map do |platform|
      "#{platform}_#{v}".to_sym unless platform == "x64_mingw" && v < "2.0"
    end.delete_if &:nil?
  end.flatten
end

if RUBY_VERSION < '1.9' || defined?(JRUBY_VERSION)
  gem "ruby-debug-base", :platforms =>  [:jruby, *mries('18')]
end

if RUBY_VERSION && RUBY_VERSION >= "1.9"
  gem "ruby-debug-base19x", ">= 0.11.32", :platforms => mries('19')
end

if RUBY_VERSION && RUBY_VERSION >= "2.0"
  gem "debase", "~> 0.2", ">= 0.2.2", :platforms => mries('20', '21', '22', '23', '24', '25')
end

gemspec

group :development do
  gem "bundler"
end

group :test do
  if RUBY_VERSION < "1.9"
    gem "test-unit", "~> 2.1.2"
  else
    gem "test-unit"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-debug-ide22-0.7.4 Gemfile