minitest-focus 1.1.1 → 1.1.2
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/focus5.rb +8 -5
- metadata +2 -2
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a49f4f3e64531605a36438322132a1ebd9b4bf4
|
4
|
+
data.tar.gz: 4a7662b7618ad876e1db67afb5e98fe19593186e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 161f76e20d220d5b612b45cef3818bf5f290c6c2e563eecf6d26a7893cc34748f55f58f20bd3f4370320ee6610c69c7f5d43854c9d2e6b7d70b0a2b0d4fdec49
|
7
|
+
data.tar.gz: 4dadc914a4353d301e983b3f2afc6b34c8882ca641bfafb63af29bd73cef8183312122daf4a2092d18e06f45fe2570e2887bdf6ff6c4fca590bea627003a02f0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
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.2" # :nodoc:
|
4
4
|
end
|
5
5
|
|
6
6
|
@@filtered_names = [] # :nodoc:
|
@@ -24,12 +24,15 @@ class Minitest::Test # :nodoc:
|
|
24
24
|
filter = "/^(#{Regexp.union(@@filtered_names).source})$/"
|
25
25
|
|
26
26
|
index = ARGV.index("-n")
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
|
28
|
+
if index then
|
29
|
+
warn "NOTE: Found `-n <regexp>` arg. This breaks under Rake::TestTask"
|
30
30
|
end
|
31
31
|
|
32
|
-
ARGV
|
32
|
+
index = ARGV.index { |arg| arg =~ /^-n/ }
|
33
|
+
ARGV.delete_at index if index
|
34
|
+
|
35
|
+
ARGV << "-n=#{filter}"
|
33
36
|
|
34
37
|
meta.send :remove_method, :method_added
|
35
38
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
30
30
|
VpzF30vNaJK6ZT7xlIsIlwmH
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2015-
|
32
|
+
date: 2015-07-25 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: minitest
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
.i�X��8���b.�i.k?�! ���
|
2
|
+
��( �-�\�6���X��4Dq����
|