Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make it a gem.

  • Loading branch information...
commit 23a324ef9667ec3e1a6df29b53e30ddb7154fb19 1 parent 64cf6a3
Nicolas VERINAUD authored June 22, 2012
1  .gitignore
@@ -11,6 +11,7 @@ spec/reports
11 11
 test/tmp
12 12
 test/version_tmp
13 13
 tmp
  14
+coverage
14 15
 
15 16
 # YARD artifacts
16 17
 .yardoc
14  Gemfile
... ...
@@ -0,0 +1,14 @@
  1
+source "http://rubygems.org"
  2
+# Add dependencies required to use your gem here.
  3
+# Example:
  4
+#   gem "activesupport", ">= 2.3.5"
  5
+
  6
+# Add dependencies to develop your gem here.
  7
+# Include everything needed to run rake, tests, features, etc.
  8
+group :development do
  9
+  gem "shoulda", ">= 0"
  10
+  gem "rdoc", "~> 3.12"
  11
+  gem "bundler", ">= 1.0.0"
  12
+  gem "jeweler", "~> 1.8.3"
  13
+  gem 'simplecov'
  14
+end
33  Gemfile.lock
... ...
@@ -0,0 +1,33 @@
  1
+GEM
  2
+  remote: http://rubygems.org/
  3
+  specs:
  4
+    git (1.2.5)
  5
+    jeweler (1.8.3)
  6
+      bundler (~> 1.0)
  7
+      git (>= 1.2.5)
  8
+      rake
  9
+      rdoc
  10
+    json (1.7.3)
  11
+    multi_json (1.3.6)
  12
+    rake (0.9.2.2)
  13
+    rdoc (3.12)
  14
+      json (~> 1.4)
  15
+    shoulda (3.0.1)
  16
+      shoulda-context (~> 1.0.0)
  17
+      shoulda-matchers (~> 1.0.0)
  18
+    shoulda-context (1.0.0)
  19
+    shoulda-matchers (1.0.0)
  20
+    simplecov (0.6.4)
  21
+      multi_json (~> 1.0)
  22
+      simplecov-html (~> 0.5.3)
  23
+    simplecov-html (0.5.3)
  24
+
  25
+PLATFORMS
  26
+  ruby
  27
+
  28
+DEPENDENCIES
  29
+  bundler (>= 1.0.0)
  30
+  jeweler (~> 1.8.3)
  31
+  rdoc (~> 3.12)
  32
+  shoulda
  33
+  simplecov
8  Rakefile
@@ -31,14 +31,6 @@ Rake::TestTask.new(:test) do |test|
31 31
   test.verbose = true
32 32
 end
33 33
 
34  
-require 'rcov/rcovtask'
35  
-Rcov::RcovTask.new do |test|
36  
-  test.libs << 'test'
37  
-  test.pattern = 'test/**/test_*.rb'
38  
-  test.verbose = true
39  
-  test.rcov_opts << '--exclude "gems/*"'
40  
-end
41  
-
42 34
 task :default => :test
43 35
 
44 36
 require 'rdoc/task'
3  test/helper.rb
... ...
@@ -1,3 +1,6 @@
  1
+require 'simplecov'
  2
+SimpleCov.start
  3
+
1 4
 require 'rubygems'
2 5
 require 'bundler'
3 6
 begin

0 notes on commit 23a324e

Please sign in to comment.
Something went wrong with that request. Please try again.