sequra-style 1.3.3 → 1.5.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 +15 -0
- data/Gemfile.lock +1 -5
- data/default.yml +20 -7
- data/lib/sequra/style/version.rb +1 -1
- data/sequra-style.gemspec +0 -1
- metadata +2 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a05bb753c5c0dd5b33fca46dd53dbc85b7621a73623e6b380f93d6d5c8fafc3b
|
|
4
|
+
data.tar.gz: 38c7342f9412804d0e649171de2ed4a9960674fa521c6baed9d4aa4b7467e092
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9328bc1416ba061823dfb4e24c2e02506f79b3c183433fe74f2e57d9fe58ba4e5e856d9b3f1ee706d6337fef59aa2e431abe880321be54339a1da368cbc5b299
|
|
7
|
+
data.tar.gz: 259bb2ae8374073aadb45be9759ee37ee1316ca5c587199217a7fada18c2ad21da59ec33caf8710c9c42835ec0d593ec6b6a92ccfabc4ad0dea54748a834537c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.5.0](https://github.com/sequra/sequra-style/compare/v1.4.0...v1.5.0) (2025-12-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* disable example length rule ([#43](https://github.com/sequra/sequra-style/issues/43)) ([be34b58](https://github.com/sequra/sequra-style/commit/be34b58f85e9fa0602ccb1baa6228927d6144a5b))
|
|
9
|
+
|
|
10
|
+
## [1.4.0](https://github.com/sequra/sequra-style/compare/v1.3.3...v1.4.0) (2025-10-22)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* improve newlines and indentation rules ([#42](https://github.com/sequra/sequra-style/issues/42)) ([80c360d](https://github.com/sequra/sequra-style/commit/80c360d66ab8768267a8d66707c54a83c4bb70bc))
|
|
16
|
+
* Remove Obsession/MethodOrder cop ([#40](https://github.com/sequra/sequra-style/issues/40)) ([48def28](https://github.com/sequra/sequra-style/commit/48def28a0c82959baadcf7195bd011f7b5a701a5))
|
|
17
|
+
|
|
3
18
|
## [1.3.3](https://github.com/sequra/sequra-style/compare/v1.3.2...v1.3.3) (2025-04-02)
|
|
4
19
|
|
|
5
20
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
sequra-style (1.
|
|
4
|
+
sequra-style (1.5.0)
|
|
5
5
|
rubocop (~> 1)
|
|
6
|
-
rubocop-obsession (~> 0.1.11)
|
|
7
6
|
rubocop-performance (~> 1)
|
|
8
7
|
rubocop-rails (~> 2)
|
|
9
8
|
rubocop-rspec (~> 2)
|
|
@@ -60,9 +59,6 @@ GEM
|
|
|
60
59
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
61
60
|
rubocop-ast (1.38.1)
|
|
62
61
|
parser (>= 3.3.1.0)
|
|
63
|
-
rubocop-obsession (0.1.15)
|
|
64
|
-
activesupport
|
|
65
|
-
rubocop (~> 1.41)
|
|
66
62
|
rubocop-performance (1.15.1)
|
|
67
63
|
rubocop (>= 1.7.0, < 2.0)
|
|
68
64
|
rubocop-ast (>= 0.4.0)
|
data/default.yml
CHANGED
|
@@ -2,7 +2,6 @@ plugins:
|
|
|
2
2
|
- rubocop-performance
|
|
3
3
|
- rubocop-rails
|
|
4
4
|
- rubocop-rspec
|
|
5
|
-
- rubocop-obsession
|
|
6
5
|
|
|
7
6
|
AllCops:
|
|
8
7
|
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
|
@@ -133,6 +132,17 @@ Layout/EmptyLinesAroundMethodBody:
|
|
|
133
132
|
Layout/EmptyLinesAroundModuleBody:
|
|
134
133
|
Enabled: true
|
|
135
134
|
|
|
135
|
+
# Align block 'end's with the start of their block
|
|
136
|
+
Layout/BlockAlignment:
|
|
137
|
+
Enabled: true
|
|
138
|
+
EnforcedStyleAlignWith: start_of_line
|
|
139
|
+
Severity: info
|
|
140
|
+
|
|
141
|
+
# Enforce empty line between method definitions
|
|
142
|
+
Layout/EmptyLineBetweenDefs:
|
|
143
|
+
Enabled: true
|
|
144
|
+
Severity: info
|
|
145
|
+
|
|
136
146
|
Layout/FirstArgumentIndentation:
|
|
137
147
|
Enabled: true
|
|
138
148
|
|
|
@@ -265,11 +275,6 @@ Style/TrivialAccessors:
|
|
|
265
275
|
Style/GuardClause:
|
|
266
276
|
Enabled: true
|
|
267
277
|
|
|
268
|
-
Obsession/MethodOrder:
|
|
269
|
-
Enabled: true
|
|
270
|
-
EnforcedStyle: step_down
|
|
271
|
-
Severity: info
|
|
272
|
-
|
|
273
278
|
Performance/FlatMap:
|
|
274
279
|
Enabled: true
|
|
275
280
|
|
|
@@ -292,10 +297,18 @@ RSpec/ContextMethod:
|
|
|
292
297
|
Severity: info
|
|
293
298
|
|
|
294
299
|
RSpec/ExampleLength:
|
|
295
|
-
|
|
300
|
+
# WORKAROUND: `Enabled: false` is ignored due to a loading order bug with
|
|
301
|
+
# `inherit_gem` and `rubocop-rspec` plugins. We set a high Max to silence it
|
|
302
|
+
# while keeping the plugin definition self-contained in this gem.
|
|
303
|
+
Max: 999
|
|
296
304
|
|
|
297
305
|
RSpec/MultipleExpectations:
|
|
298
306
|
Enabled: false
|
|
299
307
|
|
|
300
308
|
RSpec/NestedGroups:
|
|
301
309
|
Enabled: false
|
|
310
|
+
|
|
311
|
+
# Enforce empty line between 'it' blocks (allows oneliners)
|
|
312
|
+
RSpec/EmptyLineAfterExample:
|
|
313
|
+
Enabled: true
|
|
314
|
+
Severity: info
|
data/lib/sequra/style/version.rb
CHANGED
data/sequra-style.gemspec
CHANGED
|
@@ -25,7 +25,6 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.add_dependency "rubocop-performance", "~> 1.25"
|
|
26
26
|
spec.add_dependency "rubocop-rails", "~> 2.31"
|
|
27
27
|
spec.add_dependency "rubocop-rspec", "~> 3.5"
|
|
28
|
-
spec.add_dependency "rubocop-obsession", "~> 0.2"
|
|
29
28
|
|
|
30
29
|
spec.add_development_dependency "bundler", "~> 2.1.4"
|
|
31
30
|
spec.add_development_dependency "rake", "~> 13.0.1"
|
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.5.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: 2025-
|
|
11
|
+
date: 2025-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -66,20 +66,6 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '3.5'
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: rubocop-obsession
|
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
|
72
|
-
requirements:
|
|
73
|
-
- - "~>"
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0.2'
|
|
76
|
-
type: :runtime
|
|
77
|
-
prerelease: false
|
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
-
requirements:
|
|
80
|
-
- - "~>"
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0.2'
|
|
83
69
|
- !ruby/object:Gem::Dependency
|
|
84
70
|
name: bundler
|
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|