Rakefile in cdyne-sms-notify-1.0.4 vs Rakefile in cdyne-sms-notify-1.0.6

- old
+ new

@@ -1,36 +1,34 @@ require 'rubygems' require 'rcov/rcovtask' -require "spec" -require "spec/rake/spectask" +require "rspec" +require "rspec/core/rake_task" require File.join(File.dirname(__FILE__), *%w[lib sms_notify version]) begin require 'jeweler' Jeweler::Tasks.new do |gemspec| - gemspec.name = "cdyne-sms-notify" - gemspec.summary = "Ruby interface to the CDYNE SMSNotify! service." - gemspec.email = "gems@skiblerspot.net" + gemspec.name = "cdyne-sms-notify" + gemspec.summary = "Ruby interface to the CDYNE SMSNotify! service." + gemspec.email = "gems@skiblerspot.net" gemspec.rubyforge_project = 'cdyne-sms-notify' - gemspec.homepage = "http://github.com/badreligion/cdyne-sms-notify" - gemspec.authors = ["Sean Kibler"] - gemspec.extra_rdoc_files = %w{History.txt License.txt README.rdoc} - gemspec.has_rdoc = true - gemspec.version = SmsNotify::Version + gemspec.homepage = "http://github.com/badreligion/cdyne-sms-notify" + gemspec.authors = ["Sean Kibler"] + gemspec.extra_rdoc_files = %w{History.txt License.txt README.rdoc} + gemspec.has_rdoc = true + gemspec.version = SmsNotify::Version end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not found, it can be installed with the following command:\n\ngem install jeweler" end task :default => :spec -Spec::Rake::SpecTask.new('spec:rcov') do |t| - t.spec_files = FileList['spec/**/*.rb'] +Rspec::Core::RakeTask.new('rcov') do |t| t.rcov = true - #t.rcov_opts = ['--exclude', ''] end task :doc do system("rdoc") end