test-prof 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/test_prof/rspec_stamp.rb +7 -5
- data/lib/test_prof/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cfa0f1751f398092de8ffa46d5bff81bb9eadd7b90caaf9293c62c93c6b3e20
|
4
|
+
data.tar.gz: 3afcb831782f0e58881839f33af07a41b3b42d63ac8eb87c35b6fd0eb01537ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2de8fb8232f5ed623167846c37cce6224b297761324acdf6a17a47338e2a3904aa480b48fc9793a51f5595d3d839c3ff3bc9fbb262c7900ad3d7c819113947a0
|
7
|
+
data.tar.gz: dcec92d722f9e7cce9f1d371a2c6d363aa9a78a6cf1149a73d8b836a269ebf6bd14e50d86a8470cccc56a861b94646ad23494f43de6d9beb0cc6a5b478f77e93
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## master (unreleased)
|
4
4
|
|
5
|
+
## 1.4.4 (2025-01-03)
|
6
|
+
|
7
|
+
- Fix _stamping_ specs with single quotes with Rpsec Stamp. ([@elasticspoon][])
|
8
|
+
|
5
9
|
## 1.4.3 (2024-12-18)
|
6
10
|
|
7
11
|
- Fix handling new (lazy) connection pools in `before_all`. ([@palkan][])
|
@@ -449,3 +453,4 @@ See [changelog](https://github.com/test-prof/test-prof/blob/v0.8.0/CHANGELOG.md)
|
|
449
453
|
[@lHydra]: https://github.com/lHydra
|
450
454
|
[@john-h-k]: https://github.com/john-h-k
|
451
455
|
[@devinburnette]: https://github.com/devinburnette
|
456
|
+
[@elasticspoon]: https://github.com/elasticspoon
|
@@ -153,14 +153,16 @@ module TestProf
|
|
153
153
|
end
|
154
154
|
end
|
155
155
|
|
156
|
-
replacement =
|
157
|
-
|
158
|
-
|
156
|
+
replacement = proc do
|
157
|
+
$1 + "#{parsed.fname}#{need_parens ? "(" : " "}" \
|
158
|
+
"#{[desc, tags_str, htags_str].compact.join(", ")}" \
|
159
|
+
"#{need_parens ? ") " : " "}" + $3
|
160
|
+
end
|
159
161
|
|
160
162
|
if config.dry_run?
|
161
|
-
log :info, "Patched: #{example.sub(EXAMPLE_RXP, replacement)}"
|
163
|
+
log :info, "Patched: #{example.sub(EXAMPLE_RXP, &replacement)}"
|
162
164
|
else
|
163
|
-
example.sub!(EXAMPLE_RXP, replacement)
|
165
|
+
example.sub!(EXAMPLE_RXP, &replacement)
|
164
166
|
end
|
165
167
|
true
|
166
168
|
end
|
data/lib/test_prof/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-prof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dementyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|