docquet 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12ea8285f6bfee160fde391746e20f2f3f9a0b25299b8f251871b98f35860231
4
- data.tar.gz: c7412af40133fd883e3aebac2005942c490ddff39119fcbda84d7b9937c7a8c9
3
+ metadata.gz: 9e1a397b619f2e6cf942128c3e135fb0617de4dd12fc63c0a7bdb567962b301a
4
+ data.tar.gz: 6662eb1029f19415c9861a01ed5772023aa0863ad76f5bbc4a224710a55baf67
5
5
  SHA512:
6
- metadata.gz: c7839c6eb6c4de21185d36739a936962da293d0a31e0e010a971cd181deac5397d69e54ca26a67333f52598c75f70df0e9954c2000dc58892b254859a3592380
7
- data.tar.gz: c03354771e0d9bf7440a806be8990ebd741d54d2069bbc899b5d331f6d25a34ac1d4f401208726fc1c9ffe6834c017b108d752742a829562c582a6a0072ac9d7
6
+ metadata.gz: 8eb52f1b6d178b93026bfb65d3bce028e2bf7ca09a19d98b0da9eb135776ec93992755da108e75f0f55ab8a634e14b4f8b8bfe6b67a2e4fa695ff879c87d59d5
7
+ data.tar.gz: b96fec0847203d1cdfe06a9a05e2af44ff84647c08db93c515a6a3503a27ae78319ff20a32c2be98345ddbba8927a52456f39e7569ef5c697e9f786183b5e28f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.2.0] - 2025-12-26
4
+ - Bump rubocop to 1.82
5
+
3
6
  ## [1.1.0] - 2025-11-30
4
7
 
5
8
  ### Changed
@@ -631,7 +631,7 @@ Layout/LineLength:
631
631
  StyleGuide: "#max-line-length"
632
632
  Enabled: true
633
633
  VersionAdded: '0.25'
634
- VersionChanged: '1.69'
634
+ VersionChanged: '1.82'
635
635
  Max: 120
636
636
  AllowHeredoc: true
637
637
  AllowURI: true
@@ -639,7 +639,8 @@ Layout/LineLength:
639
639
  URISchemes:
640
640
  - http
641
641
  - https
642
- IgnoreCopDirectives: true
642
+ AllowRBSInlineAnnotation: false
643
+ AllowCopDirectives: true
643
644
  AllowedPatterns: []
644
645
  SplitStrings: false
645
646
 
@@ -1266,11 +1266,15 @@ Lint/UselessNumericOperation:
1266
1266
  Enabled: true # was pending
1267
1267
  VersionAdded: '1.66'
1268
1268
 
1269
+ # Supports --autocorrect
1269
1270
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessor
1270
1271
  Lint/UselessOr:
1271
1272
  Description: Checks for useless OR expressions.
1272
1273
  Enabled: true # was pending
1274
+ SafeAutoCorrect: false
1275
+ AutoCorrect: contextual
1273
1276
  VersionAdded: '1.76'
1277
+ VersionChanged: '1.82'
1274
1278
 
1275
1279
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessrescue
1276
1280
  Lint/UselessRescue:
@@ -1,4 +1,4 @@
1
- # Department 'Style' (282):
1
+ # Department 'Style' (283):
2
2
  # Supports --autocorrect
3
3
  # https://docs.rubocop.org/rubocop/cops_style.html#styleaccessmodifierdeclarations
4
4
  Style/AccessModifierDeclarations:
@@ -43,7 +43,7 @@ Style/Alias:
43
43
  # https://docs.rubocop.org/rubocop/cops_style.html#styleambiguousendlessmethoddefinition
44
44
  Style/AmbiguousEndlessMethodDefinition:
45
45
  Description: Checks for endless methods inside operators of lower precedence.
46
- StyleGuide: "#ambiguous-endless-method-defintions"
46
+ StyleGuide: "#ambiguous-endless-method-definitions"
47
47
  Enabled: true # was pending
48
48
  VersionAdded: '1.68'
49
49
 
@@ -240,9 +240,11 @@ Style/BlockDelimiters:
240
240
  # Supports --autocorrect
241
241
  # https://docs.rubocop.org/rubocop/cops_style.html#stylecaseequality
242
242
  Style/CaseEquality:
243
- Description: Avoid explicit use of the case equality operator(===).
243
+ Description: Avoid explicit use of the case equality operator (`===`).
244
244
  StyleGuide: "#no-case-equality"
245
245
  Enabled: true
246
+ References:
247
+ - https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceregexpmatch
246
248
  VersionAdded: '0.9'
247
249
  VersionChanged: '0.89'
248
250
  AllowOnConstant: false
@@ -1386,6 +1388,7 @@ Style/MethodCallWithArgsParentheses:
1386
1388
  AllowedMethods: []
1387
1389
  AllowedPatterns: []
1388
1390
  IncludedMacros: []
1391
+ IncludedMacroPatterns: []
1389
1392
  AllowParenthesesInMultilineCall: false
1390
1393
  AllowParenthesesInChaining: false
1391
1394
  AllowParenthesesInCamelCaseMethod: false
@@ -1501,6 +1504,14 @@ Style/ModuleFunction:
1501
1504
  Autocorrect: false
1502
1505
  SafeAutoCorrect: false
1503
1506
 
1507
+ # Supports --autocorrect
1508
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylemodulememberexistencecheck
1509
+ Style/ModuleMemberExistenceCheck:
1510
+ Description: Checks for usage of `Module` methods returning arrays that can be replaced
1511
+ with equivalent predicates.
1512
+ Enabled: true # was pending
1513
+ VersionAdded: '1.82'
1514
+
1504
1515
  # https://docs.rubocop.org/rubocop/cops_style.html#stylemultilineblockchain
1505
1516
  Style/MultilineBlockChain:
1506
1517
  Description: Avoid multi-line chains of blocks.
@@ -2015,6 +2026,7 @@ Style/RedundantArgument:
2015
2026
  sum: 0
2016
2027
  exit: true
2017
2028
  exit!: false
2029
+ to_i: 10
2018
2030
  split: " "
2019
2031
  chomp: "\n"
2020
2032
  chomp!: "\n"
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Docquet
4
- VERSION = "1.1.0"
4
+ VERSION = "1.2.0"
5
5
  public_constant :VERSION
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docquet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OZAWA Sakuro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-11-30 00:00:00.000000000 Z
11
+ date: 2025-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli