-
Notifications
You must be signed in to change notification settings - Fork 1
/
Gemfile
30 lines (24 loc) · 966 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
source 'https://rubygems.org'
# Specify your gem's dependencies in gitlab_mr_release.gemspec
gemspec
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
group :development do
# NOTE: activesupport 5.x supports only ruby 2.2.2+
gem "activesupport", "< 5.0.0", group: :test
end
end
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
# NOTE: httparty v0.19.0+ requires Ruby 2.3+
gem "httparty", "< 0.19.0"
# NOTE: webmock v3.15.0+ requires Ruby 2.3+
gem "webmock", "< 3.15.0"
end
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0")
# NOTE: unparser v0.3.0+ requires Ruby 2.5+
gem "unparser", "< 0.3.0"
end
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.4.0")
# String#unpack1 is available since ruby 2.4, but gitlab gem uses String#unpack1 ...
# c.f. https://github.com/NARKOZ/gitlab/commit/d9ef580#diff-84e3ba49bf244c6684f7d26a3312adc4R81
gem "gitlab", "< 4.14.0"
end