Rakefile in veritrans-2.0.4 vs Rakefile in veritrans-2.1.0

- old
+ new

@@ -1,11 +1,13 @@ require 'rubygems' -task :default => :spec - -desc "Run Specs" -require 'rspec/core/rake_task' -RSpec::Core::RakeTask.new(:spec) +begin + desc "Run Specs" + require 'rspec/core/rake_task' + RSpec::Core::RakeTask.new(:spec) +rescue LoadError + puts "no rspec available" +end desc "Generate documentation with sdoc" task :doc do Bundler.with_clean_env do exec %{sdoc -i ./*.md ./lib/*.rb ./lib/veritrans/*.rb -m "Veritrans Ruby Library"}