Skip to content

Commit

Permalink
Integration kschraders jeweler branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerhendrix committed Apr 15, 2009
1 parent 248fa07 commit 3ff22a4
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 43 deletions.
41 changes: 3 additions & 38 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,43 +1,8 @@
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'spec/rake/spectask'

begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "scrobbler2"
s.summary = %Q{TODO}
s.email = "kurt@karmalab.org"
s.homepage = "http://github.com/kschrader/scrobbler2"
s.description = "TODO"
s.authors = ["Gareth Andrew","Kurt Schrader"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Dir['tasks/**/*.rake'].each { |rake| load rake }

Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end

Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'scrobbler2'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |t|
t.libs << 'test'
t.test_files = FileList['test/**/*_test.rb']
t.verbose = true
end
rescue LoadError
end

task :default => :test
task :default => 'test:unit'
6 changes: 3 additions & 3 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
0.1.0 Release
Fix failing unit tests +done
Fix failing acceptance tests
Fix failing acceptance tests +done
Artist info for Metallica should have bio +done
User's tags for Metallica should have an array of tags
Pull down Jeweler branch
User's tags for Metallica should have an array of tags +done
Pull down Jeweler branch +done
Finish API
Add README etc.
Release
4 changes: 2 additions & 2 deletions VERSION.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
:patch: 0
:patch: 2
:major: 0
:minor: 1
:minor: 0
13 changes: 13 additions & 0 deletions tasks/jeweler.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "scrobbler2"
s.summary = "A ruby library for accessing the last.fm v2 webservices"
s.email = "gingerhendrix@gmail.com"
s.homepage = "http://github.com/gingerhendrix/scrobbler2"
s.description = "A ruby library for accessing the last.fm v2 webservices"
s.authors = ["Gareth Andrew","Kurt Schrader"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
9 changes: 9 additions & 0 deletions tasks/rcov.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |t|
t.libs << 'test'
t.test_files = FileList['test/**/*_test.rb']
t.verbose = true
end
rescue LoadError
end
7 changes: 7 additions & 0 deletions tasks/rdoc.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'scrobbler2'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end

0 comments on commit 3ff22a4

Please sign in to comment.