Sha256: b581224a423739318a21afc348dc661b302d410ab71988431ccd2d58a2430483

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 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

3 entries across 3 versions & 1 rubygems

Version Path
pagarme-2.0.2 Rakefile
pagarme-2.0.1 Rakefile
pagarme-2.0.0 Rakefile