test-prof 1.4.3 → 1.4.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97628c14c29719b463c2937602d31e201bafcf3f910b94fb11ee28bd8f23aaf5
4
- data.tar.gz: 4f924233ae1dfeb81bcca92624c741980c8d7c07a5a02d88909a08685a1980d4
3
+ metadata.gz: 3cfa0f1751f398092de8ffa46d5bff81bb9eadd7b90caaf9293c62c93c6b3e20
4
+ data.tar.gz: 3afcb831782f0e58881839f33af07a41b3b42d63ac8eb87c35b6fd0eb01537ea
5
5
  SHA512:
6
- metadata.gz: 865839f6c518c531be8c41701beb5714fadbbd1824cb96af8509e7a6b601973551a1bbdd0019000df001c82916c12d1232ee9caefeeb1be2eef384056f57da8a
7
- data.tar.gz: 775d73f88529efdf0c3ad9d93354b0ca18c58640a2fc958d9615773b16f53776d8006d93a1c3094fd02f57bd2d1a412edd35e955369ed477f3102e6a443a1556
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 = "\\1#{parsed.fname}#{need_parens ? "(" : " "}" \
157
- "#{[desc, tags_str, htags_str].compact.join(", ")}" \
158
- "#{need_parens ? ") " : " "}\\3"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TestProf
4
- VERSION = "1.4.3"
4
+ VERSION = "1.4.4"
5
5
  end
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.3
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: 2024-12-18 00:00:00.000000000 Z
11
+ date: 2025-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler