# -*- coding: utf-8 -*- Gem::Specification.new do |s| s.name = "magpie" s.version = "0.8.8" s.platform = Gem::Platform::RUBY s.summary = "用ruby语言编写的支付平台测试沙盒" s.description = <<-EOF Magpie提供了支付宝(alipay), 网银在线(chinabank), 财付通(tenpay)的沙盒功能.使用Magpie, 开发人员可以测试商户系统提交到支付平台的参数是否正确, 并且当参数提交出错时, 可以获知详细的错误信息; Magpie模拟了各个支付平台的主动通知交互模式,这个功能可以使开发人员不必去支付平台的页面进行真实的支付,而通过Magpie就可以取得支付成功的效果,这样就可以轻松快速地对自己所开发的商户系统进行测试. EOF #s.files = Dir["{bin/*,lib/magpie/**/*,lib/*,lib/models/*,lib/middles/*,test/**/*}"] - %w(lib/magpie.yml lib/mag) + %w(COPYING magpie.gemspec README.md Rakefile ) s.files =%w( bin/mag lib/magpie/mouse.rb lib/magpie/server.rb lib/magpie/utils.rb lib/magpie/goose.rb lib/magpie/rubber.rb lib/middles lib/models lib/magpie.rb lib/magpie lib/apps.rb lib/models/dung.rb lib/models/alipay.rb lib/models/chinabank.rb lib/models/tenpay.rb lib/middles/alipay.rb lib/middles/snake.rb lib/middles/chinabank.rb lib/middles/tenpay.rb lib/views lib/views/fail.html.erb lib/views/success.html.erb lib/views/layouts lib/views/layouts/app.html.erb test/partner.yml test/test_alipay.rb test/test_tenpay.rb test/helper.rb test/test_utils.rb test/test_chinabank.rb test/test_dung.rb test/test_snake.rb test/test_object.rb test/test.log COPYING magpie.gemspec README.md Rakefile ) s.bindir = 'bin' s.executables << 'mag' s.require_paths = ["lib"] s.has_rdoc = 'yard' s.extra_rdoc_files = ['README.md'] s.test_files = Dir['test/test_*.rb'] s.homepage = 'http://github.com/baya/magpie' s.author = 'jiangguimin' s.email = 'kayak.jiang@gmail.com' end