sequra-style 1.1.0 → 1.3.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/.github/CODEOWNERS +1 -1
- data/CHANGELOG.md +14 -0
- data/Gemfile.lock +22 -16
- data/default.yml +8 -0
- data/lib/sequra/style/version.rb +1 -1
- data/sequra-style.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6beb363f96f37dd929ca7e7f9cca1de60682b1e047c1e2c0760fd31a718b173
|
4
|
+
data.tar.gz: 5846390230864b0e609945371197fd6e71d33b4c35007eff47464f93a660619c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f64d8228f29ac14bec17d3a0899f2b571509cc631c81085b00fac6d5e2d7a70f5b3fa5d60682e6cfc23e27a6cf273c6d3d05b9bbe4f6487c1615718861b610e
|
7
|
+
data.tar.gz: c88c577bc987aa8f3068d84c4a50eade3dba7f794a05c4ba6d7bf1e32659b5f5ca198000accc85309d3afad7d09878d02078f32b3c78281a104750eb8434996d
|
data/.github/CODEOWNERS
CHANGED
@@ -1 +1 @@
|
|
1
|
-
* @sequra/
|
1
|
+
* @sequra/core-tech
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.3.0](https://github.com/sequra/sequra-style/compare/v1.2.0...v1.3.0) (2024-12-02)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* add Obsession/MethodOrder cop ([#32](https://github.com/sequra/sequra-style/issues/32)) ([e1511bb](https://github.com/sequra/sequra-style/commit/e1511bb5576c3b2d0e4cd28799ddb42a61913534))
|
9
|
+
|
10
|
+
## [1.2.0](https://github.com/sequra/sequra-style/compare/v1.1.0...v1.2.0) (2024-05-16)
|
11
|
+
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
* Add RSpec/ContextMethod rule only as warning ([#29](https://github.com/sequra/sequra-style/issues/29)) ([9ae2e5b](https://github.com/sequra/sequra-style/commit/9ae2e5bb007d5175986a7436e358d915e12c0c90))
|
16
|
+
|
3
17
|
## [1.1.0](https://github.com/sequra/sequra-style/compare/v1.0.3...v1.1.0) (2024-04-03)
|
4
18
|
|
5
19
|
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sequra-style (1.
|
4
|
+
sequra-style (1.3.0)
|
5
5
|
rubocop (~> 1)
|
6
|
+
rubocop-obsession (~> 0.1.11)
|
6
7
|
rubocop-performance (~> 1)
|
7
8
|
rubocop-rails (~> 2)
|
8
9
|
rubocop-rspec (~> 2)
|
@@ -19,28 +20,33 @@ GEM
|
|
19
20
|
concurrent-ruby (1.1.10)
|
20
21
|
i18n (1.12.0)
|
21
22
|
concurrent-ruby (~> 1.0)
|
22
|
-
json (2.
|
23
|
+
json (2.8.2)
|
24
|
+
language_server-protocol (3.17.0.3)
|
23
25
|
minitest (5.16.3)
|
24
|
-
parallel (1.
|
25
|
-
parser (3.
|
26
|
+
parallel (1.26.3)
|
27
|
+
parser (3.3.6.0)
|
26
28
|
ast (~> 2.4.1)
|
29
|
+
racc
|
30
|
+
racc (1.8.1)
|
27
31
|
rack (3.0.0)
|
28
32
|
rainbow (3.1.1)
|
29
33
|
rake (13.0.6)
|
30
|
-
regexp_parser (2.
|
31
|
-
|
32
|
-
rubocop (1.39.0)
|
34
|
+
regexp_parser (2.9.2)
|
35
|
+
rubocop (1.68.0)
|
33
36
|
json (~> 2.3)
|
37
|
+
language_server-protocol (>= 3.17.0)
|
34
38
|
parallel (~> 1.10)
|
35
|
-
parser (>= 3.
|
39
|
+
parser (>= 3.3.0.2)
|
36
40
|
rainbow (>= 2.2.2, < 4.0)
|
37
|
-
regexp_parser (>=
|
38
|
-
|
39
|
-
rubocop-ast (>= 1.23.0, < 2.0)
|
41
|
+
regexp_parser (>= 2.4, < 3.0)
|
42
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
40
43
|
ruby-progressbar (~> 1.7)
|
41
|
-
unicode-display_width (>=
|
42
|
-
rubocop-ast (1.
|
43
|
-
parser (>= 3.
|
44
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
45
|
+
rubocop-ast (1.36.1)
|
46
|
+
parser (>= 3.3.1.0)
|
47
|
+
rubocop-obsession (0.1.11)
|
48
|
+
activesupport
|
49
|
+
rubocop (~> 1.41)
|
44
50
|
rubocop-performance (1.15.1)
|
45
51
|
rubocop (>= 1.7.0, < 2.0)
|
46
52
|
rubocop-ast (>= 0.4.0)
|
@@ -50,10 +56,10 @@ GEM
|
|
50
56
|
rubocop (>= 1.33.0, < 2.0)
|
51
57
|
rubocop-rspec (2.15.0)
|
52
58
|
rubocop (~> 1.33)
|
53
|
-
ruby-progressbar (1.
|
59
|
+
ruby-progressbar (1.13.0)
|
54
60
|
tzinfo (2.0.5)
|
55
61
|
concurrent-ruby (~> 1.0)
|
56
|
-
unicode-display_width (2.
|
62
|
+
unicode-display_width (2.6.0)
|
57
63
|
|
58
64
|
PLATFORMS
|
59
65
|
ruby
|
data/default.yml
CHANGED
@@ -2,6 +2,7 @@ require:
|
|
2
2
|
- rubocop-performance
|
3
3
|
- rubocop-rails
|
4
4
|
- rubocop-rspec
|
5
|
+
- rubocop-obsession
|
5
6
|
|
6
7
|
AllCops:
|
7
8
|
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
@@ -264,6 +265,10 @@ Style/TrivialAccessors:
|
|
264
265
|
Style/GuardClause:
|
265
266
|
Enabled: true
|
266
267
|
|
268
|
+
Obsession/MethodOrder:
|
269
|
+
Enabled: true
|
270
|
+
Severity: info
|
271
|
+
|
267
272
|
Performance/FlatMap:
|
268
273
|
Enabled: true
|
269
274
|
|
@@ -282,6 +287,9 @@ Performance/RegexpMatch:
|
|
282
287
|
RSpec/ContextWording:
|
283
288
|
Enabled: false
|
284
289
|
|
290
|
+
RSpec/ContextMethod:
|
291
|
+
Severity: info
|
292
|
+
|
285
293
|
RSpec/ExampleLength:
|
286
294
|
Max: 16
|
287
295
|
|
data/lib/sequra/style/version.rb
CHANGED
data/sequra-style.gemspec
CHANGED
@@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_dependency "rubocop-performance", "~> 1"
|
26
26
|
spec.add_dependency "rubocop-rails", "~> 2"
|
27
27
|
spec.add_dependency "rubocop-rspec", "~> 2"
|
28
|
+
spec.add_dependency "rubocop-obsession", "~> 0.1.11"
|
28
29
|
|
29
30
|
spec.add_development_dependency "bundler", "~> 2.1.4"
|
30
31
|
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.3.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: 2024-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2'
|
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.1.11
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.1.11
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: bundler
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|