testr 14.1.0 → 14.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.markdown +31 -0
- data/README.markdown +29 -10
- data/Rakefile +0 -1
- data/bin/testr +6 -5
- data/bin/testr-driver +5 -5
- data/bin/testr-herald +3 -3
- data/bin/testr-master +5 -5
- data/lib/testr/config.rb +9 -7
- data/lib/testr/driver.rb +1 -1
- data/lib/testr/server.rb +2 -2
- data/lib/testr/version.rb +1 -1
- data/man/man1/testr-driver.1 +19 -18
- data/man/man1/testr-herald.1 +7 -7
- data/man/man1/testr-master.1 +17 -18
- data/man/man1/testr.1 +12 -12
- data/testr.gemspec +1 -9
- metadata +19 -19
data/HISTORY.markdown
CHANGED
@@ -1,3 +1,34 @@
|
|
1
|
+
------------------------------------------------------------------------------
|
2
|
+
Version 14.1.1 (2011-12-07)
|
3
|
+
------------------------------------------------------------------------------
|
4
|
+
|
5
|
+
Bug fixes:
|
6
|
+
|
7
|
+
* Do not fail when given test file no longer exists.
|
8
|
+
|
9
|
+
* Make xUnit `--name` option regexp case-insensitive.
|
10
|
+
|
11
|
+
* RSpec does not accept regexp for `--example` option;
|
12
|
+
see https://github.com/rspec/rspec-core/issues/445
|
13
|
+
and https://github.com/dchelimsky/rspec/issues/44
|
14
|
+
|
15
|
+
* Ruby 187 does not have Symbol#upcase() method.
|
16
|
+
|
17
|
+
Housekeeping:
|
18
|
+
|
19
|
+
* README: add another SQLite3 error to known issues.
|
20
|
+
Thanks to Luke Wendling for contributing this patch.
|
21
|
+
|
22
|
+
* README: add a section explaining usage and theory.
|
23
|
+
|
24
|
+
* README: show example earlier in factory_girl tip.
|
25
|
+
|
26
|
+
* README: update lines of code statistic: 372 SLOC.
|
27
|
+
|
28
|
+
* Better variable naming for self-documentation.
|
29
|
+
|
30
|
+
* Upgrade to binman 2.0.0 for UNIX man pages.
|
31
|
+
|
1
32
|
------------------------------------------------------------------------------
|
2
33
|
Version 14.1.0 (2011-11-03)
|
3
34
|
------------------------------------------------------------------------------
|
data/README.markdown
CHANGED
@@ -28,7 +28,7 @@ Features
|
|
28
28
|
|
29
29
|
* Configurable through a Ruby script in your current working directory.
|
30
30
|
|
31
|
-
* Implemented in less than
|
31
|
+
* Implemented in less than 380 lines (SLOC) of pure Ruby code! :-)
|
32
32
|
|
33
33
|
------------------------------------------------------------------------------
|
34
34
|
Architecture
|
@@ -43,6 +43,23 @@ Following UNIX philosophy, TestR is made of simple text-based programs:
|
|
43
43
|
|
44
44
|
You can build your own custom TestR user interface by wrapping `testr-driver`!
|
45
45
|
|
46
|
+
------------------------------------------------------------------------------
|
47
|
+
Usage and theory of operation
|
48
|
+
------------------------------------------------------------------------------
|
49
|
+
|
50
|
+
Run `testr` to launch the command-line user interface for `testr-driver`. It
|
51
|
+
will present a menu of commands and then wait for you to input a command while
|
52
|
+
the driver waits for `testr-herald` to tell it about changes in your tests.
|
53
|
+
|
54
|
+
When the driver hears about changes in your test files, it tells the master to
|
55
|
+
fork a worker process to run the tests affected by those changes. This is all
|
56
|
+
performed automatically. But what if you want to manually run a test file?
|
57
|
+
|
58
|
+
You can re-run any test file by simply saving it! When you do, TestR tries to
|
59
|
+
figure out which tests inside your newly saved test file have changed (using
|
60
|
+
diff and regexps) and then attempts to run just those. To make it run *all*
|
61
|
+
tests in your saved file, simply save the file *again* without changing it.
|
62
|
+
|
46
63
|
------------------------------------------------------------------------------
|
47
64
|
Prerequisites
|
48
65
|
------------------------------------------------------------------------------
|
@@ -252,15 +269,15 @@ whenever you change an existing factory definition or create a new one.
|
|
252
269
|
|
253
270
|
Instead, use `at_exit()` to wait until (1) after the master process has forked
|
254
271
|
a worker process and (2) just before that worker process runs its test suite
|
255
|
-
(whose execution is started by your test framework's own `at_exit()` handler)
|
272
|
+
(whose execution is started by your test framework's own `at_exit()` handler):
|
273
|
+
|
274
|
+
require 'factory_girl'
|
275
|
+
at_exit { FactoryGirl.find_definitions unless $! }
|
256
276
|
|
257
277
|
This way, worker processes will pick up changes in your factories "for free"
|
258
278
|
whenever they (re)run your test files. Also, don't load your factories or do
|
259
279
|
anything else in your `at_exit()` handler if Ruby is exiting because of a
|
260
|
-
raised exception (denoted by the `$!` global variable in the snippet
|
261
|
-
|
262
|
-
require 'factory_girl'
|
263
|
-
at_exit { FactoryGirl.find_definitions unless $! }
|
280
|
+
raised exception (denoted by the `$!` global variable in the snippet above).
|
264
281
|
|
265
282
|
------------------------------------------------------------------------------
|
266
283
|
Known issues
|
@@ -277,12 +294,14 @@ Known issues
|
|
277
294
|
Otherwise, TestR will appear to ignore source-code changes in your
|
278
295
|
models, controllers, helpers, and other Ruby source files.
|
279
296
|
|
280
|
-
* SQLite3
|
281
|
-
https://github.com/
|
282
|
-
test files in parallel. You can work around this by using an [in-memory
|
283
|
-
adapter for SQLite3]( https://github.com/mvz/memory_test_fix ) or by using
|
297
|
+
* If SQLite3 raises one of the following errors, try using an [in-memory
|
298
|
+
adapter for SQLite3]( https://github.com/mvz/memory_test_fix ) or use
|
284
299
|
different database software (such as MySQL) for your test environment.
|
285
300
|
|
301
|
+
* SQLite3::BusyException: database is locked
|
302
|
+
|
303
|
+
* cannot start a transaction within a transaction
|
304
|
+
|
286
305
|
------------------------------------------------------------------------------
|
287
306
|
License
|
288
307
|
------------------------------------------------------------------------------
|
data/Rakefile
CHANGED
data/bin/testr
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
=begin
|
3
3
|
|
4
|
-
TESTR 1 "2011-
|
5
|
-
|
4
|
+
TESTR 1 "2011-12-07" "14.1.1"
|
5
|
+
=============================
|
6
6
|
|
7
7
|
NAME
|
8
8
|
----
|
@@ -52,14 +52,15 @@ require 'json'
|
|
52
52
|
require 'testr/client'
|
53
53
|
|
54
54
|
@driver = TestR::Client::Transceiver.new('testr-driver') do |line|
|
55
|
-
|
55
|
+
evstr, *details = JSON.load(line)
|
56
|
+
event = evstr.to_sym
|
56
57
|
|
57
|
-
case event
|
58
|
+
case event
|
58
59
|
when :load then warn 'testr: Overhead absorbed. Ready for testing!'
|
59
60
|
when :over then warn 'testr: Reabsorbing changed overhead files...'
|
60
61
|
else
|
61
62
|
test_file, test_names, *details = details
|
62
|
-
message = [
|
63
|
+
message = [evstr.upcase, test_file, test_names.inspect, details].join(' ')
|
63
64
|
|
64
65
|
color = case event
|
65
66
|
when :pass then "\e[34m%s\e[0m" # blue
|
data/bin/testr-driver
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
=begin
|
3
3
|
|
4
|
-
TESTR-DRIVER 1 "2011-
|
5
|
-
|
4
|
+
TESTR-DRIVER 1 "2011-12-07" "14.1.1"
|
5
|
+
====================================
|
6
6
|
|
7
7
|
NAME
|
8
8
|
----
|
9
9
|
|
10
|
-
testr-driver -
|
10
|
+
testr-driver - drives testr-master(1) and does bookkeeping
|
11
11
|
|
12
12
|
SYNOPSIS
|
13
13
|
--------
|
@@ -46,8 +46,8 @@ OPTIONS
|
|
46
46
|
FILES
|
47
47
|
-----
|
48
48
|
|
49
|
-
|
50
|
-
Ruby script
|
49
|
+
*.testr.rb*
|
50
|
+
Optional Ruby script for configuring testr(1).
|
51
51
|
|
52
52
|
SEE ALSO
|
53
53
|
--------
|
data/bin/testr-herald
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
=begin
|
3
3
|
|
4
|
-
TESTR-HERALD 1 "2011-
|
5
|
-
|
4
|
+
TESTR-HERALD 1 "2011-12-07" "14.1.1"
|
5
|
+
====================================
|
6
6
|
|
7
7
|
NAME
|
8
8
|
----
|
9
9
|
|
10
|
-
testr-herald -
|
10
|
+
testr-herald - reports modified files
|
11
11
|
|
12
12
|
SYNOPSIS
|
13
13
|
--------
|
data/bin/testr-master
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
=begin
|
3
3
|
|
4
|
-
TESTR-MASTER 1 "2011-
|
5
|
-
|
4
|
+
TESTR-MASTER 1 "2011-12-07" "14.1.1"
|
5
|
+
====================================
|
6
6
|
|
7
7
|
NAME
|
8
8
|
----
|
9
9
|
|
10
|
-
testr-master - absorbs
|
10
|
+
testr-master - absorbs overhead and runs tests
|
11
11
|
|
12
12
|
SYNOPSIS
|
13
13
|
--------
|
@@ -57,8 +57,8 @@ OPTIONS
|
|
57
57
|
FILES
|
58
58
|
-----
|
59
59
|
|
60
|
-
|
61
|
-
Ruby script
|
60
|
+
*.testr.rb*
|
61
|
+
Optional Ruby script for configuring testr(1).
|
62
62
|
|
63
63
|
SEE ALSO
|
64
64
|
--------
|
data/lib/testr/config.rb
CHANGED
@@ -46,14 +46,16 @@ module TestR
|
|
46
46
|
# tell testing framework to only run the named tests inside the test file
|
47
47
|
lambda do |worker_number, log_file, test_file, test_names|
|
48
48
|
unless test_names.empty?
|
49
|
-
regexp = test_names.map {|name|
|
50
|
-
# sanitize string interpolations and invalid method name characters
|
51
|
-
name.gsub(/\#\{.*?\}/, ' ').strip.gsub(/\W+/, '.*')
|
52
|
-
}.join('|')
|
53
|
-
|
54
49
|
case File.basename(test_file)
|
55
|
-
when /(\b|_)test(\b|_)/
|
56
|
-
|
50
|
+
when /(\b|_)test(\b|_)/ # Test::Unit
|
51
|
+
ARGV.push '--name', "/(?i:#{
|
52
|
+
test_names.map do |name|
|
53
|
+
# elide string interpolation and invalid method name characters
|
54
|
+
name.gsub(/\#\{.*?\}/, ' ').strip.gsub(/\W+/, '.*')
|
55
|
+
end.join('|')
|
56
|
+
})/"
|
57
|
+
when /(\b|_)spec(\b|_)/ # RSpec
|
58
|
+
test_names.each {|name| ARGV.push '--example', name }
|
57
59
|
end
|
58
60
|
end
|
59
61
|
end
|
data/lib/testr/driver.rb
CHANGED
@@ -104,7 +104,7 @@ private
|
|
104
104
|
end
|
105
105
|
|
106
106
|
def run_test_file file
|
107
|
-
|
107
|
+
if File.exist? file and not @waiting_test_files.include? file
|
108
108
|
@waiting_test_files.push file
|
109
109
|
@master.send [:test, file, find_changed_test_names(file)]
|
110
110
|
end
|
data/lib/testr/server.rb
CHANGED
data/lib/testr/version.rb
CHANGED
data/man/man1/testr-driver.1
CHANGED
@@ -1,47 +1,48 @@
|
|
1
|
-
.TH TESTR
|
1
|
+
.TH TESTR\-DRIVER 1 "2011\-12\-07" "14.1.1"
|
2
2
|
.SH NAME
|
3
3
|
.PP
|
4
|
-
testr
|
4
|
+
testr\-driver \- drives
|
5
|
+
.BR testr\-master (1)
|
6
|
+
and does bookkeeping
|
5
7
|
.SH SYNOPSIS
|
6
8
|
.PP
|
7
|
-
\
|
9
|
+
\fB\fCtestr-driver\fR [\fIOPTION\fP]...
|
8
10
|
.SH DESCRIPTION
|
9
11
|
.PP
|
10
|
-
This program reads the following single
|
12
|
+
This program reads the following single\-line commands (JSON arrays) from its
|
11
13
|
standard input stream and performs the respective actions as described below.
|
12
14
|
It also funnels the standard output stream of
|
13
|
-
.BR testr
|
15
|
+
.BR testr\-master (1)
|
14
16
|
into its own.
|
15
17
|
.TP
|
16
|
-
\fB["run_all_test_files"]\
|
18
|
+
\fB\fC["run_all_test_files"]\fR
|
17
19
|
Runs all test files found within and beneath the current working directory.
|
18
20
|
.TP
|
19
|
-
\fB["stop_running_test_files"]\
|
21
|
+
\fB\fC["stop_running_test_files"]\fR
|
20
22
|
Stops any test files that are currently running.
|
21
23
|
.TP
|
22
|
-
\fB["rerun_passed_test_files"]\
|
24
|
+
\fB\fC["rerun_passed_test_files"]\fR
|
23
25
|
Runs all test files that have passed during their most recent run.
|
24
26
|
.TP
|
25
|
-
\fB["reabsorb_overhead_files"]\
|
27
|
+
\fB\fC["reabsorb_overhead_files"]\fR
|
26
28
|
Stops any test files that are currently running, reabsorbs the test
|
27
29
|
execution overhead, and resumes running those interrupted test files.
|
28
30
|
.TP
|
29
|
-
\fB["quit"]\
|
31
|
+
\fB\fC["quit"]\fR
|
30
32
|
Stops all tests that are currently running and exits.
|
31
33
|
.SH OPTIONS
|
32
34
|
.TP
|
33
|
-
\fB-h\
|
35
|
+
\fB\fC-h\fR, \fB\fC--help\fR
|
34
36
|
Display this help manual using
|
35
37
|
.BR man (1).
|
36
38
|
.SH FILES
|
37
39
|
.TP
|
38
|
-
\
|
39
|
-
Ruby script
|
40
|
-
.BR testr (1)
|
41
|
-
is run.
|
40
|
+
\fI.testr.rb\fP
|
41
|
+
Optional Ruby script for configuring
|
42
|
+
.BR testr (1).
|
42
43
|
.SH SEE ALSO
|
43
44
|
.PP
|
44
45
|
.BR testr (1),
|
45
|
-
.BR testr
|
46
|
-
.BR testr
|
47
|
-
.BR testr
|
46
|
+
.BR testr\-driver (1),
|
47
|
+
.BR testr\-master (1),
|
48
|
+
.BR testr\-herald (1)
|
data/man/man1/testr-herald.1
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
.TH TESTR
|
1
|
+
.TH TESTR\-HERALD 1 "2011\-12\-07" "14.1.1"
|
2
2
|
.SH NAME
|
3
3
|
.PP
|
4
|
-
testr
|
4
|
+
testr\-herald \- reports modified files
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.PP
|
7
|
-
\
|
7
|
+
\fB\fCtestr-herald\fR [\fIOPTION\fP]...
|
8
8
|
.SH DESCRIPTION
|
9
9
|
.PP
|
10
10
|
This program monitors the current working directory and prints relative paths
|
11
11
|
of modified files, one per line, to the standard output stream.
|
12
12
|
.SH OPTIONS
|
13
13
|
.TP
|
14
|
-
\fB-h\
|
14
|
+
\fB\fC-h\fR, \fB\fC--help\fR
|
15
15
|
Display this help manual using
|
16
16
|
.BR man (1).
|
17
17
|
.SH SEE ALSO
|
18
18
|
.PP
|
19
19
|
.BR testr (1),
|
20
|
-
.BR testr
|
21
|
-
.BR testr
|
22
|
-
.BR testr
|
20
|
+
.BR testr\-driver (1),
|
21
|
+
.BR testr\-master (1),
|
22
|
+
.BR testr\-herald (1)
|
data/man/man1/testr-master.1
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
.TH TESTR
|
1
|
+
.TH TESTR\-MASTER 1 "2011\-12\-07" "14.1.1"
|
2
2
|
.SH NAME
|
3
3
|
.PP
|
4
|
-
testr
|
4
|
+
testr\-master \- absorbs overhead and runs tests
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.PP
|
7
|
-
\
|
7
|
+
\fB\fCtestr-master\fR [\fIOPTION\fP]...
|
8
8
|
.SH DESCRIPTION
|
9
9
|
.PP
|
10
|
-
This program reads the following single
|
10
|
+
This program reads the following single\-line commands (JSON arrays) from its
|
11
11
|
standard input stream and performs the respective actions as described below.
|
12
12
|
.TP
|
13
|
-
\fB["load",\
|
13
|
+
\fB\fC["load",\fR \fIpaths\fP\fB\fC,\fR \fIfiles\fP\fB\fC]\fR
|
14
14
|
Adds the given array of \fIpaths\fP to Ruby's $LOAD_PATH, loads the given array
|
15
15
|
of \fIfiles\fP after removing their ".rb" file extension if present, and prints
|
16
16
|
the given command line to the standard output stream.
|
17
17
|
.TP
|
18
|
-
\fB["test",\
|
18
|
+
\fB\fC["test",\fR \fItest_file\fP\fB\fC,\fR \fItest_names\fP\fB\fC]\fR
|
19
19
|
Runs the given \fItest_file\fP in a forked child process while instructing your
|
20
20
|
chosen unit testing framework (loaded by your test execution overhead) to
|
21
21
|
only run those tests that are named in the given array of \fItest_names\fP.
|
@@ -23,34 +23,33 @@ only run those tests that are named in the given array of \fItest_names\fP.
|
|
23
23
|
Prints the given command line to the standard output stream immediately
|
24
24
|
after forking the child process.
|
25
25
|
.IP
|
26
|
-
Prints the given command line, modified with \fB"pass"\
|
27
|
-
or \fB"fail"\
|
26
|
+
Prints the given command line, modified with \fB\fC"pass"\fR (if the test passed)
|
27
|
+
or \fB\fC"fail"\fR (if the test failed) in place of \fB\fC"test"\fR, to the standard
|
28
28
|
output stream after the forked child process finishes.
|
29
29
|
.IP
|
30
30
|
The standard output and error streams of the forked child process are
|
31
31
|
redirected to a file whose path and name are the same as that of the test
|
32
32
|
file being run by the forked child process but with ".log" appended.
|
33
33
|
.TP
|
34
|
-
\fB["stop"]\
|
34
|
+
\fB\fC["stop"]\fR
|
35
35
|
Stops all tests that are currently running and prints the given command line
|
36
36
|
to the standard output stream.
|
37
37
|
.TP
|
38
|
-
\fB["quit"]\
|
38
|
+
\fB\fC["quit"]\fR
|
39
39
|
Stops all tests that are currently running and exits.
|
40
40
|
.SH OPTIONS
|
41
41
|
.TP
|
42
|
-
\fB-h\
|
42
|
+
\fB\fC-h\fR, \fB\fC--help\fR
|
43
43
|
Display this help manual using
|
44
44
|
.BR man (1).
|
45
45
|
.SH FILES
|
46
46
|
.TP
|
47
|
-
\
|
48
|
-
Ruby script
|
49
|
-
.BR testr (1)
|
50
|
-
is run.
|
47
|
+
\fI.testr.rb\fP
|
48
|
+
Optional Ruby script for configuring
|
49
|
+
.BR testr (1).
|
51
50
|
.SH SEE ALSO
|
52
51
|
.PP
|
53
52
|
.BR testr (1),
|
54
|
-
.BR testr
|
55
|
-
.BR testr
|
56
|
-
.BR testr
|
53
|
+
.BR testr\-driver (1),
|
54
|
+
.BR testr\-master (1),
|
55
|
+
.BR testr\-herald (1)
|
data/man/man1/testr.1
CHANGED
@@ -1,40 +1,40 @@
|
|
1
|
-
.TH TESTR 1 "2011
|
1
|
+
.TH TESTR 1 "2011\-12\-07" "14.1.1"
|
2
2
|
.SH NAME
|
3
3
|
.PP
|
4
4
|
testr \- Continuous testing tool for Ruby
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.PP
|
7
|
-
\
|
7
|
+
\fB\fCtestr\fR [\fIOPTION\fP]...
|
8
8
|
.SH DESCRIPTION
|
9
9
|
.PP
|
10
|
-
This program is a simple command
|
11
|
-
.BR testr
|
10
|
+
This program is a simple command\-line user interface for
|
11
|
+
.BR testr\-driver (1).
|
12
12
|
It
|
13
13
|
demonstrates how the components of TestR work together and also serves as an
|
14
14
|
example of how you can create your own TestR user interface.
|
15
15
|
.PP
|
16
|
-
When run, it presents you with a menu of single
|
16
|
+
When run, it presents you with a menu of single\-character commands that you
|
17
17
|
can enter, loads the test execution overhead into
|
18
|
-
.BR testr
|
18
|
+
.BR testr\-master (1),
|
19
19
|
and
|
20
20
|
finally notifies you when the master is ready to run test files.
|
21
21
|
.PP
|
22
22
|
It also launches
|
23
|
-
.BR testr
|
23
|
+
.BR testr\-herald (1)
|
24
24
|
alongside
|
25
|
-
.BR testr
|
25
|
+
.BR testr\-master (1).
|
26
26
|
When the herald
|
27
27
|
reports a modified file that belongs to the test execution overhead, this
|
28
28
|
program notifies you accordingly and then replaces the current master with a
|
29
29
|
new one that will absorb the modified test execution overhead into itself.
|
30
30
|
.SH OPTIONS
|
31
31
|
.TP
|
32
|
-
\fB-h\
|
32
|
+
\fB\fC-h\fR, \fB\fC--help\fR
|
33
33
|
Display this help manual using
|
34
34
|
.BR man (1).
|
35
35
|
.SH SEE ALSO
|
36
36
|
.PP
|
37
37
|
.BR testr (1),
|
38
|
-
.BR testr
|
39
|
-
.BR testr
|
40
|
-
.BR testr
|
38
|
+
.BR testr\-driver (1),
|
39
|
+
.BR testr\-master (1),
|
40
|
+
.BR testr\-herald (1)
|
data/testr.gemspec
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
3
3
|
require "testr/version"
|
4
|
+
require "binman/gemspec"
|
4
5
|
|
5
6
|
Gem::Specification.new do |s|
|
6
7
|
s.name = "testr"
|
@@ -22,13 +23,4 @@ Gem::Specification.new do |s|
|
|
22
23
|
s.add_runtime_dependency "json", ">= 1.6.1"
|
23
24
|
s.add_runtime_dependency "guard", ">= 0.8.4"
|
24
25
|
s.add_runtime_dependency "diff-lcs", ">= 1.1.2"
|
25
|
-
|
26
|
-
# add binman and all of its development dependencies
|
27
|
-
binman_gem = ['binman', '~> 1']
|
28
|
-
s.add_runtime_dependency(*binman_gem)
|
29
|
-
binman_vers = Gem::Dependency.new(*binman_gem)
|
30
|
-
binman_spec = Gem::SpecFetcher.fetcher.fetch(binman_vers).flatten.first
|
31
|
-
binman_spec.development_dependencies.unshift(binman_vers).each do |dep|
|
32
|
-
s.add_development_dependency dep.name, dep.requirements_list
|
33
|
-
end
|
34
26
|
end
|
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.
|
4
|
+
version: 14.1.1
|
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-
|
16
|
+
date: 2011-12-08 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: json
|
20
|
-
requirement: &
|
20
|
+
requirement: &21787300 !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: *21787300
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: guard
|
31
|
-
requirement: &
|
31
|
+
requirement: &21786500 !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: *21786500
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: diff-lcs
|
42
|
-
requirement: &
|
42
|
+
requirement: &21785620 !ruby/object:Gem::Requirement
|
43
43
|
none: false
|
44
44
|
requirements:
|
45
45
|
- - ! '>='
|
@@ -47,40 +47,40 @@ dependencies:
|
|
47
47
|
version: 1.1.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
|
-
version_requirements: *
|
50
|
+
version_requirements: *21785620
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: binman
|
53
|
-
requirement: &
|
53
|
+
requirement: &20910280 !ruby/object:Gem::Requirement
|
54
54
|
none: false
|
55
55
|
requirements:
|
56
56
|
- - ~>
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
58
|
+
version: '2'
|
59
59
|
type: :runtime
|
60
60
|
prerelease: false
|
61
|
-
version_requirements: *
|
61
|
+
version_requirements: *20910280
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: binman
|
64
|
-
requirement: &
|
64
|
+
requirement: &20996280 !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '2'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
|
-
version_requirements: *
|
72
|
+
version_requirements: *20996280
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
|
-
name:
|
75
|
-
requirement: &
|
74
|
+
name: md2man
|
75
|
+
requirement: &20995240 !ruby/object:Gem::Requirement
|
76
76
|
none: false
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - ~>
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
80
|
+
version: '1'
|
81
81
|
type: :development
|
82
82
|
prerelease: false
|
83
|
-
version_requirements: *
|
83
|
+
version_requirements: *20995240
|
84
84
|
description: ''
|
85
85
|
email:
|
86
86
|
- sunaku@gmail.com
|