Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Integration kschraders jeweler branch

  • Loading branch information...
commit 3ff22a4aecfe93ad89b50deec6a35b88423f320c 1 parent 248fa07
@gingerhendrix authored
View
41 Rakefile
@@ -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'
View
6 TODO
@@ -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
View
4 VERSION.yml
@@ -1,4 +1,4 @@
---
-:patch: 0
+:patch: 2
:major: 0
-:minor: 1
+:minor: 0
View
13 tasks/jeweler.rake
@@ -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
View
9 tasks/rcov.rake
@@ -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
View
7 tasks/rdoc.rake
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.