Rakefile in twitter-text-1.4.11 vs Rakefile in twitter-text-1.4.12

- old
+ new

@@ -1,9 +1,11 @@ +#!/usr/bin/env rake require 'bundler' Bundler::GemHelper.install_tasks -task :default => ["spec", "test:conformance"] +task :default => ['spec', 'test:conformance'] +task :test => :spec require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) def conformance_version(dir) @@ -46,12 +48,12 @@ desc "Run conformance test suite" task :conformance => ['conformance:latest', 'conformance:run'] do end end -require 'rake/rdoctask' +require 'rdoc/task' namespace :doc do - Rake::RDocTask.new do |rd| + RDoc::Task.new do |rd| rd.main = "README.rdoc" rd.rdoc_dir = 'doc' rd.rdoc_files.include("README.rdoc", "lib/**/*.rb") end end