minitest-sprint 1.1.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +2 -1
- data/History.rdoc +22 -1
- data/Manifest.txt +1 -0
- data/README.rdoc +4 -0
- data/Rakefile +2 -0
- data/bin/minitest +2 -12
- data/lib/minitest/binstub_reporter.rb +1 -1
- data/lib/minitest/path_expander.rb +34 -0
- data/lib/minitest/rake_reporter.rb +1 -1
- data/lib/minitest/sprint.rb +13 -1
- data.tar.gz.sig +0 -0
- metadata +40 -34
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b41b1bfaf2a97919bf828fc3c2f16ccec95586fb8c235b27b3f3fad24f7167ab
|
4
|
+
data.tar.gz: e84c24a78164f343fafecd2c7a3163640d809766a65d670ae745667817a3d8a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a8787ebc703cf777efc0d9813729cfe3fe633258b3adc9852ae3a5edd67588760f84b6e781b59b7d97d2400774609a84f8cbb975cc4245ce18de307fdad1ce0
|
7
|
+
data.tar.gz: 2fa35f00ce315c2018271cd262bd01c3e5104600a21c3b4d1727c6d4aeff361d42a8a3e4e3b6317cd6c702f1079ce6bb55f4fad1821e051c6e9626ab0f6f23be
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
�zUD$RM�{tuO7��E�v�I
|
2
|
+
���0.� ���Y�>�=��<*F%����ip��|�b/�ٌ�5����;��0�"r�W�z�k�-I�b��y�CEg�:��5��ݵ�3�[4����,��5@�/&��1�.�������F��h�V����ɱ�W��a�.�
|
data/History.rdoc
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
=== 1.2.2 / 2022-06-20
|
2
|
+
|
3
|
+
* 1 bug fix:
|
4
|
+
|
5
|
+
* Fixed print_list for --binstub and --rake. (adam12)
|
6
|
+
|
7
|
+
=== 1.2.1 / 2019-09-22
|
8
|
+
|
9
|
+
* 1 minor enhancement:
|
10
|
+
|
11
|
+
* Refactored and moved bin/minitest to Minitest::Sprint.run.
|
12
|
+
|
13
|
+
* 1 bug fix:
|
14
|
+
|
15
|
+
* Fixed a bug where having only options would prevent default "test" directory arg.
|
16
|
+
|
17
|
+
=== 1.2.0 / 2016-05-16
|
18
|
+
|
19
|
+
* 1 minor enhancement:
|
20
|
+
|
21
|
+
* Switched to path_expander to deal with cmdline args. See path_expander for details.
|
22
|
+
|
1
23
|
=== 1.1.1 / 2015-08-10
|
2
24
|
|
3
25
|
* 1 bug fix:
|
@@ -16,4 +38,3 @@
|
|
16
38
|
* 1 major enhancement
|
17
39
|
|
18
40
|
* Birthday!
|
19
|
-
|
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,5 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
|
3
|
-
|
4
|
-
$:.unshift "lib"
|
3
|
+
require "minitest/sprint"
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
files, args = ARGV.partition { |f| File.exist? f }
|
9
|
-
files = Dir["test/**/{test_*,*_test}.rb"] if files.empty?
|
10
|
-
|
11
|
-
ARGV.replace args
|
12
|
-
|
13
|
-
files.each do |f|
|
14
|
-
require "./#{f}"
|
15
|
-
end
|
5
|
+
Minitest::Sprint.run
|
@@ -0,0 +1,34 @@
|
|
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
|
+
super args, TEST_GLOB, "test"
|
13
|
+
end
|
14
|
+
|
15
|
+
##
|
16
|
+
# Overrides PathExpander#process_flags to filter out ruby flags
|
17
|
+
# from minitest flags. Only supports -I<paths>, -d, and -w for
|
18
|
+
# ruby.
|
19
|
+
|
20
|
+
def process_flags flags
|
21
|
+
flags.reject { |flag| # all hits are truthy, so this works out well
|
22
|
+
case flag
|
23
|
+
when /^-I(.*)/ then
|
24
|
+
$LOAD_PATH.concat $1.split(/:/)
|
25
|
+
when /^-d/ then
|
26
|
+
$DEBUG = true
|
27
|
+
when /^-w/ then
|
28
|
+
$VERBOSE = true
|
29
|
+
else
|
30
|
+
false
|
31
|
+
end
|
32
|
+
}
|
33
|
+
end
|
34
|
+
end
|
data/lib/minitest/sprint.rb
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
require "minitest/autorun"
|
2
|
+
require "minitest/path_expander"
|
3
|
+
|
4
|
+
$LOAD_PATH.unshift "test"
|
5
|
+
$LOAD_PATH.unshift "lib"
|
6
|
+
|
1
7
|
class Minitest::Sprint
|
2
|
-
VERSION = "1.
|
8
|
+
VERSION = "1.2.2"
|
9
|
+
|
10
|
+
def self.run args = ARGV
|
11
|
+
Minitest::PathExpander.new(args).process.each do |f|
|
12
|
+
require "./#{f}"
|
13
|
+
end
|
14
|
+
end
|
3
15
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTIxMTIyMzIzMTkwNFoXDTIyMTIyMzIzMTkwNFowRTETMBEGA1UE
|
16
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -21,58 +21,64 @@ cert_chain:
|
|
21
21
|
GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
|
22
22
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
23
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
|
-
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
24
|
+
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
25
|
+
AQCKB5jfsuSnKb+t/Wrh3UpdkmX7TrEsjVmERC0pPqzQ5GQJgmEXDD7oMgaKXaAq
|
26
|
+
x2m+KSZDrqk7c8uho5OX6YMqg4KdxehfSLqqTZGoeV78qwf/jpPQZKTf+W9gUSJh
|
27
|
+
zsWpo4K50MP+QtdSbKXZwjAafpQ8hK0MnnZ/aeCsW9ov5vdXpYbf3dpg6ADXRGE7
|
28
|
+
lQY2y1tJ5/chqu6h7dQmnm2ABUqx9O+JcN9hbCYoA5i/EeubUEtFIh2w3SpO6YfB
|
29
|
+
JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V
|
30
|
+
YsuyUzsMz6GQA4khyaMgKNSD
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2022-06-20 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.1'
|
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.1'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rdoc
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '4.0'
|
55
|
+
- - "<"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '7'
|
55
58
|
type: :development
|
56
59
|
prerelease: false
|
57
60
|
version_requirements: !ruby/object:Gem::Requirement
|
58
61
|
requirements:
|
59
|
-
- -
|
62
|
+
- - ">="
|
60
63
|
- !ruby/object:Gem::Version
|
61
64
|
version: '4.0'
|
65
|
+
- - "<"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '7'
|
62
68
|
- !ruby/object:Gem::Dependency
|
63
69
|
name: hoe
|
64
70
|
requirement: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
|
-
- - ~>
|
72
|
+
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
74
|
+
version: '3.23'
|
69
75
|
type: :development
|
70
76
|
prerelease: false
|
71
77
|
version_requirements: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- - ~>
|
79
|
+
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
81
|
+
version: '3.23'
|
76
82
|
description: |-
|
77
83
|
Runs (Get it? It's fast!) your tests and makes it easier to rerun individual
|
78
84
|
failures.
|
@@ -86,8 +92,7 @@ extra_rdoc_files:
|
|
86
92
|
- Manifest.txt
|
87
93
|
- README.rdoc
|
88
94
|
files:
|
89
|
-
- .autotest
|
90
|
-
- .gemtest
|
95
|
+
- ".autotest"
|
91
96
|
- History.rdoc
|
92
97
|
- Manifest.txt
|
93
98
|
- README.rdoc
|
@@ -95,6 +100,7 @@ files:
|
|
95
100
|
- bin/minitest
|
96
101
|
- lib/minitest/binstub_reporter.rb
|
97
102
|
- lib/minitest/complete.rb
|
103
|
+
- lib/minitest/path_expander.rb
|
98
104
|
- lib/minitest/rake_reporter.rb
|
99
105
|
- lib/minitest/sprint.rb
|
100
106
|
- lib/minitest/sprint_plugin.rb
|
@@ -103,27 +109,27 @@ files:
|
|
103
109
|
homepage: https://github.com/seattlerb/minitest-sprint
|
104
110
|
licenses:
|
105
111
|
- MIT
|
106
|
-
metadata:
|
107
|
-
|
112
|
+
metadata:
|
113
|
+
homepage_uri: https://github.com/seattlerb/minitest-sprint
|
114
|
+
post_install_message:
|
108
115
|
rdoc_options:
|
109
|
-
- --main
|
116
|
+
- "--main"
|
110
117
|
- README.rdoc
|
111
118
|
require_paths:
|
112
119
|
- lib
|
113
120
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
121
|
requirements:
|
115
|
-
- -
|
122
|
+
- - ">="
|
116
123
|
- !ruby/object:Gem::Version
|
117
124
|
version: '0'
|
118
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
126
|
requirements:
|
120
|
-
- -
|
127
|
+
- - ">="
|
121
128
|
- !ruby/object:Gem::Version
|
122
129
|
version: '0'
|
123
130
|
requirements: []
|
124
|
-
|
125
|
-
|
126
|
-
signing_key:
|
131
|
+
rubygems_version: 3.3.12
|
132
|
+
signing_key:
|
127
133
|
specification_version: 4
|
128
134
|
summary: Runs (Get it? It's fast!) your tests and makes it easier to rerun individual
|
129
135
|
failures.
|
metadata.gz.sig
CHANGED
Binary file
|
data/.gemtest
DELETED
File without changes
|