Permalink
Browse files

cleanup

  • Loading branch information...
1 parent 41f72e7 commit 54971f4b94a241512e622b7efeb0edfb1082ef9f @phoet phoet committed Apr 7, 2011
Showing with 3 additions and 32 deletions.
  1. +0 −1 .travis.yml
  2. +0 −3 README.rdoc
  3. +3 −28 rakefile.rb
View
@@ -1 +0,0 @@
-script: "rake travis_ci"
View
@@ -112,6 +112,3 @@ As a default HTTPI uses _httpclient_ so you should add that dependency to your p
Have a look at the RDOC[http://rdoc.info/projects/phoet/asin] for this project, if you want further information.
For more information on the REST calls, have a look at the whole Amazon E-Commerce-API[http://docs.amazonwebservices.com/AWSEcommerceService/4-0/].
-
-The code currently runs best on Ruby-1.9 due to encoding issues with the Amazon REST output (if *YOU* know how to backport this to 1.8.7, you are welcome!).
-
View
@@ -1,42 +1,17 @@
require "bundler"
require "rake/rdoctask"
-require "rake/gempackagetask"
require 'rspec/core/rake_task'
+Bundler::GemHelper.install_tasks
+
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ["--format Fuubar", "--color", "-r ./spec/spec_helper.rb"]
t.pattern = 'spec/**/*_spec.rb'
end
-Bundler::GemHelper.install_tasks
-
-spec = eval(File.new("asin.gemspec").readlines.join("\n"))
-
-Rake::GemPackageTask.new(spec) do |pkg|
- pkg.need_zip = true
- pkg.need_tar = true
-end
-
Rake::RDocTask.new(:rdoc_dev) do |rd|
rd.rdoc_files.include("lib/**/*.rb", "README.rdoc")
rd.options + ['-a', '--inline-source', '--charset=UTF-8']
end
-desc "the test task"
-task :test do
- require 'rake/testtask'
- Rake::TestTask.new do |t|
- t.libs << "test"
- t.ruby_opts << "-rubygems"
- t.test_files = FileList['test/test_*.rb']
- t.verbose = true
- end
-end
-task :default=>:test
-
-desc "execute build on travis-ci"
-task :travis_ci do
- puts "WE LOOOOOOOOOOOOVE"
- Rake::Task['spec'].invoke
- puts "TRAVIS CI!!!!!!!!!!!!!!!oneeleven"
-end
+task :default=>:spec

0 comments on commit 54971f4

Please sign in to comment.