Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
phoet committed Apr 7, 2011
1 parent 41f72e7 commit 54971f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 32 deletions.
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.rdoc
Expand Up @@ -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!).

31 changes: 3 additions & 28 deletions rakefile.rb
@@ -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.