Sha256: 59d9954920cf9c0d9432a4b841af76f32a18b3665543ddaf64557931e530e74e

Contents?: true

Size: 941 Bytes

Versions: 1

Compression:

Stored size: 941 Bytes

Contents

require 'rake'
require 'rake/rdoctask'

desc 'Default: run specs.'
task :default => :spec

desc 'Generate documentation for the tenpay plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Tenpay'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "tenpay"
    s.summary = "A Ruby wrapper of Tenpay(财付通) Payment API"
    s.email = "zhangyuanyi@gmail.com"
    s.homepage = "http://github.com/yzhang/tenpay"
    s.description = "A Ruby wrapper of Tenpay(财付通) Payment API"
    s.authors = ["Yuanyi Zhang"]
    s.files =  FileList["[A-Z]*", "{lib}/**/*", '.gitignore']
  end
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tenpay-0.1.0 Rakefile