public
Description: An API for using the Amazon Flexible Payment Service (FPS).
Homepage: http://rubyforge.org/projects/remit/
Clone URL: git://github.com/tylerhunt/remit.git
Click here to lend your support to: remit and make a donation at www.pledgie.com !
unknown (author)
Fri Mar 27 05:35:21 -0700 2009
tylerhunt (committer)
Wed Jul 29 12:03:45 -0700 2009
remit / Rakefile
100644 53 lines (44 sloc) 1.651 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
require 'rubygems'
require 'rake/clean'
require 'spec/rake/spectask'
 
desc 'Default: run specs.'
task :default => :spec
 
begin
  require 'jeweler'
 
  Jeweler::Tasks.new do |gem|
    gem.name = 'remit'
    gem.summary = 'An API for using the Amazon Flexible Payment Service (FPS).'
    gem.email = 'tyler@tylerhunt.com'
    gem.homepage = 'http://github.com/tylerhunt/remit'
    gem.authors = ['Tyler Hunt']
    gem.rubyforge_project = 'remit'
    gem.platform = Gem::Platform::RUBY
    gem.files = FileList['{bin,lib}/**/*'].to_a
    gem.require_path = 'lib'
    gem.test_files = FileList['{spec}/**/{*spec.rb,*helper.rb}'].to_a
    gem.has_rdoc = true
    gem.extra_rdoc_files = ['README.markdown', 'LICENSE']
 
    gem.add_dependency('relax', '~> 0.0.7')
  end
rescue LoadError
  puts 'Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com'
end
 
task :spec do
  Rake::Task["spec:units"].invoke
end
 
namespace :spec do
  desc "Run unit specs."
  Spec::Rake::SpecTask.new(:units) do |t|
    t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
    t.spec_files = FileList['spec/units/**/*_spec.rb']
  end
 
  desc "Run integration specs. Requires AWS_ACCESS_KEY and AWS_SECRET_KEY."
  Spec::Rake::SpecTask.new(:integrations) do |t|
    t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
    t.spec_files = FileList['spec/integrations/**/*_spec.rb']
  end
end
 
Spec::Rake::SpecTask.new(:doc) do |t|
  t.spec_opts = ['--format specdoc --dry-run --colour']
  t.spec_files = FileList['spec/**/*_spec.rb']
end