testr 14.0.2 → 14.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.markdown +13 -0
- data/README.markdown +7 -0
- data/bin/testr +1 -1
- data/lib/testr/config/rails.rb +6 -6
- data/lib/testr/version.rb +1 -1
- metadata +8 -8
data/HISTORY.markdown
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
------------------------------------------------------------------------------
|
2
|
+
Version 14.0.3 (2011-10-11)
|
3
|
+
------------------------------------------------------------------------------
|
4
|
+
|
5
|
+
Bug fixes:
|
6
|
+
|
7
|
+
* Forgot to migrate the `testr/config/rails` configuration helper to use the
|
8
|
+
new TestR configuration parameter names.
|
9
|
+
|
10
|
+
Housekeeping:
|
11
|
+
|
12
|
+
* README: add Gemfile howto for guard FS monitoring.
|
13
|
+
|
1
14
|
------------------------------------------------------------------------------
|
2
15
|
Version 14.0.2 (2011-10-11)
|
3
16
|
------------------------------------------------------------------------------
|
data/README.markdown
CHANGED
@@ -64,6 +64,13 @@ As a Ruby gem:
|
|
64
64
|
|
65
65
|
gem install testr
|
66
66
|
|
67
|
+
In a Gemfile:
|
68
|
+
|
69
|
+
gem 'testr', :require => false
|
70
|
+
gem 'rb-inotify', :require => false if RUBY_PLATFORM =~ /linux/i
|
71
|
+
gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i
|
72
|
+
gem 'rb-fchange', :require => false if RUBY_PLATFORM =~ /mingw/i
|
73
|
+
|
67
74
|
As a Git clone:
|
68
75
|
|
69
76
|
git clone git://github.com/sunaku/testr
|
data/bin/testr
CHANGED
@@ -7,7 +7,7 @@ require 'testr/client'
|
|
7
7
|
event, *details = JSON.load(line)
|
8
8
|
|
9
9
|
case event = event.to_sym
|
10
|
-
when :load then warn 'testr: Overhead absorbed
|
10
|
+
when :load then warn 'testr: Overhead absorbed. Ready for testing!'
|
11
11
|
when :over then warn 'testr: Reabsorbing changed overhead files...'
|
12
12
|
else
|
13
13
|
test_file, test_names, *details = details
|
data/lib/testr/config/rails.rb
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
require 'testr/config'
|
2
2
|
require 'active_support/inflector'
|
3
3
|
|
4
|
-
TestR::Config.
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
TestR::Config.reabsorb_file_greps.push(
|
5
|
+
%r<^config/.+\.(rb|yml)$>,
|
6
|
+
%r<^db/schema\.rb$>,
|
7
|
+
%r<^Gemfile\.lock$>
|
8
8
|
)
|
9
9
|
|
10
|
-
TestR::Config.
|
10
|
+
TestR::Config.test_file_globbers[%r<^(app|lib|test|spec)/.+\.rb$>] =
|
11
11
|
lambda do |path|
|
12
12
|
base = File.basename(path, '.rb')
|
13
13
|
poly = ActiveSupport::Inflector.pluralize(base)
|
14
14
|
"{test,spec}/**/{#{base},#{poly}_*}_{test,spec}.rb"
|
15
15
|
end
|
16
16
|
|
17
|
-
TestR::Config.
|
17
|
+
TestR::Config.test_file_globbers[%r<^(test|spec)/factories/.+_factory\.rb$>] =
|
18
18
|
lambda do |path|
|
19
19
|
base = File.basename(path, '_factory.rb')
|
20
20
|
poly = ActiveSupport::Inflector.pluralize(base)
|
data/lib/testr/version.rb
CHANGED
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.0.
|
4
|
+
version: 14.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,11 +13,11 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2011-10-
|
16
|
+
date: 2011-10-12 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: json
|
20
|
-
requirement: &
|
20
|
+
requirement: &15214300 !ruby/object:Gem::Requirement
|
21
21
|
none: false
|
22
22
|
requirements:
|
23
23
|
- - ! '>='
|
@@ -25,10 +25,10 @@ dependencies:
|
|
25
25
|
version: 1.6.1
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
|
-
version_requirements: *
|
28
|
+
version_requirements: *15214300
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: guard
|
31
|
-
requirement: &
|
31
|
+
requirement: &15213320 !ruby/object:Gem::Requirement
|
32
32
|
none: false
|
33
33
|
requirements:
|
34
34
|
- - ! '>='
|
@@ -36,10 +36,10 @@ dependencies:
|
|
36
36
|
version: 0.8.4
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
|
-
version_requirements: *
|
39
|
+
version_requirements: *15213320
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: diff-lcs
|
42
|
-
requirement: &
|
42
|
+
requirement: &15212380 !ruby/object:Gem::Requirement
|
43
43
|
none: false
|
44
44
|
requirements:
|
45
45
|
- - ! '>='
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: 1.1.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
|
-
version_requirements: *
|
50
|
+
version_requirements: *15212380
|
51
51
|
description: ''
|
52
52
|
email:
|
53
53
|
- sunaku@gmail.com
|