Permalink
Browse files

Add coveralls

  • Loading branch information...
1 parent 24abdb6 commit a72337fe7d5914ab5aa19f2d6fdce31a6244bb87 @jarib committed Feb 6, 2014
Showing with 4 additions and 8 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 har.gemspec
  3. +2 −7 spec/spec_helper.rb
View
@@ -2,3 +2,4 @@ pkg/*
*.gem
.bundle
Gemfile.lock
+/coverage
View
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.add_dependency "launchy", ">= 0.3.7"
s.add_development_dependency "rspec", "~> 2.0"
- s.add_development_dependency "simplecov"
+ s.add_development_dependency "coveralls"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "pry"
View
@@ -1,10 +1,5 @@
-if ENV['COVERAGE']
- raise "simplecov only works on 1.9" unless RUBY_PLATFORM >= "1.9"
- require 'simplecov'
- SimpleCov.start {
- add_filter "spec/"
- }
-end
+require 'coveralls'
+Coveralls.wear!
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'har'

0 comments on commit a72337f

Please sign in to comment.