autotest 4.2.1 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.1
1
+ 4.2.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{autotest}
8
- s.version = "4.2.1"
8
+ s.version = "4.2.2"
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"]
@@ -31,6 +31,8 @@ class Dir
31
31
  end
32
32
 
33
33
  #run the correct Autotest variant fitting to the local structure
34
+ $LOAD_PATH.unshift("#{File.dirname(__FILE__)}/../lib")
35
+
34
36
  require 'autotest'
35
37
  Autotest.options.merge!(options)
36
38
  target = Autotest
@@ -43,6 +45,7 @@ unless style.empty? then
43
45
  rescue LoadError
44
46
  abort "Autotest style #{mod} doesn't seem to exist. Aborting."
45
47
  end
48
+ puts "style: #{style.map {|s| s.capitalize}.join}"
46
49
  target = Autotest.const_get(style.map {|s| s.capitalize}.join)
47
50
  end
48
51
  target.run
@@ -253,7 +253,7 @@ class Autotest
253
253
  open("| #{cmd}", "r") do |f|
254
254
  until f.eof? do
255
255
  c = f.getc or break
256
- print c
256
+ print (c.is_a?(Fixnum) ? c.chr : c)
257
257
  line << c
258
258
  if c == ?\n then
259
259
  self.results << if RUBY_VERSION >= "1.9" then
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.1
4
+ version: 4.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis