Sha256: a5f283a6749fbe079ebfc379766bb1183b4d66f5003c1667e31cde42836cb4fe
Contents?: true
Size: 450 Bytes
Versions: 28
Compression:
Stored size: 450 Bytes
Contents
require "bundler/gem_tasks" task :default => 'specs' task :specs do if defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" && RUBY_VERSION >= "1.9" module Kernel alias :__at_exit :at_exit def at_exit(&block) __at_exit do exit_status = $!.status if $!.is_a?(SystemExit) block.call exit exit_status if exit_status end end end end raise "Tests Failed" unless system 'rspec' end
Version data entries
28 entries across 28 versions & 1 rubygems