minitest-sprint 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -1
- data.tar.gz.sig +0 -0
- data/History.rdoc +6 -0
- data/Manifest.txt +1 -0
- data/README.rdoc +4 -0
- data/Rakefile +2 -0
- data/bin/minitest +4 -8
- data/lib/minitest/path_expander.rb +35 -0
- data/lib/minitest/sprint.rb +1 -1
- metadata +17 -17
- metadata.gz.sig +3 -1
- data/.gemtest +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87a453914857be99edea0f42d88acf8d584a0f90
|
4
|
+
data.tar.gz: 94e31f6498013a5fde7890e2057b6cd9e6f2e4d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c5e806585530a98a54d17670aea000f6c901858a5c00bd67fe3c079a266123de961d5708cc62e294ec0d381f0a6e6f320ed7eb5c54aaf357b43c0bf33f1052b
|
7
|
+
data.tar.gz: c1eb90b0cfbf8ced1309b29406a838eb1301ed4669579da59de012fe7022d1802c02c2dba4b4091ed7883a8965a7bfa7ad445ffbd3e024b6413081c6e300a782
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
�P�ěY:*ߛ�ź|R�f�_�Ք���:Y��B&OK�Q6l� -�+��f?�#9L�VBu�#������K��Jh;�f�>�&W����49�*n
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
@@ -31,6 +31,10 @@ method names. When running tests, just hit tab after -n. For example:
|
|
31
31
|
* Includes extra plugins to print out failure re-run commands.
|
32
32
|
* One for the minitest commandline runner. (--binstub)
|
33
33
|
* One for rake test runners. (--rake)
|
34
|
+
* Uses path_expander, so you can use:
|
35
|
+
* dir_arg -- expand a directory automatically
|
36
|
+
* @file_of_args -- persist arguments in a file
|
37
|
+
* -path_to_subtract -- ignore intersecting subsets of files/directories
|
34
38
|
|
35
39
|
== SYNOPSIS:
|
36
40
|
|
data/Rakefile
CHANGED
data/bin/minitest
CHANGED
@@ -1,15 +1,11 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
$LOAD_PATH.unshift "test"
|
4
|
+
$LOAD_PATH.unshift "lib"
|
5
5
|
|
6
6
|
require "minitest/autorun"
|
7
|
+
require "minitest/path_expander"
|
7
8
|
|
8
|
-
|
9
|
-
files = Dir["test/**/{test_*,*_test}.rb"] if files.empty?
|
10
|
-
|
11
|
-
ARGV.replace args
|
12
|
-
|
13
|
-
files.each do |f|
|
9
|
+
Minitest::PathExpander.new.process.each do |f|
|
14
10
|
require "./#{f}"
|
15
11
|
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require "path_expander"
|
2
|
+
|
3
|
+
module Minitest; end # :nodoc:
|
4
|
+
|
5
|
+
##
|
6
|
+
# Minitest's PathExpander to find and filter tests.
|
7
|
+
|
8
|
+
class Minitest::PathExpander < PathExpander
|
9
|
+
TEST_GLOB = "**/{test_*,*_test,spec_*,*_spec}.rb" # :nodoc:
|
10
|
+
|
11
|
+
def initialize args = ARGV # :nodoc:
|
12
|
+
args << "test" if args.empty?
|
13
|
+
super args, TEST_GLOB
|
14
|
+
end
|
15
|
+
|
16
|
+
##
|
17
|
+
# Overrides PathExpander#process_flags to filter out ruby flags
|
18
|
+
# from minitest flags. Only supports -I<paths>, -d, and -w for
|
19
|
+
# ruby.
|
20
|
+
|
21
|
+
def process_flags flags
|
22
|
+
flags.reject { |flag| # all hits are truthy, so this works out well
|
23
|
+
case flag
|
24
|
+
when /^-I(.*)/ then
|
25
|
+
$LOAD_PATH.concat $1.split(/:/)
|
26
|
+
when /^-d/ then
|
27
|
+
$DEBUG = true
|
28
|
+
when /^-w/ then
|
29
|
+
$VERBOSE = true
|
30
|
+
else
|
31
|
+
false
|
32
|
+
end
|
33
|
+
}
|
34
|
+
end
|
35
|
+
end
|
data/lib/minitest/sprint.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-sprint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTE1MDkxOTIwNTEyMloXDTE2MDkxODIwNTEyMlowRTETMBEGA1UE
|
16
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -22,29 +22,29 @@ cert_chain:
|
|
22
22
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
23
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
24
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
AQB+Hx8xUgrpZa4P8H8gR8zme5kISwQrG80MbpqJV6/G3/ZicRFhN5sjwu0uHGue
|
26
|
+
bd9Cymf6oIRwHVarJux2M32T6bL07Hmi07w2QaPc3MnMKB/D46SRZ2JSSGPFRBTc
|
27
|
+
SilobMRoGs/7B15uGFUEnNrCB/ltMqhwwSx1r++UQPfeySHEV9uqu03E5Vb7J37O
|
28
|
+
2Er6PLXHRiYsIycD1LkMi6YnixdITRHmrqJYE2rsjaIfpIehiusVAPHkNf7qbpHq
|
29
|
+
qx3h45R1CAsObX0SQDIT+rRbQrtKz1GHIZTOFYvEJjUY1XmRTZupD3CJ8Q7sDqSy
|
30
|
+
NLq5jm1fq6Y9Uolu3RJbmycf
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2016-05-16 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
35
|
+
name: path_expander
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
-
type: :
|
40
|
+
version: '1.0'
|
41
|
+
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '1.0'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rdoc
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,14 +65,14 @@ dependencies:
|
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
68
|
+
version: '3.15'
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
75
|
+
version: '3.15'
|
76
76
|
description: |-
|
77
77
|
Runs (Get it? It's fast!) your tests and makes it easier to rerun individual
|
78
78
|
failures.
|
@@ -87,7 +87,6 @@ extra_rdoc_files:
|
|
87
87
|
- README.rdoc
|
88
88
|
files:
|
89
89
|
- .autotest
|
90
|
-
- .gemtest
|
91
90
|
- History.rdoc
|
92
91
|
- Manifest.txt
|
93
92
|
- README.rdoc
|
@@ -95,6 +94,7 @@ files:
|
|
95
94
|
- bin/minitest
|
96
95
|
- lib/minitest/binstub_reporter.rb
|
97
96
|
- lib/minitest/complete.rb
|
97
|
+
- lib/minitest/path_expander.rb
|
98
98
|
- lib/minitest/rake_reporter.rb
|
99
99
|
- lib/minitest/sprint.rb
|
100
100
|
- lib/minitest/sprint_plugin.rb
|
metadata.gz.sig
CHANGED
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
D��9z�
|
2
|
+
*��#�|T�Ǹ�}�\?i�<�#S�-vkbż4w:�K���'�7JIr��AU�$����?�7 �D
��)�'��y�0�99661���r�uI�Q'4iE57��6-������`�ZH��d[�u*����x��!4Oo
|
3
|
+
��r�r,s�T�%+==���4G븋0��s(�Y�7�̾��YȞ�^������'��B����-�d��a�$b-H�k�ƅu�`@w���n���ҼR��+
|
data/.gemtest
DELETED
File without changes
|