Skip to content

Commit

Permalink
wip on ruby 1.9.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber committed Jun 15, 2010
1 parent 3ff609a commit efe7c5e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Rakefile
@@ -1,6 +1,6 @@
require 'lib/redcloth/version'
require File.expand_path(File.dirname(__FILE__)) + "/lib/redcloth/version"
require 'rubygems'
gem 'echoe', '>= 4.1'
gem 'echoe', '>= 4.3.1'
require 'echoe'
Dir["#{File.dirname(__FILE__)}/lib/tasks/*.rake"].sort.each { |ext| load(ext) }

Expand Down Expand Up @@ -217,12 +217,12 @@ end

#### Custom testing tasks

require 'rubygems'
require 'spec/rake/spectask'
require 'rspec/core'
require 'rspec/core/rake_task'
Rake::Task[:default].prerequisites.clear
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ["--options #{File.dirname(__FILE__) + '/spec/spec.opts'}"]
t.spec_files = FileList['spec/**/*_spec.rb']
Rspec::Core::RakeTask.new(:spec) do |spec|
spec.spec_opts = ["--options #{File.dirname(__FILE__) + '/spec/spec.opts'}"]
spec.spec_files = FileList['spec/**/*_spec.rb']
end

task :default => :spec
Expand Down

0 comments on commit efe7c5e

Please sign in to comment.