Sha256: e9f0b629702ea7a7b37b25577dad11964adc52ee43169692a1bbe1a8552daa66

Contents?: true

Size: 447 Bytes

Versions: 5

Compression:

Stored size: 447 Bytes

Contents

require "bundler/gem_tasks"

task :default => [:all]

task :test, :test_file do |t, args| 
  ret = true
  test_file = args[:test_file]

  if args[:test_file]
	f = "test/pagarme/#{args[:test_file]}.rb"
	ret = ret && ruby(f, '')
  else
	Dir["test/**/*.rb"].each do |f|
    ret = ret && ruby(f, '')
  end
  end
end

task :all do
  Rake::Task["test"].invoke
  require 'active_support/all'
  Rake::Task["test"].reenable
  Rake::Task["test"].invoke
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pagarme-1.10.0 Rakefile
pagarme-1.9.9 Rakefile
pagarme-1.9.8 Rakefile
pagarme-1.9.7 Rakefile
pagarme-1.9.6 Rakefile