sequra-style 1.15.0 → 1.17.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 +14 -0
- data/Gemfile.lock +6 -6
- data/default.yml +11 -0
- data/lib/sequra/style/version.rb +1 -1
- data/sequra-style.gemspec +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e247920824c3d061c6385b8c29a20843d4b1ee27fbca2d6fa3a498f7b4ff6833
|
|
4
|
+
data.tar.gz: 66fbba9730edfbc25eb5224438bfff22bba38d72399169fcab016633f23fe049
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20d6f4326a2b796cae26c3cb7457e80613f9ddd85704cf028d8a8307602293c77d67c22942974e7b3242d7bcfe5f7113dbb9760c6c5704785910e6b54f84fb9f
|
|
7
|
+
data.tar.gz: e36aa35cf7d5158c17d83f974fe9ac36f5d0e447521eebdeed4f6f4d8d49aec244af1e97b80ea63e9e8001c4b98c354ac7b095791d66240dfe85fdd6faa157b2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.17.0](https://github.com/sequra/sequra-style/compare/v1.16.0...v1.17.0) (2026-07-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **rubocop:** enable Style/OpenStructUse ([#77](https://github.com/sequra/sequra-style/issues/77)) ([713e0a5](https://github.com/sequra/sequra-style/commit/713e0a5e8b45ab3ccfd68a5aab2618a7c9a2bd4e))
|
|
9
|
+
|
|
10
|
+
## [1.16.0](https://github.com/sequra/sequra-style/compare/v1.15.0...v1.16.0) (2026-05-20)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* [COR-1993] Enable Style/RedundantConstantBase cop ([#74](https://github.com/sequra/sequra-style/issues/74)) ([33396f6](https://github.com/sequra/sequra-style/commit/33396f673cf7bd02c70e67e28aefd4f3b5bb2996))
|
|
16
|
+
|
|
3
17
|
## [1.15.0](https://github.com/sequra/sequra-style/compare/v1.14.0...v1.15.0) (2026-05-18)
|
|
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.
|
|
4
|
+
sequra-style (1.17.0)
|
|
5
5
|
rubocop (~> 1.75)
|
|
6
6
|
rubocop-performance (~> 1.25)
|
|
7
7
|
rubocop-rails (~> 2.31)
|
|
@@ -10,7 +10,7 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
activesupport (8.1.
|
|
13
|
+
activesupport (8.1.3)
|
|
14
14
|
base64
|
|
15
15
|
bigdecimal
|
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -32,7 +32,7 @@ GEM
|
|
|
32
32
|
drb (2.2.3)
|
|
33
33
|
i18n (1.14.8)
|
|
34
34
|
concurrent-ruby (~> 1.0)
|
|
35
|
-
json (2.
|
|
35
|
+
json (2.19.8)
|
|
36
36
|
language_server-protocol (3.17.0.5)
|
|
37
37
|
lint_roller (1.1.0)
|
|
38
38
|
logger (1.7.0)
|
|
@@ -44,7 +44,7 @@ GEM
|
|
|
44
44
|
racc
|
|
45
45
|
prism (1.9.0)
|
|
46
46
|
racc (1.8.1)
|
|
47
|
-
rack (3.2.
|
|
47
|
+
rack (3.2.6)
|
|
48
48
|
rainbow (3.1.1)
|
|
49
49
|
rake (13.0.6)
|
|
50
50
|
regexp_parser (2.11.3)
|
|
@@ -101,10 +101,10 @@ PLATFORMS
|
|
|
101
101
|
ruby
|
|
102
102
|
|
|
103
103
|
DEPENDENCIES
|
|
104
|
-
bundler (
|
|
104
|
+
bundler (>= 2.2.33, < 3)
|
|
105
105
|
rake (~> 13.0.1)
|
|
106
106
|
rspec (~> 3.13)
|
|
107
107
|
sequra-style!
|
|
108
108
|
|
|
109
109
|
BUNDLED WITH
|
|
110
|
-
2.
|
|
110
|
+
2.5.22
|
data/default.yml
CHANGED
|
@@ -716,6 +716,12 @@ Style/NegatedIf:
|
|
|
716
716
|
Style/NestedModifier:
|
|
717
717
|
Enabled: true
|
|
718
718
|
|
|
719
|
+
# Ban OpenStruct usage (allocation-heavy: a singleton class + accessor methods
|
|
720
|
+
# per instance). Prefer Data.define, Struct, a plain class, or test doubles.
|
|
721
|
+
# Grandfather existing usages in your project's .rubocop_todo.yml.
|
|
722
|
+
Style/OpenStructUse:
|
|
723
|
+
Enabled: true
|
|
724
|
+
|
|
719
725
|
# Define optional arguments at end of parameter list
|
|
720
726
|
# https://rubystyle.guide/#optional-arguments
|
|
721
727
|
Style/OptionalArguments:
|
|
@@ -736,6 +742,11 @@ Style/PreferredHashMethods:
|
|
|
736
742
|
Style/RaiseArgs:
|
|
737
743
|
Enabled: true
|
|
738
744
|
|
|
745
|
+
# Don't prefix top-level constants with `::` when bare resolution is unambiguous
|
|
746
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantconstantbase
|
|
747
|
+
Style/RedundantConstantBase:
|
|
748
|
+
Enabled: true
|
|
749
|
+
|
|
739
750
|
# Avoid explicit return where not required
|
|
740
751
|
# https://rubystyle.guide/#no-explicit-return
|
|
741
752
|
Style/RedundantReturn:
|
data/lib/sequra/style/version.rb
CHANGED
data/sequra-style.gemspec
CHANGED
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.add_dependency "rubocop-rails", "~> 2.31"
|
|
27
27
|
spec.add_dependency "rubocop-rspec", "~> 3.5"
|
|
28
28
|
|
|
29
|
-
spec.add_development_dependency "bundler", "
|
|
29
|
+
spec.add_development_dependency "bundler", ">= 2.2.33", "< 3"
|
|
30
30
|
spec.add_development_dependency "rake", "~> 13.0.1"
|
|
31
31
|
spec.add_development_dependency "rspec", "~> 3.13"
|
|
32
32
|
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.
|
|
4
|
+
version: 1.17.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-
|
|
11
|
+
date: 2026-07-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -70,16 +70,22 @@ dependencies:
|
|
|
70
70
|
name: bundler
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: 2.2.33
|
|
76
|
+
- - "<"
|
|
74
77
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
78
|
+
version: '3'
|
|
76
79
|
type: :development
|
|
77
80
|
prerelease: false
|
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
82
|
requirements:
|
|
80
|
-
- - "
|
|
83
|
+
- - ">="
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: 2.2.33
|
|
86
|
+
- - "<"
|
|
81
87
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
88
|
+
version: '3'
|
|
83
89
|
- !ruby/object:Gem::Dependency
|
|
84
90
|
name: rake
|
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|