autotest-standalone 4.5.7 → 4.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/autotest-standalone.gemspec +6 -6
- data/lib/autotest.rb +2 -0
- data/test/test_autotest_integration.rb +2 -2
- metadata +23 -39
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.5.
|
1
|
+
4.5.8
|
data/autotest-standalone.gemspec
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "4.5.
|
7
|
+
s.name = "autotest-standalone"
|
8
|
+
s.version = "4.5.8"
|
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", "Michael Grosser"]
|
12
|
-
s.date =
|
12
|
+
s.date = "2011-09-11"
|
13
13
|
s.executables = ["autotest", "unit_diff"]
|
14
14
|
s.files = [
|
15
15
|
".autotest",
|
@@ -39,11 +39,11 @@ Gem::Specification.new do |s|
|
|
39
39
|
"test/test_autotest_integration.rb",
|
40
40
|
"test/test_unit_diff.rb"
|
41
41
|
]
|
42
|
-
s.homepage =
|
42
|
+
s.homepage = "http://github.com/grosser/autotest"
|
43
43
|
s.rdoc_options = ["--charset=UTF-8"]
|
44
44
|
s.require_paths = ["lib"]
|
45
|
-
s.rubygems_version =
|
46
|
-
s.summary =
|
45
|
+
s.rubygems_version = "1.8.10"
|
46
|
+
s.summary = "Autotest, without ZenTest"
|
47
47
|
s.test_files = [
|
48
48
|
"test/test_autotest_integration.rb",
|
49
49
|
"test/test_unit_diff.rb",
|
data/lib/autotest.rb
CHANGED
@@ -499,6 +499,8 @@ class Autotest
|
|
499
499
|
# modified.
|
500
500
|
def find_files_to_test(files=find_files)
|
501
501
|
updated = files.select { |filename, mtime| self.last_mtime < mtime }
|
502
|
+
# ensure we're dealing with a nested array in Ruby 1.9
|
503
|
+
updated = updated.to_a
|
502
504
|
|
503
505
|
# nothing to update or initially run
|
504
506
|
unless updated.empty? || self.last_mtime.to_i == 0 then
|
@@ -59,7 +59,7 @@ class TestAutotestIntegration < Test::Unit::TestCase
|
|
59
59
|
|
60
60
|
should 'show test summary' do
|
61
61
|
write_passing_tests 10
|
62
|
-
assert_match /Finished in
|
62
|
+
assert_match /Finished.* in .*10 tests, 10 assertions, 0 failures, 0 errors/m, run_autotest
|
63
63
|
end
|
64
64
|
|
65
65
|
should 'call good hooks in correct order' do
|
@@ -92,4 +92,4 @@ class TestAutotestIntegration < Test::Unit::TestCase
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
end
|
95
|
-
end
|
95
|
+
end
|
metadata
CHANGED
@@ -1,35 +1,25 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: autotest-standalone
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.5.8
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 4
|
8
|
-
- 5
|
9
|
-
- 7
|
10
|
-
version: 4.5.7
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Ryan Davis
|
14
9
|
- Michael Grosser
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
date: 2011-09-09 00:00:00 +02:00
|
20
|
-
default_executable:
|
13
|
+
date: 2011-09-11 00:00:00.000000000Z
|
21
14
|
dependencies: []
|
22
|
-
|
23
15
|
description:
|
24
16
|
email:
|
25
|
-
executables:
|
17
|
+
executables:
|
26
18
|
- autotest
|
27
19
|
- unit_diff
|
28
20
|
extensions: []
|
29
|
-
|
30
21
|
extra_rdoc_files: []
|
31
|
-
|
32
|
-
files:
|
22
|
+
files:
|
33
23
|
- .autotest
|
34
24
|
- .gitignore
|
35
25
|
- Gemfile
|
@@ -56,41 +46,35 @@ files:
|
|
56
46
|
- test/test_autotest.rb
|
57
47
|
- test/test_autotest_integration.rb
|
58
48
|
- test/test_unit_diff.rb
|
59
|
-
has_rdoc: true
|
60
49
|
homepage: http://github.com/grosser/autotest
|
61
50
|
licenses: []
|
62
|
-
|
63
51
|
post_install_message:
|
64
|
-
rdoc_options:
|
52
|
+
rdoc_options:
|
65
53
|
- --charset=UTF-8
|
66
|
-
require_paths:
|
54
|
+
require_paths:
|
67
55
|
- lib
|
68
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
57
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
segments:
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
segments:
|
75
63
|
- 0
|
76
|
-
|
77
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
hash: -454823313
|
65
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
66
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
83
|
-
segments:
|
84
|
-
- 0
|
85
|
-
version: "0"
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
86
71
|
requirements: []
|
87
|
-
|
88
72
|
rubyforge_project:
|
89
|
-
rubygems_version: 1.
|
73
|
+
rubygems_version: 1.8.10
|
90
74
|
signing_key:
|
91
75
|
specification_version: 3
|
92
76
|
summary: Autotest, without ZenTest
|
93
|
-
test_files:
|
77
|
+
test_files:
|
94
78
|
- test/test_autotest_integration.rb
|
95
79
|
- test/test_unit_diff.rb
|
96
80
|
- test/test_autotest.rb
|