gnar-style 0.7.0 → 0.8.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 +14 -0
- data/gnar-style.gemspec +3 -1
- data/lib/gnar/style/version.rb +1 -1
- data/rubocop/rubocop.yml +5 -3
- data/rubocop/rubocop_rails.yml +5 -3
- metadata +33 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a392aa51cff85f5dc428ba6d4cbd68e1049518e02016facae1bc8110213f0331
|
|
4
|
+
data.tar.gz: a369237591784580807ffb55edeaae9948057647cc3008d2eac6f3c5f8a31147
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45d677dd66300410f2963f5a57a185dc2ef9997abf2d39f7616ac0afb8ca3002166f174cd4f2db24599e7fca232530f26fbd6a963e9cb9fb5a9e912f1c6a77e8
|
|
7
|
+
data.tar.gz: ad2edbed442087acc825586b7123ffd625a637aa25a4833bac67ee5600ab764d4bde94873cc6b3b7b9ed31d7e763e484c1e6f4663810a41f07843947b51b9776
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
## Current release (in development)
|
|
2
2
|
|
|
3
|
+
## 0.8.0 - 2019-08-08
|
|
4
|
+
|
|
5
|
+
* Include rubocop rails cops. [#41](https://github.com/TheGnarCo/gnar-style/pull/41)
|
|
6
|
+
|
|
7
|
+
[Zach Fletcher](https://github.com/zfletch)
|
|
8
|
+
|
|
9
|
+
* Remove guard clause cop. [#40](https://github.com/TheGnarCo/gnar-style/pull/40)
|
|
10
|
+
|
|
11
|
+
[Taylor Kearns](https://github.com/taylorkearns)
|
|
12
|
+
|
|
13
|
+
* Include rubocop performance cops. [#39](https://github.com/TheGnarCo/gnar-style/pull/39)
|
|
14
|
+
|
|
15
|
+
[Kevin Murphy](https://github.com/kevin-j-m)
|
|
16
|
+
|
|
3
17
|
## 0.7.0 - 2019-05-21
|
|
4
18
|
|
|
5
19
|
* Align method arguments with fixed indentation. [#38](https://github.com/TheGnarCo/gnar-style/pull/38)
|
data/gnar-style.gemspec
CHANGED
|
@@ -19,7 +19,9 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
20
|
spec.require_paths = ["lib"]
|
|
21
21
|
|
|
22
|
-
spec.add_dependency "rubocop", "~> 0.
|
|
22
|
+
spec.add_dependency "rubocop", "~> 0.72"
|
|
23
|
+
spec.add_dependency "rubocop-performance"
|
|
24
|
+
spec.add_dependency "rubocop-rails", "~> 2.2.0"
|
|
23
25
|
spec.add_dependency "thor"
|
|
24
26
|
|
|
25
27
|
spec.add_development_dependency "bundler", "~> 1.14"
|
data/lib/gnar/style/version.rb
CHANGED
data/rubocop/rubocop.yml
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require: rubocop-performance
|
|
2
|
+
|
|
1
3
|
Layout/AlignArguments:
|
|
2
4
|
EnforcedStyle: with_fixed_indentation
|
|
3
5
|
|
|
@@ -22,9 +24,6 @@ Metrics/ModuleLength:
|
|
|
22
24
|
Exclude:
|
|
23
25
|
- 'spec/**/*'
|
|
24
26
|
|
|
25
|
-
Rails/NotNullColumn:
|
|
26
|
-
Enabled: false
|
|
27
|
-
|
|
28
27
|
Style/ConditionalAssignment:
|
|
29
28
|
EnforcedStyle: assign_inside_condition
|
|
30
29
|
IncludeTernaryExpressions: false
|
|
@@ -38,6 +37,9 @@ Style/EmptyMethod:
|
|
|
38
37
|
Style/FrozenStringLiteralComment:
|
|
39
38
|
Enabled: false
|
|
40
39
|
|
|
40
|
+
Style/GuardClause:
|
|
41
|
+
Enabled: false
|
|
42
|
+
|
|
41
43
|
Style/IfUnlessModifier:
|
|
42
44
|
Enabled: false
|
|
43
45
|
|
data/rubocop/rubocop_rails.yml
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
inherit_from: rubocop.yml
|
|
2
2
|
|
|
3
|
+
require: rubocop-rails
|
|
4
|
+
|
|
3
5
|
AllCops:
|
|
4
6
|
Exclude:
|
|
5
7
|
- db/schema.rb
|
|
@@ -7,9 +9,9 @@ AllCops:
|
|
|
7
9
|
- 'node_modules/**/*'
|
|
8
10
|
- 'vendor/**/*'
|
|
9
11
|
|
|
10
|
-
Rails:
|
|
11
|
-
Enabled: true
|
|
12
|
-
|
|
13
12
|
Metrics/MethodLength:
|
|
14
13
|
Exclude:
|
|
15
14
|
- 'db/migrate/**/*'
|
|
15
|
+
|
|
16
|
+
Rails/NotNullColumn:
|
|
17
|
+
Enabled: false
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gnar-style
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- The Gnar Company
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -16,14 +16,42 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.72'
|
|
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: '0.
|
|
26
|
+
version: '0.72'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rubocop-performance
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rubocop-rails
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: 2.2.0
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 2.2.0
|
|
27
55
|
- !ruby/object:Gem::Dependency
|
|
28
56
|
name: thor
|
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
128
156
|
- !ruby/object:Gem::Version
|
|
129
157
|
version: '0'
|
|
130
158
|
requirements: []
|
|
131
|
-
rubygems_version: 3.0.
|
|
159
|
+
rubygems_version: 3.0.4
|
|
132
160
|
signing_key:
|
|
133
161
|
specification_version: 4
|
|
134
162
|
summary: Style guide default configuration for The Gnar Company
|