Rakefile in lastfm-0.0.1 vs Rakefile in lastfm-0.1.0
- old
+ new
@@ -8,33 +8,28 @@
gem.summary = %Q{A Ruby interface for Last.fm Web Services}
gem.description = %Q{A ruby interface for Last.fm web services version 2.0}
gem.email = "youpy@buycheapviagraonlinenow.com"
gem.homepage = "http://github.com/youpy/ruby-lastfm"
gem.authors = ["youpy"]
- gem.add_development_dependency "rspec"
+ gem.add_development_dependency "rspec", ">= 2.0.0"
gem.add_dependency "httparty"
+ gem.add_dependency "xml-simple"
+ gem.add_dependency "activesupport"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
-require 'spec/rake/spectask'
-Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.spec_files = FileList['spec/**/*_spec.rb']
-end
+require 'rspec/core/rake_task'
-Spec::Rake::SpecTask.new(:rcov) do |spec|
- spec.libs << 'lib' << 'spec'
+RSpec::Core::RakeTask.new(:core) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
end
-task :spec => :check_dependencies
-
-task :default => :spec
+task :core => :check_dependencies
+task :default => :core
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.read('VERSION')