Rakefile in lastfm-1.6.0 vs Rakefile in lastfm-1.6.1
- old
+ new
@@ -1,49 +1,11 @@
-# encoding: utf-8
-
-require 'rubygems'
-require 'bundler'
-begin
- Bundler.setup(:default, :development)
-rescue Bundler::BundlerError => e
- $stderr.puts e.message
- $stderr.puts "Run `bundle install` to install missing gems"
- exit e.status_code
-end
+#!/usr/bin/env rake
require 'rake'
+require "bundler/gem_tasks"
-require 'jeweler'
-Jeweler::Tasks.new do |gem|
- gem.name = "lastfm"
- 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_dependency 'rake', '>= 0.9.2'
- gem.add_dependency "xml-simple"
- gem.add_dependency "httparty"
- gem.add_dependency 'activesupport', '>= 3.0.3'
-
- gem.add_development_dependency 'rspec', '~> 2.8.0'
- gem.add_development_dependency 'jeweler', '~> 1.6.4'
- gem.add_development_dependency 'rdoc'
-end
-
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
task :default => :spec
-
-require 'rdoc/task'
-Rake::RDocTask.new do |rdoc|
- version = File.read('VERSION')
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "lastfm #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end