Sha256: 78d04d92734bc9653468722e5ff3674bed7b8cbbb5e333c8458de9fdc6c1151b

Contents?: true

Size: 838 Bytes

Versions: 1

Compression:

Stored size: 838 Bytes

Contents

require 'rake/testtask'
require 'rake/gempackagetask'

PKG_VERSION = '0.0.6'

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = Dir.glob('test/**/*_test.rb')
  t.verbose = true
end

task :default => :test

dist_dirs = ['lib', 'test']

spec = Gem::Specification.new do |s|
  s.name        = 'monetra-ruby'
  s.version     = PKG_VERSION
  s.summary     = "Ruby library for accessing Main Street Softwork's Monetra credit card processing system"
  s.description = s.summary
  
  # s.add_dependency('activesupport', '>= 1.3.1')
  s.add_dependency('builder',       '>= 1.2')
  
  s.require_path = 'lib'
  s.autorequire = 'monetra'
  
  s.files = ['Rakefile']
  dist_dirs.each do |dir|
    s.files = s.files + Dir.glob("#{dir}/**/*").delete_if {|item| item.include?("\.svn") }
  end
end

Rake::GemPackageTask.new(spec) do |pkg|
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
monetra-ruby-0.0.6 Rakefile