-
Notifications
You must be signed in to change notification settings - Fork 83
/
Gemfile
38 lines (30 loc) · 847 Bytes
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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" && RUBY_VERSION > "2.0"
gem "ruby-debug-base19x", ">= 0.11.32"
end
if RUBY_VERSION && RUBY_VERSION >= "2.0"
gem "debase", "~> 0.2", ">= 0.2.8"
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