rubocop-traitify 1.1.0 → 1.3.0.pre.alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default.yml +0 -1
- data/config/rubocop-airbnb.yml +2 -3
- data/config/rubocop-layout.yml +6 -0
- data/config/rubocop-lint.yml +1 -0
- data/config/rubocop-rails.yml +9 -0
- data/config/rubocop-style.yml +5 -0
- data/lib/rubocop/traitify/version.rb +1 -1
- data/rubocop-traitify.gemspec +3 -3
- metadata +12 -13
- data/config/rubocop-todo.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d0a9b6b2cee2cc2bbb71673cc85b1d4600abea2223825ceaa586a39ef15e8f4
|
4
|
+
data.tar.gz: e469ef26a60dbe8c342bf30f2ee9c03faabd299c719daf91df22de492bb8699f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82363b0dfa4c5b8e28286dc19e99e7951f9f71bbebb5ddb9f023d045f9da1539a3ef4df8934ed956ade0799684c197ecb87d38610aa0f35c3bd7a2d2fc66e9b3
|
7
|
+
data.tar.gz: ed02d999eb27ba04edeed43aa39a59253140646db70317ea5328038b825a9e6a8a65c256c153834abc1ff4e146c228024002bf6cd68e5230842f0c844c850dcf
|
data/config/default.yml
CHANGED
data/config/rubocop-airbnb.yml
CHANGED
data/config/rubocop-layout.yml
CHANGED
@@ -14,6 +14,12 @@ Layout/EndAlignment:
|
|
14
14
|
Enabled: true
|
15
15
|
EnforcedStyleAlignWith: start_of_line
|
16
16
|
|
17
|
+
Layout/FirstMethodParameterLineBreak:
|
18
|
+
Enabled: true
|
19
|
+
|
20
|
+
Layout/MultilineMethodParameterLineBreaks:
|
21
|
+
Enabled: true
|
22
|
+
|
17
23
|
Layout/ParameterAlignment:
|
18
24
|
Enabled: true
|
19
25
|
EnforcedStyle: with_fixed_indentation
|
data/config/rubocop-lint.yml
CHANGED
data/config/rubocop-rails.yml
CHANGED
data/config/rubocop-style.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# NOTE: Helpful for chaining and simplicity
|
1
2
|
Style/BlockDelimiters:
|
2
3
|
Enabled: false
|
3
4
|
|
@@ -6,12 +7,15 @@ Style/MixinUsage:
|
|
6
7
|
Exclude:
|
7
8
|
- bin/*
|
8
9
|
|
10
|
+
# NOTE: Easy to understand
|
9
11
|
Style/MultilineIfModifier:
|
10
12
|
Enabled: false
|
11
13
|
|
14
|
+
# NOTE: Easy to understand
|
12
15
|
Style/MultilineTernaryOperator:
|
13
16
|
Enabled: false
|
14
17
|
|
18
|
+
# NOTE: Prefer an array
|
15
19
|
Style/PercentLiteralDelimiters:
|
16
20
|
Enabled: false
|
17
21
|
|
@@ -19,6 +23,7 @@ Style/RaiseArgs:
|
|
19
23
|
Enabled: true
|
20
24
|
EnforcedStyle: compact
|
21
25
|
|
26
|
+
# NOTE: Easy to understand
|
22
27
|
Style/RescueModifier:
|
23
28
|
Enabled: false
|
24
29
|
|
data/rubocop-traitify.gemspec
CHANGED
@@ -9,12 +9,12 @@ Gem::Specification.new do |spec|
|
|
9
9
|
Airbnb's https://github.com/airbnb/ruby
|
10
10
|
EOF
|
11
11
|
spec.authors = ["Tom Prats"]
|
12
|
-
spec.email = ["tom@
|
12
|
+
spec.email = ["tom.prats@paradox.ai"]
|
13
13
|
spec.homepage = "https://github.com/traitify/rubocop-traitify"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.version = RuboCop::Traitify::VERSION
|
16
16
|
spec.platform = Gem::Platform::RUBY
|
17
|
-
spec.required_ruby_version = ">= 2.
|
17
|
+
spec.required_ruby_version = ">= 2.7"
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
spec.files = Dir[
|
20
20
|
"{config,lib}/**/*",
|
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
|
|
24
24
|
"Gemfile"
|
25
25
|
]
|
26
26
|
|
27
|
-
spec.add_dependency("rubocop-airbnb", "~>
|
27
|
+
spec.add_dependency("rubocop-airbnb", "~> 7.0.0")
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-traitify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0.pre.alpha.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Prats
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop-airbnb
|
@@ -16,19 +16,19 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 7.0.0
|
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:
|
26
|
+
version: 7.0.0
|
27
27
|
description: |2
|
28
28
|
Traitify's Ruby configuration for Rubocop. Heavily influenced by (as well as dependent on)
|
29
29
|
Airbnb's https://github.com/airbnb/ruby
|
30
30
|
email:
|
31
|
-
- tom@
|
31
|
+
- tom.prats@paradox.ai
|
32
32
|
executables: []
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
@@ -41,7 +41,6 @@ files:
|
|
41
41
|
- config/rubocop-lint.yml
|
42
42
|
- config/rubocop-rails.yml
|
43
43
|
- config/rubocop-style.yml
|
44
|
-
- config/rubocop-todo.yml
|
45
44
|
- lib/rubocop-traitify.rb
|
46
45
|
- lib/rubocop/traitify.rb
|
47
46
|
- lib/rubocop/traitify/inject.rb
|
@@ -51,7 +50,7 @@ homepage: https://github.com/traitify/rubocop-traitify
|
|
51
50
|
licenses:
|
52
51
|
- MIT
|
53
52
|
metadata: {}
|
54
|
-
post_install_message:
|
53
|
+
post_install_message:
|
55
54
|
rdoc_options: []
|
56
55
|
require_paths:
|
57
56
|
- lib
|
@@ -59,15 +58,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
58
|
requirements:
|
60
59
|
- - ">="
|
61
60
|
- !ruby/object:Gem::Version
|
62
|
-
version: '2.
|
61
|
+
version: '2.7'
|
63
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
63
|
requirements:
|
65
|
-
- - "
|
64
|
+
- - ">"
|
66
65
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
66
|
+
version: 1.3.1
|
68
67
|
requirements: []
|
69
|
-
rubygems_version: 3.1.
|
70
|
-
signing_key:
|
68
|
+
rubygems_version: 3.1.4
|
69
|
+
signing_key:
|
71
70
|
specification_version: 4
|
72
71
|
summary: Default Rubocop config for Traitify Apps
|
73
72
|
test_files: []
|