sequra-style 1.14.0 → 1.16.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: 3d6244fe18ea0a416aa78a3f808972f72e8951a5b1f4b8fe6d8bde547519a062
4
- data.tar.gz: c6a4e0354de8afabe25ab07ab269109e07b572ef76f746ed8e194b2063e35c08
3
+ metadata.gz: a71149d266a3203c44ae7001af44810e2bce7c2d9ab32ec4fc7457a1cee5b7bf
4
+ data.tar.gz: 68420dfeac0bb98f32b021b6571b801f0f5f62ee70cd88e8f984a5356079039b
5
5
  SHA512:
6
- metadata.gz: 48b797b66b13747ec048dd26121a5c8ca225e694e13527fdad286e825b42dd29d0177cf9cdf0f4bd7f10b674538b318e95a4538b2122a9dd5d0a3a3196c2b0ea
7
- data.tar.gz: 80f63fb2c00f3f295fec302fb748aaa30de666ec002aa666a5bd2f10e98197f283f70f0d5400b6212ac4d926b5eac8e04a554f0a012cca0c1c5c047a0a531947
6
+ metadata.gz: 0e4b82aa044144103b651085477c4965e1c69ffe4fc7b550a5141400b0744ba852dc99b07f8b17a3fb3543e6afcfcbe87ebfc36a9a8a82e02bc7f5b841fd422e
7
+ data.tar.gz: aed0d7b670c14f6efde676abe0e202a05542ee8bf195053e1abd761ffd10ea6aeda7a3f331be7d70e58732bf8e2cafc170a6cd39b0df43df73bed31a7098212a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.16.0](https://github.com/sequra/sequra-style/compare/v1.15.0...v1.16.0) (2026-05-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * [COR-1993] Enable Style/RedundantConstantBase cop ([#74](https://github.com/sequra/sequra-style/issues/74)) ([33396f6](https://github.com/sequra/sequra-style/commit/33396f673cf7bd02c70e67e28aefd4f3b5bb2996))
9
+
10
+ ## [1.15.0](https://github.com/sequra/sequra-style/compare/v1.14.0...v1.15.0) (2026-05-18)
11
+
12
+
13
+ ### Features
14
+
15
+ * Expand Metrics/ParameterLists to not count keyword arguments ([#72](https://github.com/sequra/sequra-style/issues/72)) ([b948319](https://github.com/sequra/sequra-style/commit/b948319c93397e02fae97f7eeb2c5a58cdbcdee2))
16
+
3
17
  ## [1.14.0](https://github.com/sequra/sequra-style/compare/v1.13.0...v1.14.0) (2026-05-14)
4
18
 
5
19
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sequra-style (1.14.0)
4
+ sequra-style (1.16.0)
5
5
  rubocop (~> 1.75)
6
6
  rubocop-performance (~> 1.25)
7
7
  rubocop-rails (~> 2.31)
data/default.yml CHANGED
@@ -385,6 +385,7 @@ Metrics/MethodLength:
385
385
  Metrics/ParameterLists:
386
386
  Max: 4
387
387
  Enabled: true
388
+ CountKeywordArgs: false
388
389
 
389
390
  # Avoid get_/set_ prefixes for accessor methods
390
391
  # https://rubystyle.guide/#accessor_mutator_method_names
@@ -735,6 +736,11 @@ Style/PreferredHashMethods:
735
736
  Style/RaiseArgs:
736
737
  Enabled: true
737
738
 
739
+ # Don't prefix top-level constants with `::` when bare resolution is unambiguous
740
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantconstantbase
741
+ Style/RedundantConstantBase:
742
+ Enabled: true
743
+
738
744
  # Avoid explicit return where not required
739
745
  # https://rubystyle.guide/#no-explicit-return
740
746
  Style/RedundantReturn:
@@ -1,5 +1,5 @@
1
1
  module Sequra
2
2
  module Style
3
- VERSION = "1.14.0"
3
+ VERSION = "1.16.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequra-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sequra engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-05-14 00:00:00.000000000 Z
11
+ date: 2026-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop