autotest 4.2.8 → 4.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +2 -1
- data/VERSION +1 -1
- data/autotest.gemspec +1 -1
- data/lib/autotest.rb +5 -1
- metadata +1 -1
data/README.markdown
CHANGED
|
@@ -53,7 +53,8 @@ TODO
|
|
|
53
53
|
License
|
|
54
54
|
=======
|
|
55
55
|
|
|
56
|
-
###
|
|
56
|
+
### Autotest was extracted from ZenTest and improved by:
|
|
57
|
+
- [Charles Roper](http://twitter.com/charlesroper)
|
|
57
58
|
- [Shane Liebling](http://github.com/shanel)
|
|
58
59
|
- [Michael Grosser](http://pragmatig.wordpress.com)
|
|
59
60
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.2.
|
|
1
|
+
4.2.9
|
data/autotest.gemspec
CHANGED
data/lib/autotest.rb
CHANGED
|
@@ -72,7 +72,7 @@ class Autotest
|
|
|
72
72
|
|
|
73
73
|
HOOKS = Hash.new { |h,k| h[k] = [] } #unfound keys are []
|
|
74
74
|
unless defined? WINDOZE then
|
|
75
|
-
WINDOZE = /
|
|
75
|
+
WINDOZE = /mswin|mingw|windows/ =~ Config::CONFIG['host_os']
|
|
76
76
|
SEP = WINDOZE ? '&' : ';'
|
|
77
77
|
end
|
|
78
78
|
|
|
@@ -112,6 +112,10 @@ class Autotest
|
|
|
112
112
|
#
|
|
113
113
|
def self.autodiscover
|
|
114
114
|
require 'rubygems'
|
|
115
|
+
begin
|
|
116
|
+
require 'win32console' if WINDOZE
|
|
117
|
+
rescue LoadError
|
|
118
|
+
end
|
|
115
119
|
|
|
116
120
|
Gem.find_files("autotest/discover").each do |f|
|
|
117
121
|
load f
|