Skip to content

Commit

Permalink
Added badges to README
Browse files Browse the repository at this point in the history
  • Loading branch information
rdh committed Jan 18, 2014
1 parent 0f09917 commit 17bfa87
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ gemspec
# gem 'debugger'

group :development, :test do
gem 'simplecov', '0.6.4', :require => false
gem 'spec_cat', :tag => 'v0.1.0', :git => 'https://github.com/schrodingersbox/spec_cat.git'
gem 'shoulda-matchers'
end
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[![Gem Version](https://badge.fury.io/rb/split_cat.png)](http://badge.fury.io/rb/split_cat)
[![Build Status](https://travis-ci.org/schrodingersbox/split_cat.png?branch=master)](https://travis-ci.org/schrodingersbox/split_cat)
[![Dependency Status](https://gemnasium.com/schrodingersbox/split_cat.png)](https://gemnasium.com/schrodingersbox/split_cat)
[![Code Climate](https://codeclimate.com/github/schrodingersbox/split_cat.png)](https://codeclimate.com/github/schrodingersbox/split_cat)
[![Coverage Status](https://coveralls.io/repos/schrodingersbox/split_cat/badge.png)](https://coveralls.io/r/schrodingersbox/split_cat)

# schrodingersbox/split_cat

This Rails engine provides a framework for split testing.
Expand Down Expand Up @@ -159,6 +165,7 @@ using multiple user accounts.
* [FactoryGirl](https://github.com/thoughtbot/factory_girl)
* [Shoulda](https://github.com/thoughtbot/shoulda-matchers)
* [The one line split-test, or how to A/B all the time](http://www.startuplessonslearned.com/2008/09/one-line-split-test-or-how-to-ab-all.html)
* [Add Achievement Badges to Your Gem README](http://elgalu.github.io/2013/add-achievement-badges-to-your-gem-readme/)

## TODO

Expand Down
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
ENV['RAILS_ENV'] ||= 'test'

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]

SimpleCov.start 'rails' do
add_filter '/vendor/'
Expand Down
3 changes: 2 additions & 1 deletion split_cat.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec-rails', '~> 2.14', '>= 2.14.0'
s.add_development_dependency 'webrat', '~> 0.7', '>= 0.7.3'
s.add_development_dependency 'factory_girl_rails', '~> 4.0'

s.add_development_dependency "simplecov", ">= 0.8.2"
s.add_development_dependency 'coveralls', '>= 0.7.0'
end

0 comments on commit 17bfa87

Please sign in to comment.