Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a Gemfile to easily setup the test dependencies

  • Loading branch information...
commit d9a56c2aac7d641fa04760126166d8b226b0d44d 1 parent 0c90f00
ultraninja ultraninja authored committed
Showing with 20 additions and 3 deletions.
  1. +2 −0  .gitignore
  2. +18 −0 Gemfile
  3. +0 −3  Rakefile
2  .gitignore
View
@@ -2,3 +2,5 @@
coverage
rdoc
gems
+vendor
+bin
18 Gemfile
View
@@ -0,0 +1,18 @@
+source "http://gemcutter.org"
+
+gem "tlsmail"
+gem "treetop"
+gem "activesupport"
+gem "mime-types"
+
+only :test do
+ gem "rcov"
+ gem "rake"
+ gem "bundler"
+ gem "cucumber"
+ gem "rspec"
+ gem "diff-lcs"
+ gem "ruby-debug"
+end
+
+disable_system_gems
3  Rakefile
View
@@ -1,7 +1,5 @@
-require 'rake'
require 'rake/rdoctask'
require 'rake/testtask'
-require 'rubygems'
require 'spec/rake/spectask'
require 'cucumber/rake/task'
@@ -12,7 +10,6 @@ Cucumber::Rake::Task.new do |t|
end
Spec::Rake::SpecTask.new(:rcov) do |t|
- gem 'relevance-rcov', '>= 0.8.4.1'
t.spec_files = FileList['**/test/**/tc_*.rb', '**/spec/**/*_spec.rb']
t.rcov = true
t.rcov_opts = t.rcov_opts << ['--exclude', '/Library,/opt,/System']
Please sign in to comment.
Something went wrong with that request. Please try again.