rubocop_todo_corrector 0.18.0 → 0.18.1
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/Gemfile.lock +2 -2
- data/lib/rubocop_todo_corrector/commands/apply.rb +3 -1
- data/lib/rubocop_todo_corrector/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: 57573b0734b4b32b2c94e04d4735c9560cf302204e7c66b0b5b430dcf2fe8e14
|
4
|
+
data.tar.gz: fd9861087debb3c34df198419314073847e96b20f0e8caa73ab61287b0eaefab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90457ae589051d5c16fc4da8381deac6c6b491ac1f8dbb6b13234ace5cc9057f4a0c7d4a264171045432b660437d0fbb9880c535d982a115f6c9287a22f56307
|
7
|
+
data.tar.gz: '05823f208211ab9e65d6ffc20a8b803e017998a06ef3a0e1ff71687846bd15a47dc928c31ee87f27512922ccea5d8cd06a9eca8fa37f908a970a57018b551a67'
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop_todo_corrector (0.18.
|
4
|
+
rubocop_todo_corrector (0.18.1)
|
5
5
|
asciidoctor
|
6
6
|
bundler
|
7
7
|
thor
|
@@ -64,7 +64,7 @@ GEM
|
|
64
64
|
rubocop-rspec_rails (2.28.3)
|
65
65
|
rubocop (~> 1.40)
|
66
66
|
ruby-progressbar (1.13.0)
|
67
|
-
thor (1.
|
67
|
+
thor (1.4.0)
|
68
68
|
unicode-display_width (2.5.0)
|
69
69
|
yard (0.9.37)
|
70
70
|
|
@@ -104,7 +104,9 @@ module RubocopTodoCorrector
|
|
104
104
|
|
105
105
|
# @return [String]
|
106
106
|
def rubocop_todo_content_without_cop
|
107
|
-
rubocop_todo_sections.grep_v(/^#{@cop_name}:$/).join("\n\n")
|
107
|
+
content = rubocop_todo_sections.grep_v(/^#{@cop_name}:$/).join("\n\n")
|
108
|
+
content += "\n" unless content.end_with?("\n")
|
109
|
+
content
|
108
110
|
end
|
109
111
|
|
110
112
|
# @return [Pathname]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_todo_corrector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|