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 CHANGED
@@ -53,7 +53,8 @@ TODO
53
53
  License
54
54
  =======
55
55
 
56
- ### This is a stripped down version of ZenTest, stripping done by
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.8
1
+ 4.2.9
data/autotest.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{autotest}
8
- s.version = "4.2.8"
8
+ s.version = "4.2.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Davis"]
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 = /win32/ =~ RUBY_PLATFORM
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotest
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.8
4
+ version: 4.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis