Permalink
Browse files

Simplecov added

  • Loading branch information...
peleteiro committed Oct 23, 2010
1 parent 749e702 commit 54707ea15651d0aba1cef8c29a553b4a2eafcafa
Showing with 27 additions and 3 deletions.
  1. +10 −2 .gitignore
  2. +7 −0 Gemfile.lock
  3. +4 −1 ruby-duration.gemspec
  4. +6 −0 test/helper.rb
View
@@ -1,3 +1,11 @@
-pkg/*
-*.gem
+.DS_Store
+.idea
.bundle
+*~
+#*
+*.gem
+.yardoc/*
+coverage/*
+doc/*
+pkg/*
+
View
@@ -2,24 +2,31 @@ PATH
remote: .
specs:
ruby-duration (0.5.0)
+ i18n
GEM
remote: http://rubygems.org/
specs:
activesupport (3.0.1)
+ bluecloth (2.0.9)
i18n (0.4.1)
minitest (1.7.2)
rake (0.8.7)
+ simplecov (0.3.6)
+ simplecov-html (>= 0.3.7)
+ simplecov-html (0.3.8)
yard (0.6.1)
PLATFORMS
ruby
DEPENDENCIES
activesupport (>= 3.0.0)
+ bluecloth (>= 0.3.5)
bundler (>= 1.0.0)
i18n
minitest
rake
ruby-duration!
+ simplecov (>= 0.3.5)
yard
View
@@ -14,12 +14,15 @@ Gem::Specification.new do |s|
s.required_rubygems_version = ">= 1.3.6"
s.rubyforge_project = "ruby-duration"
+ s.add_dependency "i18n", ">= 0"
+
s.add_development_dependency "bundler", ">= 1.0.0"
s.add_development_dependency "minitest", ">= 0"
s.add_development_dependency "yard", ">= 0"
s.add_development_dependency "rake", ">= 0"
s.add_development_dependency "activesupport", ">= 3.0.0"
- s.add_development_dependency "i18n", ">= 0"
+ s.add_development_dependency "simplecov", ">= 0.3.5"
+ s.add_development_dependency "bluecloth", ">= 0.3.5"
s.files = `git ls-files`.split("\n")
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
View
@@ -1,6 +1,12 @@
# -*- encoding: utf-8 -*-
require 'rubygems'
require 'minitest/spec'
+begin
+ require 'simplecov'
+ SimpleCov.start do
+ end
+rescue LoadError
+end
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

0 comments on commit 54707ea

Please sign in to comment.