Skip to content
This repository
Browse code

Add a Gemfile to easily setup the test dependencies

  • Loading branch information...
commit d9a56c2aac7d641fa04760126166d8b226b0d44d 1 parent 0c90f00
ultraninja authored mikel committed
2  .gitignore
@@ -2,3 +2,5 @@
2 2
 coverage
3 3
 rdoc
4 4
 gems
  5
+vendor
  6
+bin
18  Gemfile
... ...
@@ -0,0 +1,18 @@
  1
+source "http://gemcutter.org"
  2
+
  3
+gem "tlsmail"
  4
+gem "treetop"
  5
+gem "activesupport"
  6
+gem "mime-types"
  7
+
  8
+only :test do
  9
+  gem "rcov"
  10
+  gem "rake"
  11
+  gem "bundler"
  12
+  gem "cucumber"
  13
+  gem "rspec"
  14
+  gem "diff-lcs"
  15
+  gem "ruby-debug"
  16
+end
  17
+
  18
+disable_system_gems
3  Rakefile
... ...
@@ -1,7 +1,5 @@
1  
-require 'rake'
2 1
 require 'rake/rdoctask'
3 2
 require 'rake/testtask'
4  
-require 'rubygems'
5 3
 require 'spec/rake/spectask'
6 4
 require 'cucumber/rake/task'
7 5
 
@@ -12,7 +10,6 @@ Cucumber::Rake::Task.new do |t|
12 10
 end
13 11
 
14 12
 Spec::Rake::SpecTask.new(:rcov) do |t|
15  
-  gem 'relevance-rcov', '>= 0.8.4.1'
16 13
   t.spec_files = FileList['**/test/**/tc_*.rb', '**/spec/**/*_spec.rb']
17 14
   t.rcov = true
18 15
   t.rcov_opts = t.rcov_opts << ['--exclude', '/Library,/opt,/System']

0 notes on commit d9a56c2

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