testr 14.1.1 → 14.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,15 @@
1
+ ------------------------------------------------------------------------------
2
+ Version 14.1.2 (2012-01-09)
3
+ ------------------------------------------------------------------------------
4
+
5
+ External changes:
6
+
7
+ * Don't consider partial test file pass as full pass.
8
+
9
+ Internal changes:
10
+
11
+ * Upgrade to binman 3 for better bundler support.
12
+
1
13
  ------------------------------------------------------------------------------
2
14
  Version 14.1.1 (2011-12-07)
3
15
  ------------------------------------------------------------------------------
data/Rakefile CHANGED
@@ -1 +1,2 @@
1
1
  require "bundler/gem_tasks"
2
+ require "binman/rakefile"
data/bin/testr CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin
3
3
 
4
- TESTR 1 "2011-12-07" "14.1.1"
4
+ TESTR 1 "2012-01-09" "14.1.2"
5
5
  =============================
6
6
 
7
7
  NAME
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin
3
3
 
4
- TESTR-DRIVER 1 "2011-12-07" "14.1.1"
4
+ TESTR-DRIVER 1 "2012-01-09" "14.1.2"
5
5
  ====================================
6
6
 
7
7
  NAME
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin
3
3
 
4
- TESTR-HERALD 1 "2011-12-07" "14.1.1"
4
+ TESTR-HERALD 1 "2012-01-09" "14.1.2"
5
5
  ====================================
6
6
 
7
7
  NAME
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin
3
3
 
4
- TESTR-MASTER 1 "2011-12-07" "14.1.1"
4
+ TESTR-MASTER 1 "2012-01-09" "14.1.2"
5
5
  ====================================
6
6
 
7
7
  NAME
@@ -31,7 +31,7 @@ module Driver
31
31
  quit_herald_and_master unless very_first_time
32
32
 
33
33
  @master = Client::Transceiver.new('testr-master') do |line|
34
- event, file = JSON.load(line)
34
+ event, file, tests = JSON.load(line)
35
35
 
36
36
  case event.to_sym
37
37
  when :test
@@ -41,7 +41,9 @@ module Driver
41
41
  when :pass
42
42
  @running_test_files.delete file
43
43
  @failed_test_files.delete file
44
- @passed_test_files.push file unless @passed_test_files.include? file
44
+ if tests.empty? and not @passed_test_files.include? file
45
+ @passed_test_files.push file
46
+ end
45
47
 
46
48
  when :fail
47
49
  @running_test_files.delete file
@@ -1,3 +1,3 @@
1
1
  module TestR
2
- VERSION = "14.1.1"
2
+ VERSION = "14.1.2"
3
3
  end
@@ -1,4 +1,4 @@
1
- .TH TESTR\-DRIVER 1 "2011\-12\-07" "14.1.1"
1
+ .TH TESTR\-DRIVER 1 "2012\-01\-09" "14.1.2"
2
2
  .SH NAME
3
3
  .PP
4
4
  testr\-driver \- drives
@@ -1,4 +1,4 @@
1
- .TH TESTR\-HERALD 1 "2011\-12\-07" "14.1.1"
1
+ .TH TESTR\-HERALD 1 "2012\-01\-09" "14.1.2"
2
2
  .SH NAME
3
3
  .PP
4
4
  testr\-herald \- reports modified files
@@ -1,4 +1,4 @@
1
- .TH TESTR\-MASTER 1 "2011\-12\-07" "14.1.1"
1
+ .TH TESTR\-MASTER 1 "2012\-01\-09" "14.1.2"
2
2
  .SH NAME
3
3
  .PP
4
4
  testr\-master \- absorbs overhead and runs tests
@@ -1,4 +1,4 @@
1
- .TH TESTR 1 "2011\-12\-07" "14.1.1"
1
+ .TH TESTR 1 "2012\-01\-09" "14.1.2"
2
2
  .SH NAME
3
3
  .PP
4
4
  testr \- Continuous testing tool for Ruby
@@ -1,25 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  require "testr/version"
4
- require "binman/gemspec"
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = "testr"
8
- s.version = TestR::VERSION
6
+ s.name = "testr"
7
+ s.version = TestR::VERSION
9
8
  s.authors,
10
- s.email = File.read('LICENSE').scan(/Copyright \d+ (.+) <(.+?)>/).transpose
11
- s.homepage = "http://github.com/sunaku/testr"
12
- s.summary = "Continuous testing tool for Ruby"
13
- s.description = nil
9
+ s.email = File.read('LICENSE').scan(/Copyright \d+ (.+) <(.+?)>/).transpose
10
+ s.homepage = "http://github.com/sunaku/testr"
11
+ s.summary = "Continuous testing tool for Ruby"
12
+ s.description = nil
14
13
 
15
- s.files = `git ls-files`.split("\n") + Dir['man/**/*']
14
+ s.files = `git ls-files`.split("\n") + Dir["man/**/*"]
16
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
17
  s.require_paths = ["lib"]
19
18
 
20
- # specify any dependencies here; for example:
21
- # s.add_development_dependency "rspec"
22
- # s.add_runtime_dependency "rest-client"
19
+ s.add_runtime_dependency "binman", "~> 3"
23
20
  s.add_runtime_dependency "json", ">= 1.6.1"
24
21
  s.add_runtime_dependency "guard", ">= 0.8.4"
25
22
  s.add_runtime_dependency "diff-lcs", ">= 1.1.2"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testr
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.1
4
+ version: 14.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,11 +13,22 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2011-12-08 00:00:00.000000000 Z
16
+ date: 2012-01-10 00:00:00.000000000 Z
17
17
  dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: binman
20
+ requirement: &23731520 !ruby/object:Gem::Requirement
21
+ none: false
22
+ requirements:
23
+ - - ~>
24
+ - !ruby/object:Gem::Version
25
+ version: '3'
26
+ type: :runtime
27
+ prerelease: false
28
+ version_requirements: *23731520
18
29
  - !ruby/object:Gem::Dependency
19
30
  name: json
20
- requirement: &21787300 !ruby/object:Gem::Requirement
31
+ requirement: &23731020 !ruby/object:Gem::Requirement
21
32
  none: false
22
33
  requirements:
23
34
  - - ! '>='
@@ -25,10 +36,10 @@ dependencies:
25
36
  version: 1.6.1
26
37
  type: :runtime
27
38
  prerelease: false
28
- version_requirements: *21787300
39
+ version_requirements: *23731020
29
40
  - !ruby/object:Gem::Dependency
30
41
  name: guard
31
- requirement: &21786500 !ruby/object:Gem::Requirement
42
+ requirement: &23730560 !ruby/object:Gem::Requirement
32
43
  none: false
33
44
  requirements:
34
45
  - - ! '>='
@@ -36,10 +47,10 @@ dependencies:
36
47
  version: 0.8.4
37
48
  type: :runtime
38
49
  prerelease: false
39
- version_requirements: *21786500
50
+ version_requirements: *23730560
40
51
  - !ruby/object:Gem::Dependency
41
52
  name: diff-lcs
42
- requirement: &21785620 !ruby/object:Gem::Requirement
53
+ requirement: &23730100 !ruby/object:Gem::Requirement
43
54
  none: false
44
55
  requirements:
45
56
  - - ! '>='
@@ -47,40 +58,7 @@ dependencies:
47
58
  version: 1.1.2
48
59
  type: :runtime
49
60
  prerelease: false
50
- version_requirements: *21785620
51
- - !ruby/object:Gem::Dependency
52
- name: binman
53
- requirement: &20910280 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ~>
57
- - !ruby/object:Gem::Version
58
- version: '2'
59
- type: :runtime
60
- prerelease: false
61
- version_requirements: *20910280
62
- - !ruby/object:Gem::Dependency
63
- name: binman
64
- requirement: &20996280 !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: '2'
70
- type: :development
71
- prerelease: false
72
- version_requirements: *20996280
73
- - !ruby/object:Gem::Dependency
74
- name: md2man
75
- requirement: &20995240 !ruby/object:Gem::Requirement
76
- none: false
77
- requirements:
78
- - - ~>
79
- - !ruby/object:Gem::Version
80
- version: '1'
81
- type: :development
82
- prerelease: false
83
- version_requirements: *20995240
61
+ version_requirements: *23730100
84
62
  description: ''
85
63
  email:
86
64
  - sunaku@gmail.com