rubocop-traitify 0.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_traitify.yml +2 -0
- data/README.md +0 -5
- data/config/default.yml +1 -0
- data/config/rubocop-layout.yml +5 -1
- data/config/rubocop-rails.yml +2 -0
- data/config/rubocop-todo.yml +2 -6
- data/lib/rubocop/traitify/version.rb +1 -1
- data/rubocop-traitify.gemspec +3 -3
- metadata +8 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feda3746b63620b9eb532f8d1196d0ad0244a1fe601c295c3114dc8da374ca17
|
4
|
+
data.tar.gz: ffbd4c54880b60291905ac69967933fd70c3e399c8953b8468d067f661d11110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c33aaaac1de66a37590caed20a0ceca2f540a1a62321e243e8278853faaf4583dd60a8fd2fa9ab64bc8d7996f9dff1751957b9e919c93dc9e7395946eb06ae0f
|
7
|
+
data.tar.gz: 199004e84c0d41784620b59cb0781c51774f68072681d30471d7987a92fd9274e2c99ecb001eb929923360664c3a8783251cd2820ef94e5f5dea52bb4cc4f5eb
|
data/README.md
CHANGED
@@ -4,12 +4,7 @@ Traitify's default configuration for [RuboCop](https://github.com/rubocop-hq/rub
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
Until `rubocop-airbnb` is updated to support ruby 2.6 a fork is required
|
8
|
-
|
9
7
|
```
|
10
|
-
gem "rubocop-airbnb",
|
11
|
-
git: "https://github.com/mcamara/ruby.git",
|
12
|
-
glob: "rubocop-airbnb/*.gemspec" # Until airbnb supports ruby 2.6
|
13
8
|
gem "rubocop-traitify"
|
14
9
|
```
|
15
10
|
|
data/config/default.yml
CHANGED
data/config/rubocop-layout.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Layout/
|
1
|
+
Layout/ArgumentAlignment:
|
2
2
|
Enabled: true
|
3
3
|
EnforcedStyle: with_fixed_indentation
|
4
4
|
|
@@ -14,6 +14,10 @@ Layout/EndAlignment:
|
|
14
14
|
Enabled: true
|
15
15
|
EnforcedStyleAlignWith: start_of_line
|
16
16
|
|
17
|
+
Layout/ParameterAlignment:
|
18
|
+
Enabled: true
|
19
|
+
EnforcedStyle: with_fixed_indentation
|
20
|
+
|
17
21
|
Layout/SpaceBeforeBlockBraces:
|
18
22
|
Enabled: true
|
19
23
|
EnforcedStyle: no_space
|
data/config/rubocop-todo.yml
CHANGED
@@ -1,11 +1,7 @@
|
|
1
|
-
# TODO: Disabled until rule fixed for symbols
|
2
|
-
Airbnb/ClassName:
|
3
|
-
Enabled: false
|
4
|
-
|
5
1
|
# TODO: Disabled until rule fixed for symbols
|
6
2
|
Airbnb/FactoryClassUseString:
|
7
3
|
Enabled: false
|
8
4
|
|
9
|
-
#
|
10
|
-
|
5
|
+
# Disabled until rubocop 1.7.0
|
6
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
11
7
|
Enabled: false
|
data/rubocop-traitify.gemspec
CHANGED
@@ -14,15 +14,15 @@ Gem::Specification.new do |spec|
|
|
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.3"
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
spec.files = Dir[
|
20
20
|
"{config,lib}/**/*",
|
21
21
|
"*.md",
|
22
22
|
"*.gemspec",
|
23
|
+
".rubocop_traitify.yml",
|
23
24
|
"Gemfile"
|
24
25
|
]
|
25
26
|
|
26
|
-
spec.add_dependency("rubocop", "~> 0.
|
27
|
-
spec.add_dependency("rubocop-airbnb", "~> 2.0.0")
|
27
|
+
spec.add_dependency("rubocop-airbnb", "~> 4.0.0")
|
28
28
|
end
|
metadata
CHANGED
@@ -1,43 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-traitify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Prats
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rubocop
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.62.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 0.62.0
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rubocop-airbnb
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
19
|
+
version: 4.0.0
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
26
|
+
version: 4.0.0
|
41
27
|
description: |2
|
42
28
|
Traitify's Ruby configuration for Rubocop. Heavily influenced by (as well as dependent on)
|
43
29
|
Airbnb's https://github.com/airbnb/ruby
|
@@ -47,11 +33,13 @@ executables: []
|
|
47
33
|
extensions: []
|
48
34
|
extra_rdoc_files: []
|
49
35
|
files:
|
36
|
+
- ".rubocop_traitify.yml"
|
50
37
|
- README.md
|
51
38
|
- config/default.yml
|
52
39
|
- config/rubocop-airbnb.yml
|
53
40
|
- config/rubocop-layout.yml
|
54
41
|
- config/rubocop-lint.yml
|
42
|
+
- config/rubocop-rails.yml
|
55
43
|
- config/rubocop-style.yml
|
56
44
|
- config/rubocop-todo.yml
|
57
45
|
- lib/rubocop-traitify.rb
|
@@ -71,14 +59,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
59
|
requirements:
|
72
60
|
- - ">="
|
73
61
|
- !ruby/object:Gem::Version
|
74
|
-
version: '2.
|
62
|
+
version: '2.3'
|
75
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
64
|
requirements:
|
77
65
|
- - ">="
|
78
66
|
- !ruby/object:Gem::Version
|
79
67
|
version: '0'
|
80
68
|
requirements: []
|
81
|
-
rubygems_version: 3.
|
69
|
+
rubygems_version: 3.1.6
|
82
70
|
signing_key:
|
83
71
|
specification_version: 4
|
84
72
|
summary: Default Rubocop config for Traitify Apps
|