Permalink
Browse files

Make it a gem.

  • Loading branch information...
nverinaud committed Jun 22, 2012
1 parent 64cf6a3 commit 23a324ef9667ec3e1a6df29b53e30ddb7154fb19
Showing with 51 additions and 8 deletions.
  1. +1 −0 .gitignore
  2. +14 −0 Gemfile
  3. +33 −0 Gemfile.lock
  4. +0 −8 Rakefile
  5. +3 −0 test/helper.rb
View
@@ -11,6 +11,7 @@ spec/reports
test/tmp
test/version_tmp
tmp
+coverage
# YARD artifacts
.yardoc
View
14 Gemfile
@@ -0,0 +1,14 @@
+source "http://rubygems.org"
+# Add dependencies required to use your gem here.
+# Example:
+# gem "activesupport", ">= 2.3.5"
+
+# Add dependencies to develop your gem here.
+# Include everything needed to run rake, tests, features, etc.
+group :development do
+ gem "shoulda", ">= 0"
+ gem "rdoc", "~> 3.12"
+ gem "bundler", ">= 1.0.0"
+ gem "jeweler", "~> 1.8.3"
+ gem 'simplecov'
+end
View
@@ -0,0 +1,33 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ git (1.2.5)
+ jeweler (1.8.3)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.7.3)
+ multi_json (1.3.6)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ shoulda (3.0.1)
+ shoulda-context (~> 1.0.0)
+ shoulda-matchers (~> 1.0.0)
+ shoulda-context (1.0.0)
+ shoulda-matchers (1.0.0)
+ simplecov (0.6.4)
+ multi_json (~> 1.0)
+ simplecov-html (~> 0.5.3)
+ simplecov-html (0.5.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler (>= 1.0.0)
+ jeweler (~> 1.8.3)
+ rdoc (~> 3.12)
+ shoulda
+ simplecov
View
@@ -31,14 +31,6 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- test.rcov_opts << '--exclude "gems/*"'
-end
-
task :default => :test
require 'rdoc/task'
View
@@ -1,3 +1,6 @@
+require 'simplecov'
+SimpleCov.start
+
require 'rubygems'
require 'bundler'
begin

0 comments on commit 23a324e

Please sign in to comment.