Permalink
Browse files

Cleaning up tasks, adding default task, updating locked Cucumber for …

…tests.
  • Loading branch information...
1 parent 5a6ee84 commit 85b82809a0cb3c6be84c9099671c2481be7e264a @evolve2k committed Sep 29, 2011
Showing with 15 additions and 26 deletions.
  1. +9 −9 Gemfile.lock
  2. +6 −17 Rakefile
View
@@ -3,21 +3,21 @@ GEM
specs:
builder (3.0.0)
colored (1.2)
- cucumber (0.10.0)
+ cucumber (1.1.0)
builder (>= 2.1.2)
- diff-lcs (~> 1.1.2)
- gherkin (~> 2.3.2)
- json (~> 1.4.6)
- term-ansicolor (~> 1.0.5)
- diff-lcs (1.1.2)
- gherkin (2.3.10)
+ diff-lcs (>= 1.1.2)
+ gherkin (~> 2.5.0)
+ json (>= 1.4.6)
+ term-ansicolor (>= 1.0.6)
+ diff-lcs (1.1.3)
+ gherkin (2.5.1)
json (>= 1.4.6)
git (1.2.5)
jeweler (1.5.2)
bundler (~> 1.0.0)
git (>= 1.2.5)
rake
- json (1.4.6)
+ json (1.6.1)
rake (0.9.2)
rspec (2.6.0)
rspec-core (~> 2.6.0)
@@ -27,7 +27,7 @@ GEM
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
- term-ansicolor (1.0.5)
+ term-ansicolor (1.0.6)
PLATFORMS
ruby
View
@@ -7,7 +7,10 @@ rescue Bundler::BundlerError => e
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
+
require 'rake'
+require 'rspec/core/rake_task'
+require 'cucumber/rake/task'
require 'jeweler'
Jeweler::Tasks.new do |gem|
@@ -24,21 +27,7 @@ Jeweler::Tasks.new do |gem|
end
Jeweler::RubygemsDotOrgTasks.new
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
-task :default => :test
+task :default => [:spec, :cucumber]
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "frogger #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
+RSpec::Core::RakeTask.new
+Cucumber::Rake::Task.new

0 comments on commit 85b8280

Please sign in to comment.