sequra-style 1.3.2 → 1.4.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 +17 -7
- data/lib/sequra/style/version.rb +1 -1
- data/sequra-style.gemspec +4 -5
- metadata +10 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ef5824fc0eb53c8564a6c0e4e8b4d1c6769f77ca37c4e1af7e2b85deba79734
|
|
4
|
+
data.tar.gz: ea08dd64de41f8e991e1bb4b0ac2024340ea61543e28feec4ac5a21bc7f89e8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9219216a850c296e2b8f231ecfb785f4a1e6f48f9f1932f0ac700a7d695e91f8c4c85dcfe4a1bf5fa09d9d0c8a511ff898f3f26c47bd6f21af4fb1832b07c000
|
|
7
|
+
data.tar.gz: 3dc6dedc86628ea7766ac8df72566c73c2b96eba69d4b1c2ae38747149804e751622e354cf9c50a2aced06ca0cad06bbbb6e5713b8a340587580a0c75adc3f3d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.4.0](https://github.com/sequra/sequra-style/compare/v1.3.3...v1.4.0) (2025-10-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* improve newlines and indentation rules ([#42](https://github.com/sequra/sequra-style/issues/42)) ([80c360d](https://github.com/sequra/sequra-style/commit/80c360d66ab8768267a8d66707c54a83c4bb70bc))
|
|
9
|
+
* Remove Obsession/MethodOrder cop ([#40](https://github.com/sequra/sequra-style/issues/40)) ([48def28](https://github.com/sequra/sequra-style/commit/48def28a0c82959baadcf7195bd011f7b5a701a5))
|
|
10
|
+
|
|
11
|
+
## [1.3.3](https://github.com/sequra/sequra-style/compare/v1.3.2...v1.3.3) (2025-04-02)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* require to plugins ([#38](https://github.com/sequra/sequra-style/issues/38)) ([11b3cb9](https://github.com/sequra/sequra-style/commit/11b3cb982329eec4ed295e59db258c21ff8296a5))
|
|
17
|
+
|
|
3
18
|
## [1.3.2](https://github.com/sequra/sequra-style/compare/v1.3.1...v1.3.2) (2025-03-24)
|
|
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.4.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
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
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
|
|
|
@@ -299,3 +304,8 @@ RSpec/MultipleExpectations:
|
|
|
299
304
|
|
|
300
305
|
RSpec/NestedGroups:
|
|
301
306
|
Enabled: false
|
|
307
|
+
|
|
308
|
+
# Enforce empty line between 'it' blocks (allows oneliners)
|
|
309
|
+
RSpec/EmptyLineAfterExample:
|
|
310
|
+
Enabled: true
|
|
311
|
+
Severity: info
|
data/lib/sequra/style/version.rb
CHANGED
data/sequra-style.gemspec
CHANGED
|
@@ -21,11 +21,10 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
22
|
spec.require_paths = ["lib"]
|
|
23
23
|
|
|
24
|
-
spec.add_dependency "rubocop", "~> 1"
|
|
25
|
-
spec.add_dependency "rubocop-performance", "~> 1"
|
|
26
|
-
spec.add_dependency "rubocop-rails", "~> 2"
|
|
27
|
-
spec.add_dependency "rubocop-rspec", "~>
|
|
28
|
-
spec.add_dependency "rubocop-obsession", "~> 0.2"
|
|
24
|
+
spec.add_dependency "rubocop", "~> 1.75"
|
|
25
|
+
spec.add_dependency "rubocop-performance", "~> 1.25"
|
|
26
|
+
spec.add_dependency "rubocop-rails", "~> 2.31"
|
|
27
|
+
spec.add_dependency "rubocop-rspec", "~> 3.5"
|
|
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.4.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-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -16,70 +16,56 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1'
|
|
19
|
+
version: '1.75'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '1'
|
|
26
|
+
version: '1.75'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rubocop-performance
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '1'
|
|
33
|
+
version: '1.25'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '1'
|
|
40
|
+
version: '1.25'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rubocop-rails
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '2'
|
|
47
|
+
version: '2.31'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '2'
|
|
54
|
+
version: '2.31'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rubocop-rspec
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
61
|
+
version: '3.5'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
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'
|
|
68
|
+
version: '3.5'
|
|
83
69
|
- !ruby/object:Gem::Dependency
|
|
84
70
|
name: bundler
|
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|