-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Expand file tree
/
Copy pathGemfile
More file actions
46 lines (40 loc) · 1.81 KB
/
Copy pathGemfile
File metadata and controls
46 lines (40 loc) · 1.81 KB
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
38
39
40
41
42
43
44
45
46
# frozen_string_literal: true
source 'https://rubygems.org'
gemspec
gem 'asciidoctor'
gem 'bump', require: false
gem 'fiddle', platform: :windows if RUBY_VERSION >= '3.4'
gem 'irb'
gem 'mcp', '~> 1.0'
gem 'memory_profiler', '!= 1.0.2', platform: :mri
gem 'rake', '~> 13.0'
# FIXME: rdoc 8.0+ depends on rbs, whose released C extension fails to build on JRuby.
# rbs 4.1.0.pre.2 ships a `java` platform gem that works on JRuby, so pin to it there
# until a stable release that supports JRuby ships.
# https://github.com/ruby/rdoc/issues/1746
gem 'rbs', '4.1.0.pre.2' if RUBY_ENGINE == 'jruby'
gem 'rspec', '~> 3.7'
gem 'rubocop-performance', '~> 1.27.0', require: false
gem 'rubocop-rake', '~> 0.7.0', require: false
gem 'rubocop-rspec', '~> 3.10.1', require: false
# Ruby LSP supports Ruby 3.0+.
gem 'ruby-lsp', '~> 0.24', platform: :mri if RUBY_VERSION >= '3.0'
# Optional project-wide static-analysis index used by `AllCops/UseProjectIndex`.
# Not a runtime dependency of the rubocop gem itself; only listed here so that
# the development environment can exercise the integration. The gem only publishes
# native binaries for MRI on supported platforms, so we gate by `RUBY_ENGINE` to
# keep JRuby and other engines unaffected.
gem 'rubydex', require: false if RUBY_VERSION >= '3.2' && RUBY_ENGINE == 'ruby'
# SimpleCov 1.0 requires Ruby 3.2+. Coverage measurement is opt-in (`COVERAGE=1`)
# and unnecessary on the older Rubies in the CI matrix.
gem 'simplecov', '~> 1.0' if RUBY_VERSION >= '3.2'
gem 'stackprof', platform: :mri
gem 'test-queue'
gem 'yard', '~> 0.9'
group :test do
gem 'webmock', require: false
end
local_ast = File.expand_path('../rubocop-ast', __dir__)
gem 'rubocop-ast', path: local_ast if Dir.exist? local_ast
local_gemfile = File.expand_path('Gemfile.local', __dir__)
eval_gemfile local_gemfile if File.exist?(local_gemfile)