From 8e0abba77fb99c0eea4f8653cee80a08244ccba0 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 5 Feb 2018 13:36:26 +0200 Subject: Replace coveralls with simplecov Signed-off-by: Dmitriy Zaporozhets --- Gemfile | 2 +- Gemfile.lock | 19 ++++--------------- README.md | 5 ++--- spec/spec_helper.rb | 9 ++------- 4 files changed, 9 insertions(+), 26 deletions(-) diff --git a/Gemfile b/Gemfile index 7c5ce9d..82a44d7 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source "http://rubygems.org" group :development, :test do - gem 'coveralls', require: false + gem 'simplecov', require: false gem 'rspec', '~> 2.14.0' gem 'webmock' gem 'guard' diff --git a/Gemfile.lock b/Gemfile.lock index 9bf7d9f..a2e8e75 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,12 +6,6 @@ GEM astrolabe (1.3.0) parser (>= 2.2.0.pre.3, < 3.0) coderay (1.0.8) - coveralls (0.7.1) - multi_json (~> 1.3) - rest-client - simplecov (>= 0.7) - term-ansicolor - thor crack (0.3.1) diff-lcs (1.2.5) docile (1.1.5) @@ -26,9 +20,7 @@ GEM listen (0.5.3) lumberjack (1.0.2) method_source (0.8.1) - mime-types (2.3) multi_json (1.10.1) - netrc (0.7.7) parser (2.2.0.2) ast (>= 1.1, < 3.0) powerpack (0.0.9) @@ -37,9 +29,6 @@ GEM method_source (~> 0.8) slop (~> 3.3.1) rainbow (2.0.0) - rest-client (1.7.2) - mime-types (>= 1.16, < 3.0) - netrc (~> 0.7) rspec (2.14.1) rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) @@ -61,10 +50,7 @@ GEM simplecov-html (~> 0.8.0) simplecov-html (0.8.0) slop (3.3.3) - term-ansicolor (1.3.0) - tins (~> 1.0) thor (0.19.1) - tins (1.3.3) vcr (2.4.0) webmock (1.9.0) addressable (>= 2.2.7) @@ -74,10 +60,13 @@ PLATFORMS ruby DEPENDENCIES - coveralls guard guard-rspec rspec (~> 2.14.0) rubocop (= 0.28.0) + simplecov vcr webmock + +BUNDLED WITH + 1.16.1 diff --git a/README.md b/README.md index ad76acc..3159370 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,9 @@ An overview of the four cases described above: ## Code status -[![build status](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/build.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master) -[![Build Status](https://semaphoreapp.com/api/v1/projects/a71ddd46-a9cc-4062-875e-7ade19a44927/243336/badge.svg)](https://semaphoreapp.com/gitlabhq/gitlab-shell) +[![pipeline status](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/pipeline.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master) +[![coverage report](https://gitlab.com/gitlab-org/gitlab-shell/badges/master/coverage.svg)](https://gitlab.com/gitlab-org/gitlab-shell/commits/master) [![Code Climate](https://codeclimate.com/github/gitlabhq/gitlab-shell.svg)](https://codeclimate.com/github/gitlabhq/gitlab-shell) -[![Coverage Status](https://coveralls.io/repos/gitlabhq/gitlab-shell/badge.svg?branch=master)](https://coveralls.io/r/gitlabhq/gitlab-shell) ## Requirements diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index aeebd98..d93f88d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,12 +1,7 @@ ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..")) -if ENV['COVERALLS'] - require 'coveralls' - Coveralls.wear! -else - require 'simplecov' - SimpleCov.start -end +require 'simplecov' +SimpleCov.start require 'vcr' require 'webmock' -- cgit v1.2.1