rubocop-yard 1.0.0 → 1.1.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/CHANGELOG.md +9 -0
- data/lib/rubocop/cop/yard/mismatch_name.rb +2 -1
- data/lib/rubocop/yard/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: d52a54c55381be3ea917d1d52e64a36e7b2262e4758f2408c77468f5bfa09815
|
|
4
|
+
data.tar.gz: 6d9f2f8e4dcccdaba87a55596bd6741479e2238ae39657fc65638578eff173d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2adb53a2daa313c7dfc8cbf5a238deb4904cde7783bcdab476ce823f018bed11587b33f88214587afc9f6be5723742edc2b250f8651045cb88a1851ed6a94e8
|
|
7
|
+
data.tar.gz: 0323d3765e33329d3ff345290cd3306676e4cbbf27d3c946da87627c1e98030a1591be102958e56f683131d37bbdf9cc7fe04af424dfce6db11264e105c5e1d3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [1.1.0] - 2026-01-29
|
|
4
|
+
|
|
5
|
+
* Fix NoMethodError when method signature includes **nil by @ksss in https://github.com/ksss/rubocop-yard/pull/39
|
|
6
|
+
* Migrate smoke tests to RSpec by @ksss in https://github.com/ksss/rubocop-yard/pull/38
|
|
7
|
+
|
|
8
|
+
## [1.0.0] - 2025-06-21
|
|
9
|
+
|
|
10
|
+
* Use plugins instead of require by @sue445 in https://github.com/ksss/rubocop-yard/pull/34
|
|
11
|
+
|
|
3
12
|
## [0.10.0] - 2024-11-20
|
|
4
13
|
|
|
5
14
|
* Guess argument types by @ksss in https://github.com/ksss/rubocop-yard/pull/32
|
|
@@ -72,7 +72,8 @@ module RuboCop
|
|
|
72
72
|
end
|
|
73
73
|
node.arguments.each do |argument|
|
|
74
74
|
next if argument.type == :blockarg
|
|
75
|
-
next if argument.
|
|
75
|
+
next if argument.type == :kwnilarg
|
|
76
|
+
next if !argument.respond_to?(:name) || argument.name.nil?
|
|
76
77
|
|
|
77
78
|
found = docstring.tags.find do |tag|
|
|
78
79
|
next unless tag.tag_name == 'param' || tag.tag_name == 'option'
|
data/lib/rubocop/yard/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-yard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ksss
|
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
101
|
version: '0'
|
|
102
102
|
requirements: []
|
|
103
|
-
rubygems_version:
|
|
103
|
+
rubygems_version: 4.0.3
|
|
104
104
|
specification_version: 4
|
|
105
105
|
summary: Check yardoc format.
|
|
106
106
|
test_files: []
|