diff --git a/Gemfile b/Gemfile index 838bb5b..87fa4af 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,4 @@ source "https://rubygems.org" # Specify your gem's dependencies in arms.gemspec gemspec gem 'byebug' +gem 'coveralls_reborn', '~> 0.12' diff --git a/README.md b/README.md index 999bd7f..500ad54 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # ARMS [![Build Status](https://travis-ci.org/notEthan/arms.svg?branch=master)](https://travis-ci.org/notEthan/arms) +[![Coverage Status](https://coveralls.io/repos/github/notEthan/arms/badge.svg)](https://coveralls.io/github/notEthan/arms) ARMS: Active Record Multiple Serialization. This is a library which extends the capabilities of ActiveRecord serialization, allowing you to chain together coders. diff --git a/test/test_helper.rb b/test/test_helper.rb index 7e245f5..7811d3e 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,10 @@ proc { |p| $:.unshift(p) unless $:.any? { |lp| File.expand_path(lp) == p } }.call(File.expand_path('../lib', File.dirname(__FILE__))) +require 'coveralls' +if Coveralls.will_run? + Coveralls.wear! +end + require 'simplecov' require 'byebug'