Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.gem
.Trash*
*.log
coverage
12 changes: 12 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ GEM
debug (1.11.1)
irb (~> 1.10)
reline (>= 0.3.8)
docile (1.4.1)
drb (2.2.3)
erb (6.0.1)
etc (1.4.6)
Expand Down Expand Up @@ -165,6 +166,12 @@ GEM
ruby-progressbar (1.13.0)
securerandom (0.4.1)
shellany (0.0.1)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
sqlite3 (2.9.0-aarch64-linux-musl)
stringio (3.2.0)
sync (0.5.0)
Expand Down Expand Up @@ -202,6 +209,7 @@ DEPENDENCIES
rubocop-rake
rubocop-rspec
ruby_language_server!
simplecov

CHECKSUMS
activemodel (8.1.1)
Expand All @@ -218,6 +226,7 @@ CHECKSUMS
connection_pool (3.0.2)
date (3.5.1)
debug (1.11.1)
docile (1.4.1)
drb (2.2.3)
erb (6.0.1)
etc (1.4.6)
Expand Down Expand Up @@ -271,6 +280,9 @@ CHECKSUMS
ruby_language_server (0.4.2)
securerandom (0.4.1)
shellany (0.0.1)
simplecov (0.22.0)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
sqlite3 (2.9.0-aarch64-linux-musl)
stringio (3.2.0)
sync (0.5.0)
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ console: image
test: image
./bin/run_in_shell "bundle exec rake test && bundle exec rubocop"

coverage: image
./bin/run_in_shell "COVERAGE=true bundle exec rake test"

shell: image
./bin/run_in_shell sh

Expand Down
1 change: 1 addition & 0 deletions ruby_language_server.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop-performance' # Linter - no longer needed - use additional gems?
spec.add_development_dependency 'rubocop-rake'
spec.add_development_dependency 'rubocop-rspec' # Linter - no longer needed - use additional gems?
spec.add_development_dependency 'simplecov'
spec.metadata['rubygems_mfa_required'] = 'true'
end
8 changes: 8 additions & 0 deletions spec/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# frozen_string_literal: true

if ENV['COVERAGE']
require 'simplecov'
SimpleCov.start do
add_filter '/spec/'
add_filter '/vendor/'
end
end

require 'debug'
require 'ostruct'
require_relative '../lib/ruby_language_server'
Expand Down
Loading