From a23ab9ba10000037481448a1f3d9ff5ffb43e97e Mon Sep 17 00:00:00 2001 From: Hassan Zamani Date: Tue, 29 Jul 2014 07:36:45 +0430 Subject: [PATCH] add coveralls integration --- Gemfile | 2 ++ README.md | 2 ++ spec/spec_helper.rb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Gemfile b/Gemfile index 74408ef..94a3b15 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,5 @@ source 'https://rubygems.org' # Specify your gem's dependencies in active_record-acts_as.gemspec gemspec + +gem 'coveralls', require: false diff --git a/README.md b/README.md index a56ccfa..b2d7133 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ +[![Gem Version](https://badge.fury.io/rb/active_record-acts_as.svg)](http://badge.fury.io/rb/active_record-acts_as) [![Build Status](https://travis-ci.org/hzamani/active_record-acts_as.svg)](https://travis-ci.org/hzamani/active_record-acts_as) [![Code Climate](https://codeclimate.com/github/hzamani/active_record-acts_as.png)](https://codeclimate.com/github/hzamani/active_record-acts_as) +[![Coverage Status](https://coveralls.io/repos/hzamani/active_record-acts_as/badge.png)](https://coveralls.io/r/hzamani/active_record-acts_as) # ActiveRecord::ActsAs diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 656fbe6..c108383 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +require 'coveralls' +Coveralls.wear! RSpec.configure do |config| config.disable_monkey_patching!