Sha256: 55ac756c82b96f98113d33c6486980356b224557e891e07b7fc0a8fd5ba7031d
Contents?: true
Size: 937 Bytes
Versions: 5
Compression:
Stored size: 937 Bytes
Contents
# -*- ruby -*- ENV['GEM_HOME'] = "tmp/isolate/ruby-1.8" Gem.refresh require 'autotest/restart' Autotest.add_hook :initialize do |at| at.testlib = '' at.add_exception %r%/\.git/% at.add_exception %r%/\.svn/% at.add_exception %r%\.rbc$% at.add_exception %r%test/rubygems/rubygems% at.find_directories.clear at.find_directories.push 'lib', 'test' at.add_mapping %r%^lib/rubygems.rb$% do |_, m| "test/rubygems/test_gem.rb" end at.add_mapping %r%^lib/rubygems/(.*).rb$% do |_, m| "test/rubygems/test_gem_#{m[1].gsub '/', '_'}.rb" end at.add_mapping %r%^test/support/(.*).rb$% do |_, m| at.files_matching %r%^test/rubygems/test_(.*)\.rb$% end args = ARGV.reject { |a| a =~ /^-/ } at.find_directories = args unless args.empty? end class Autotest alias :old_path_to_classname :path_to_classname def path_to_classname s old_path_to_classname(s.sub(/test.rubygems.test_/, "")) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rubygems-update-1.8.30 | .autotest |
rubygems-update-1.8.29 | .autotest |
rubygems-update-1.8.28 | .autotest |
rubygems-update-1.8.27 | .autotest |
rubygems-update-1.8.26 | .autotest |