Permalink
Browse files

add simplecov to make me feel sad ;)

  • Loading branch information...
1 parent dbb9ef1 commit 1a1c4c8d1c274b438262d24e09a80133cb130051 Gabriel Gilder committed Jan 23, 2012
Showing with 7 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +3 −2 commander.gemspec
  3. +3 −1 spec/spec_helper.rb
View
1 .gitignore
@@ -3,3 +3,4 @@
Gemfile.lock
pkg/*
.rvmrc
+coverage/*
View
5 commander.gemspec
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_runtime_dependency("highline", ["~> 1.5.0"])
- s.add_development_dependency("rspec", ["~> 2"])
+ s.add_runtime_dependency("highline", "~> 1.5.0")
+ s.add_development_dependency("rspec", "~> 2")
s.add_development_dependency("rake")
+ s.add_development_dependency("simplecov")
end
View
4 spec/spec_helper.rb
@@ -1,6 +1,8 @@
+require 'rubygems'
+require 'simplecov'
+SimpleCov.start
$:.unshift File.dirname(__FILE__) + '/../lib'
-require 'rubygems'
require 'commander/import'
require 'stringio'

0 comments on commit 1a1c4c8

Please sign in to comment.