minitest-focus 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1f0124e972e82828260d1d43b715a95898efa7f
4
- data.tar.gz: 56597a02024c19fcefc4bcf07aec0639a65d23c4
3
+ metadata.gz: 91e484220abdaac05a44cc94aae1f1ecaf490a43
4
+ data.tar.gz: d318bbb58af9200ee0c239e812b5072d7c46c9bb
5
5
  SHA512:
6
- metadata.gz: 7cc420c75d806196f12b066a787edb14f0592d76c67626849bed8838ebeb448a88668787be4f3211edc471a54dd2632e96c794b527d4f57321e61668a48205ac
7
- data.tar.gz: ca299f64dbfa72cc1d1cb85d5d5350a31ae583fc5d176f9f3bdd716290b56bf4e4d23620962667d06cf7fbbe7fe5acd3c8b4620841328ffaf403b0b57340fa46
6
+ metadata.gz: 24af3861763a6dbf76e03754b139863122b22948abb37e1d8002a6675c1c4289f3924b5a228712a8858b14c878e88db3a27a2f06840c550241d5533acdbfde3b
7
+ data.tar.gz: 3787d6ad7040348be68e9067adaede54c6499a7a62d37217799e51bc0663e4f3683372cf945db39cf6f0812e5bd24378f16df0a74ebb6acf675c8ac3321bbad5
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 1.1.1 / 2015-03-12
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Escape method names in filter regexp. (ddiachkov)
6
+
1
7
  === 1.1.0 / 2013-11-07
2
8
 
3
9
  * 1 major enhancement:
@@ -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].join "|"})$/"
21
+ opts[:filter] = "/^(#{Regexp.union(opts[:names]).source})$/"
22
22
 
23
23
  meta.send :remove_method, :method_added
24
24
  end
@@ -1,6 +1,6 @@
1
1
  class Minitest::Test # :nodoc:
2
2
  class Focus # :nodoc:
3
- VERSION = "1.1.0" # :nodoc:
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.join "|"})$/"
24
+ filter = "/^(#{Regexp.union(@@filtered_names).source})$/"
25
25
 
26
26
  index = ARGV.index("-n")
27
27
  unless index then
@@ -10,7 +10,8 @@ class MyTest1 < test_cls
10
10
  end
11
11
 
12
12
  describe "MyTest2" do
13
- it "is ignored" do flunk end
14
- focus; it "does something" do pass end
15
- it "bombs" do flunk end
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.0
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
- MIIDPjCCAiagAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTEzMDkxNjIzMDQxMloXDTE0MDkxNjIzMDQxMlowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE
16
16
  AwwKcn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2GT1B
29
+ xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
30
+ VpzF30vNaJK6ZT7xlIsIlwmH
31
31
  -----END CERTIFICATE-----
32
- date: 2013-11-07 00:00:00.000000000 Z
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.7'
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.7'
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: minitest-focus
130
- rubygems_version: 2.1.10
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
- �?Տ�7-��f0PlD��]���MYpl��'3OS����q��%3���P9����Th���a�θ#��6����b�^4(��٥3U���Vϭo��1�Tq�Y��
2
- ��+!O��bо^Mh��?�S٪O ���}�|
1
+ DxW6M�..�IwF�6����L�%ef��e��qJO��������ފX͛� NW���F��YEh�c�My�G����%�2ݫ�������O�F'�yI)bX��ׂ4#S��l