test_launcher 2.27.0.pre → 2.29.0

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
  SHA256:
3
- metadata.gz: e7ec057af100586d64b53b846e170557e38d2933deb5c36b311e12372cd64080
4
- data.tar.gz: d24c42f24628fce2eb6d1936ac89853b9e0af21d4d1752717d40d87e1c7455c2
3
+ metadata.gz: 6d0f6207012334e3b6b0383fd2dcae3cc87a7aa5225c3069cfd6e03c4537c80c
4
+ data.tar.gz: 89277102ee5accc7adff86423e5ce98acb27a659b4815f8fe80befc5155af617
5
5
  SHA512:
6
- metadata.gz: '049bad337c0799ff8990bab76c1e27ed9699fe549a9a5f2ac01b8f409ba3a9c602e9ae234f88894c9a9ed16d8c78eed16b31eb0afc3758e857e87bb19d38f735'
7
- data.tar.gz: a1d4822e25ab350eabcf99e708e20a3eeb9a6f3c19098f691f9aae592c57a71305f6d9a8be1bdb7ca194d8a591cb6fc17ecc3cb234a92d0b943b81da0b0626c5
6
+ metadata.gz: e65d15b272e80507a518e6e453fb9a351be34cf0b1e98b10082da547e44fe0b74c631188ab38d288c0a7347b9c9e063f1554c2146818a98d87b64be30765c656
7
+ data.tar.gz: f1c793ab81806d4b1d7c29903bddcded13eb51e14c18a5c7da996e6541ac289a22e31fa9e9e85e40f90254d2a6997460827e518f9a2b8c4a5d65af8feb994f55
@@ -14,7 +14,15 @@ module TestLauncher
14
14
  end
15
15
 
16
16
  def ls_files(pattern)
17
- shell.run("git ls-files '*#{pattern}*'")
17
+ # files in the repo and unstaged files in the status
18
+ shell.run("git ls-files '*#{pattern}*'") +
19
+ shell
20
+ .run("git status --porcelain=v2")
21
+ .map { |l|
22
+ type, path = l.split(" ")
23
+ path if type == "?" && path.match(%r{.*#{pattern}.*})
24
+ }
25
+ .compact
18
26
  end
19
27
 
20
28
  def grep(regex, file_pattern)
@@ -1,3 +1,3 @@
1
1
  module TestLauncher
2
- VERSION = "2.27.0.pre"
2
+ VERSION = "2.29.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.27.0.pre
4
+ version: 2.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Kinnecom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-16 00:00:00.000000000 Z
11
+ date: 2023-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -89,11 +89,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">"
92
+ - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 1.3.1
94
+ version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.2.22
96
+ rubygems_version: 3.3.22
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Easily run tests