test_launcher 2.28.0 → 2.29.0
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
- data/lib/test_launcher/search/git.rb +9 -1
- data/lib/test_launcher/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d0f6207012334e3b6b0383fd2dcae3cc87a7aa5225c3069cfd6e03c4537c80c
|
4
|
+
data.tar.gz: 89277102ee5accc7adff86423e5ce98acb27a659b4815f8fe80befc5155af617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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)
|
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.
|
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:
|
11
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
|
-
rubygems_version: 3.
|
96
|
+
rubygems_version: 3.3.22
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Easily run tests
|