Permalink
Browse files

Add coveralls badge

  • Loading branch information...
1 parent 382dc74 commit 25ea405ca2fd4b74f4e8b999c8204b302bae61c8 @kugaevsky committed Mar 7, 2013
Showing with 5 additions and 1 deletion.
  1. +2 −1 README.md
  2. +1 −0 mousetrap-rails.gemspec
  3. +2 −0 spec/spec_helper.rb
View
@@ -1,4 +1,5 @@
-# Mousetrap::Rails [![endorse](http://api.coderwall.com/kugaevsky/endorsecount.png)](http://coderwall.com/kugaevsky) [![Dependency Status](https://gemnasium.com/kugaevsky/mousetrap-rails.png)](https://gemnasium.com/kugaevsky/mousetrap-rails) [![Code Climate](https://codeclimate.com/github/kugaevsky/mousetrap-rails.png)](https://codeclimate.com/github/kugaevsky/mousetrap-rails) [![Build Status](https://travis-ci.org/kugaevsky/mousetrap-rails.png?branch=master)](https://travis-ci.org/kugaevsky/mousetrap-rails)
+# Mousetrap::Rails [![endorse](http://api.coderwall.com/kugaevsky/endorsecount.png)](http://coderwall.com/kugaevsky) [![Dependency Status](https://gemnasium.com/kugaevsky/mousetrap-rails.png)](https://gemnasium.com/kugaevsky/mousetrap-rails) [![Code Climate](https://codeclimate.com/github/kugaevsky/mousetrap-rails.png)](https://codeclimate.com/github/kugaevsky/mousetrap-rails) [![Build Status](https://travis-ci.org/kugaevsky/mousetrap-rails.png?branch=master)](https://travis-ci.org/kugaevsky/mousetrap-rails) [![Coverage Status](https://coveralls.io/repos/kugaevsky/mousetrap-rails/badge.png?branch=master)](https://coveralls.io/r/kugaevsky/mousetrap-rails)
+
[Mousetrap](https://github.com/ccampbell/mousetrap) is a javascript library for handling keyboard shortcuts in your web applications written by [Craig Campbell](http://craig.is/).
View
@@ -25,6 +25,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'rspec-rails', '~> 2.13.0'
gem.add_development_dependency 'genspec', '~> 0.2.7'
gem.add_development_dependency 'sass', '~> 3.2.1'
+ gem.add_development_dependency 'coveralls'
gem.licenses = ['MIT', 'Apache']
gem.post_install_message = <<MSG
View
@@ -4,6 +4,8 @@
require 'rspec/rails'
require 'rspec/autorun'
require 'genspec'
+require 'coveralls'
+Coveralls.wear!
# Require gem generators
Dir[Rails.root.join("../../lib/generators/mousetrap/**/*_generator.rb")].each {|f| require f}

0 comments on commit 25ea405

Please sign in to comment.