summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora14m <[email protected]>2021-02-17 16:01:56 +0100
committera14m <[email protected]>2021-02-17 16:11:01 +0100
commitac45bcc396d50fc6c4d3485a77b17ce58c1f76df (patch)
tree5988bd715b22f768e9fb25bff83328be5ebaee19
parente43bb45122acef9d3d14bf2f84f8a971b675604f (diff)
Remove codecov as it's not working on srht
SimpleCov is internally using JSON but doesn't include it as a dependency that's why it needs to be added to the dev dependencies Ref: https://github.com/simplecov-ruby/simplecov/issues/917
-rw-r--r--CLI/ruby/Gemfile.lock7
-rw-r--r--CLI/ruby/game_of_life.gemspec2
-rw-r--r--CLI/ruby/spec/spec_helper.rb3
3 files changed, 3 insertions, 9 deletions
diff --git a/CLI/ruby/Gemfile.lock b/CLI/ruby/Gemfile.lock
index 06c88cb..147c29b 100644
--- a/CLI/ruby/Gemfile.lock
+++ b/CLI/ruby/Gemfile.lock
@@ -9,13 +9,10 @@ GEM
specs:
ast (2.4.1)
byebug (11.1.3)
- codecov (0.2.12)
- json
- simplecov
coderay (1.1.3)
diff-lcs (1.4.4)
docile (1.3.2)
- json (2.3.1)
+ json (2.5.1)
method_source (1.0.0)
parallel (1.20.1)
parser (2.7.2.0)
@@ -74,7 +71,7 @@ PLATFORMS
DEPENDENCIES
bundler
- codecov
+ json
pry-byebug
rake
redcarpet
diff --git a/CLI/ruby/game_of_life.gemspec b/CLI/ruby/game_of_life.gemspec
index f88ed77..3cd6bb3 100644
--- a/CLI/ruby/game_of_life.gemspec
+++ b/CLI/ruby/game_of_life.gemspec
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-rspec"
# Code Coverage dependencies
- spec.add_development_dependency "codecov"
+ spec.add_development_dependency "json"
spec.add_development_dependency "simplecov"
# Documentation dependencies
spec.add_development_dependency "redcarpet"
diff --git a/CLI/ruby/spec/spec_helper.rb b/CLI/ruby/spec/spec_helper.rb
index e7feb44..c87ed56 100644
--- a/CLI/ruby/spec/spec_helper.rb
+++ b/CLI/ruby/spec/spec_helper.rb
@@ -6,9 +6,6 @@ SimpleCov.start do
enable_coverage :branch
end
-require "codecov"
-SimpleCov.formatter = SimpleCov::Formatter::Codecov if ENV["CODECOV_TOKEN"]
-
require "bundler/setup"
require "game_of_life"