Skip to content

Commit

Permalink
Merge pull request #20 from curationexperts/coveralls
Browse files Browse the repository at this point in the history
Add coveralls + code coverage badge
  • Loading branch information
bess committed Apr 5, 2017
2 parents 63f02e0 + 42fae91 commit f010c26
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -617,6 +632,7 @@ PLATFORMS
DEPENDENCIES
byebug
coffee-rails (~> 4.2)
coveralls
devise
devise-guests (~> 0.5)
fcrepo_wrapper
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f010c26

Please sign in to comment.