sequra-style 1.3.3 → 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 +8 -0
- data/Gemfile.lock +1 -5
- data/default.yml +16 -6
- 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: 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,13 @@
|
|
|
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
|
+
|
|
3
11
|
## [1.3.3](https://github.com/sequra/sequra-style/compare/v1.3.2...v1.3.3) (2025-04-02)
|
|
4
12
|
|
|
5
13
|
|
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
|
@@ -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
|
|
|
@@ -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
|
@@ -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.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
|
|
@@ -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
|