From 42fae915e1f94ad361d0360c3ba1842ed617a4da Mon Sep 17 00:00:00 2001 From: Bess Sadler Date: Tue, 4 Apr 2017 17:30:38 -0700 Subject: [PATCH] Add coveralls --- Gemfile | 5 +++-- Gemfile.lock | 16 ++++++++++++++++ README.md | 2 +- spec/spec_helper.rb | 2 ++ 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 30f82b28a..91d075bde 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,6 @@ git_source(:github) do |repo_name| "https://github.com/#{repo_name}.git" end - # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 5.0.2' # Use sqlite3 as the database for Active Record @@ -36,8 +35,10 @@ gem 'jbuilder', '~> 2.5' # gem 'capistrano-rails', group: :development group :development, :test do - # Call 'byebug' anywhere in the code to stop execution and get a debugger console + # Call 'byebug' anywhere in the code to stop execution and get a debugger + # console gem 'byebug', platform: :mri + gem 'coveralls', require: false end group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 015469e52..78ab37ed8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -135,6 +135,12 @@ GEM execjs coffee-script-source (1.12.2) concurrent-ruby (1.0.5) + coveralls (0.8.19) + json (>= 1.8, < 3) + simplecov (~> 0.12.0) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) + tins (~> 1.6) daemons (1.2.4) declarative (0.0.9) declarative-option (0.1.0) @@ -149,6 +155,7 @@ GEM devise-guests (0.5.0) devise diff-lcs (1.3) + docile (1.1.5) dropbox-sdk (1.6.5) json dry-configurable (0.6.2) @@ -540,6 +547,11 @@ GEM simple_form (3.4.0) actionpack (> 4, < 5.1) activemodel (> 4, < 5.1) + simplecov (0.12.0) + docile (~> 1.1.0) + json (>= 1.8, < 3) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) skydrive (1.2.0) activesupport httmultiparty @@ -576,9 +588,12 @@ GEM stomp (1.4.3) sxp (1.0.0) rdf (~> 2.0) + term-ansicolor (1.5.0) + tins (~> 1.0) thor (0.19.4) thread_safe (0.3.6) tilt (2.0.7) + tins (1.13.2) tinymce-rails (4.5.6) railties (>= 3.1.1) tinymce-rails-imageupload (4.0.17.beta) @@ -617,6 +632,7 @@ PLATFORMS DEPENDENCIES byebug coffee-rails (~> 4.2) + coveralls devise devise-guests (~> 0.5) fcrepo_wrapper diff --git a/README.md b/README.md index 5fb58acfc..b0851f755 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/curationexperts/laevigata.svg?branch=master)](https://travis-ci.org/curationexperts/laevigata)[![Dependency Status](https://gemnasium.com/badges/github.com/curationexperts/laevigata.svg)](https://gemnasium.com/github.com/curationexperts/laevigata) +[![Build Status](https://travis-ci.org/curationexperts/laevigata.svg?branch=master)](https://travis-ci.org/curationexperts/laevigata)[![Dependency Status](https://gemnasium.com/badges/github.com/curationexperts/laevigata.svg)](https://gemnasium.com/github.com/curationexperts/laevigata)[![Coverage Status](https://coveralls.io/repos/github/curationexperts/laevigata/badge.svg?branch=master)](https://coveralls.io/github/curationexperts/laevigata?branch=master # README diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8f698be46..308f91487 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +require 'coveralls' +Coveralls.wear! # This file was generated by the `rails generate rspec:install` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # The generated `.rspec` file contains `--require spec_helper` which will cause