minitest-focus 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/minitest/focus4.rb +1 -1
- data/lib/minitest/focus5.rb +2 -2
- data/test/minitest/test_focus.rb +4 -3
- metadata +16 -17
- metadata.gz.sig +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91e484220abdaac05a44cc94aae1f1ecaf490a43
|
4
|
+
data.tar.gz: d318bbb58af9200ee0c239e812b5072d7c46c9bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24af3861763a6dbf76e03754b139863122b22948abb37e1d8002a6675c1c4289f3924b5a228712a8858b14c878e88db3a27a2f06840c550241d5533acdbfde3b
|
7
|
+
data.tar.gz: 3787d6ad7040348be68e9067adaede54c6499a7a62d37217799e51bc0663e4f3683372cf945db39cf6f0812e5bd24378f16df0a74ebb6acf675c8ac3321bbad5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/minitest/focus4.rb
CHANGED
@@ -18,7 +18,7 @@ class MiniTest::Unit::TestCase # :nodoc:
|
|
18
18
|
|
19
19
|
meta.send :define_method, :method_added do |name|
|
20
20
|
opts[:names] << name.to_s
|
21
|
-
opts[:filter] = "/^(#{opts[:names].
|
21
|
+
opts[:filter] = "/^(#{Regexp.union(opts[:names]).source})$/"
|
22
22
|
|
23
23
|
meta.send :remove_method, :method_added
|
24
24
|
end
|
data/lib/minitest/focus5.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class Minitest::Test # :nodoc:
|
2
2
|
class Focus # :nodoc:
|
3
|
-
VERSION = "1.1.
|
3
|
+
VERSION = "1.1.1" # :nodoc:
|
4
4
|
end
|
5
5
|
|
6
6
|
@@filtered_names = [] # :nodoc:
|
@@ -21,7 +21,7 @@ class Minitest::Test # :nodoc:
|
|
21
21
|
|
22
22
|
meta.send :define_method, :method_added do |name|
|
23
23
|
@@filtered_names << "#{self}##{name}"
|
24
|
-
filter = "/^(#{@@filtered_names.
|
24
|
+
filter = "/^(#{Regexp.union(@@filtered_names).source})$/"
|
25
25
|
|
26
26
|
index = ARGV.index("-n")
|
27
27
|
unless index then
|
data/test/minitest/test_focus.rb
CHANGED
@@ -10,7 +10,8 @@ class MyTest1 < test_cls
|
|
10
10
|
end
|
11
11
|
|
12
12
|
describe "MyTest2" do
|
13
|
-
it "is ignored"
|
14
|
-
focus; it "does something"
|
15
|
-
it "bombs"
|
13
|
+
it "is ignored" do flunk end
|
14
|
+
focus; it "does something" do pass end
|
15
|
+
it "bombs" do flunk end
|
16
|
+
focus; it "has non-word ['chars'" do pass end # Will raise invalid RegExp unless correctly escaped
|
16
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-focus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
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
|
+
MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE
|
16
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -22,14 +22,14 @@ 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
|
+
AQAFoDJRokCQdxFfOrmsKX41KOFlU/zjrbDVM9hgB/Ur999M6OXGSi8FitXNtMwY
|
26
|
+
FVjsiAPeU7HaWVVcZkj6IhINelTkXsxgGz/qCzjHy3iUMuZWw36cS0fiWJ5rvH+e
|
27
|
+
hD7uXxJSFuyf1riDGI1aeWbQ74WMwvNstOxLUMiV5a1fzBhlxPqb537ubDjq/M/h
|
28
|
+
zPUFPVYeL5KjDHLCqI2FwIk2sEMOQgjpXHzl+3NlD2LUgUhHDMevmgVua0e2GT1B
|
29
|
+
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
30
|
+
VpzF30vNaJK6ZT7xlIsIlwmH
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2015-03-12 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: minitest
|
@@ -71,14 +71,14 @@ dependencies:
|
|
71
71
|
requirements:
|
72
72
|
- - ~>
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '3.
|
74
|
+
version: '3.13'
|
75
75
|
type: :development
|
76
76
|
prerelease: false
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - ~>
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '3.
|
81
|
+
version: '3.13'
|
82
82
|
description: |-
|
83
83
|
Allows you to focus on a few tests with ease without having to use
|
84
84
|
command-line arguments. Good for tools like guard that don't have
|
@@ -96,6 +96,7 @@ extra_rdoc_files:
|
|
96
96
|
- README.txt
|
97
97
|
files:
|
98
98
|
- .autotest
|
99
|
+
- .gemtest
|
99
100
|
- History.txt
|
100
101
|
- Manifest.txt
|
101
102
|
- README.txt
|
@@ -104,7 +105,6 @@ files:
|
|
104
105
|
- lib/minitest/focus4.rb
|
105
106
|
- lib/minitest/focus5.rb
|
106
107
|
- test/minitest/test_focus.rb
|
107
|
-
- .gemtest
|
108
108
|
homepage: https://github.com/seattlerb/minitest-focus
|
109
109
|
licenses:
|
110
110
|
- MIT
|
@@ -126,11 +126,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
|
-
rubyforge_project:
|
130
|
-
rubygems_version: 2.
|
129
|
+
rubyforge_project:
|
130
|
+
rubygems_version: 2.4.5
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Allows you to focus on a few tests with ease without having to use command-line
|
134
134
|
arguments
|
135
|
-
test_files:
|
136
|
-
- test/minitest/test_focus.rb
|
135
|
+
test_files: []
|
metadata.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
��+!O��bо^Mh��?�S٪O���}�|
|
1
|
+
DxW6�M�..�Iw�F�6����L�%ef��e��qJO��������ފX͛� NW���F��Y�Eh�c�My�G����%�2ݫ�������O�F'�yI)bX��ׂ4#S��l
|