-
Notifications
You must be signed in to change notification settings - Fork 35
/
Gemfile
31 lines (27 loc) · 948 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
source 'https://rubygems.org'
group :test do
if RUBY_VERSION >= '2.2'
# WORKAROUND (2017-02-17): Rake 11.0 breaks RSpec < 3.5. We stay with
# older RSpec to test older Rubies, so we must pin Rake version.
# See: http://stackoverflow.com/questions/35893584/nomethoderror-undefined-method-last-comment-after-upgrading-to-rake-11
gem 'rake', '< 11.0'
# Only bother supporting code coverage on relatively recent Rubies
gem 'codecov', :require => false
else
# Avoid incompatibilities that break builds on Ruby 1.8.7, until we drop support
gem 'rake', '~> 10.4'
end
end
# Only support building documentation, and therefore supporting those
# dependencies, on recent MRI Rubies when not running on Travis CI.
if (defined?(RUBY_ENGINE) &&
RUBY_ENGINE == 'ruby' &&
RUBY_VERSION >= '2.2' &&
!ENV['CI'])
group :doc do
gem 'yard'
gem 'redcarpet'
gem 'github-markup'
end
end
gemspec