rubocop-rspec 3.10.1 → 3.10.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61b047dc2dcdafc0499a7df00f8689fa68090a92b3a9897d37fee92a88655523
|
|
4
|
+
data.tar.gz: 52f2bd8775f31951731ca043c75297722f40d6fe943f5b8d9fadc9f54b6dfc66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f68a310bb36188a5bc1d0114c8c31606d3e7f280607f26a032177dd42c7fdf88b283166b8f41d3968559527985b9c3ea10f0da036b09945c3696c8632bab3a5
|
|
7
|
+
data.tar.gz: 37d2040cb0b7d48fed88ba954a4ec0601d9ba11c6a1b3547ef553e3b35f509b9dc89b23820635ed9e7048da6a7fe4611dc5167b679a3e26336b2f940c6858e73
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Master (Unreleased)
|
|
4
4
|
|
|
5
|
+
## 3.10.2 (2026-06-06)
|
|
6
|
+
|
|
7
|
+
- Fix false positives for `RSpec/SpecFilePathFormat` when `CustomTransform` maps a namespace to an empty string. ([@sakuro])
|
|
8
|
+
- Fix `RSpec/MatchWithSimpleRegex` to ignore regular expressions with options. ([@bquorning])
|
|
9
|
+
|
|
5
10
|
## 3.10.1 (2026-06-05)
|
|
6
11
|
|
|
7
12
|
- Add `Strict` option to `RSpec/SharedContext` to flag `shared_context` whenever it contains examples, even alongside setup code. ([@Darhazer])
|
|
@@ -159,8 +159,9 @@ module RuboCop
|
|
|
159
159
|
constants = namespace(constant) + constant.const_name.split('::')
|
|
160
160
|
|
|
161
161
|
File.join(
|
|
162
|
-
constants.
|
|
163
|
-
custom_transform.fetch(name) { camel_to_snake_case(name) }
|
|
162
|
+
constants.filter_map do |name|
|
|
163
|
+
path = custom_transform.fetch(name) { camel_to_snake_case(name) }
|
|
164
|
+
path unless path.empty?
|
|
164
165
|
end
|
|
165
166
|
)
|
|
166
167
|
end
|