niftany 0.5.1 → 0.6.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/.rubocop_todo.yml +1 -1
- data/niftany.gemspec +2 -2
- data/niftany_erblint.yml +2 -2
- data/niftany_rubocop_rspec.yml +8 -0
- data/rubocop/layout.yml +7 -1
- data/rubocop/lint.yml +2 -2
- data/rubocop/metrics.yml +4 -7
- data/rubocop/naming.yml +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9abeee3b464717d39fddfc768e50003c9e793c75671b60cc2f18b43ef266ce9
|
|
4
|
+
data.tar.gz: f69837fbecd6055ea1e0aff51a2bad8bf4f3cb615a50480aaab79e1bf4e48f94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df22ed1d801d4b8e9957f869d70297c5d944c73dd75b16070ff99f2642ebc3988022cfe1518714c281569160387e6e5d6babe3f3ee1ecafbc0ea4ce69d9c9de0
|
|
7
|
+
data.tar.gz: 791ad56d0602ee34e03b609bbe415f40f4e8f701f236cffc28906fb919036a04cc5b538065ad032b619cdf4a11405c89b76cef3fec8a886e9e8fed75c3081445
|
data/.rubocop_todo.yml
CHANGED
data/niftany.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = 'niftany'
|
|
5
|
-
spec.version = '0.
|
|
5
|
+
spec.version = '0.6.0'
|
|
6
6
|
spec.authors = ['Adam Wead']
|
|
7
7
|
spec.email = ['amsterdamos@gmail.com']
|
|
8
8
|
spec.summary = 'Manages configurations and versions of linters used in projects at '\
|
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
|
15
15
|
|
|
16
16
|
spec.add_dependency 'colorize', '~> 0.8.1'
|
|
17
17
|
spec.add_dependency 'erb_lint', '~> 0.0.22'
|
|
18
|
-
spec.add_dependency 'rubocop', '~> 0.
|
|
18
|
+
spec.add_dependency 'rubocop', '~> 0.79'
|
|
19
19
|
spec.add_dependency 'rubocop-performance', '~> 1.1'
|
|
20
20
|
spec.add_dependency 'rubocop-rails', '~> 2.3'
|
|
21
21
|
spec.add_dependency 'rubocop-rspec', '~> 1.3'
|
data/niftany_erblint.yml
CHANGED
|
@@ -22,7 +22,7 @@ linters:
|
|
|
22
22
|
- niftany_rubocop_rails.yml
|
|
23
23
|
Layout/InitialIndentation:
|
|
24
24
|
Enabled: false
|
|
25
|
-
Layout/
|
|
25
|
+
Layout/TrailingEmptyLines:
|
|
26
26
|
Enabled: false
|
|
27
27
|
Layout/TrailingWhitespace:
|
|
28
28
|
Enabled: false
|
|
@@ -30,7 +30,7 @@ linters:
|
|
|
30
30
|
Enabled: false
|
|
31
31
|
Style/FrozenStringLiteralComment:
|
|
32
32
|
Enabled: false
|
|
33
|
-
|
|
33
|
+
Layout/LineLength:
|
|
34
34
|
Enabled: false
|
|
35
35
|
Lint/UselessAssignment:
|
|
36
36
|
Enabled: false
|
data/niftany_rubocop_rspec.yml
CHANGED
data/rubocop/layout.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
Layout/
|
|
2
|
+
Layout/ParameterAlignment:
|
|
3
3
|
Description: 'Here we check if the parameters on a multi-line method call or definition are aligned.'
|
|
4
4
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-double-indent'
|
|
5
5
|
Enabled: false
|
|
@@ -46,3 +46,9 @@ Layout/IndentationConsistency:
|
|
|
46
46
|
Layout/MultilineBlockLayout:
|
|
47
47
|
Description: 'Checks whether the multiline do end blocks have a newline after the start of the block.'
|
|
48
48
|
Enabled: true
|
|
49
|
+
|
|
50
|
+
Layout/LineLength:
|
|
51
|
+
Description: 'Limit lines to 120 characters.'
|
|
52
|
+
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
|
|
53
|
+
Enabled: true
|
|
54
|
+
Max: 120
|
data/rubocop/lint.yml
CHANGED
|
@@ -25,7 +25,7 @@ Lint/DeprecatedClassMethods:
|
|
|
25
25
|
Description: 'Check for deprecated class method calls.'
|
|
26
26
|
Enabled: false
|
|
27
27
|
|
|
28
|
-
Lint/
|
|
28
|
+
Lint/DuplicateHashKey:
|
|
29
29
|
Description: 'Check for duplicate keys in hash literals.'
|
|
30
30
|
Enabled: true
|
|
31
31
|
|
|
@@ -41,7 +41,7 @@ Lint/FormatParameterMismatch:
|
|
|
41
41
|
Description: 'The number of parameters to format/sprint must match the fields.'
|
|
42
42
|
Enabled: false
|
|
43
43
|
|
|
44
|
-
Lint/
|
|
44
|
+
Lint/SuppressedException:
|
|
45
45
|
Description: "Don't suppress exception."
|
|
46
46
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
|
|
47
47
|
Enabled: false
|
data/rubocop/metrics.yml
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
+
Metrics/BlockLength:
|
|
3
|
+
Exclude:
|
|
4
|
+
- 'spec/**/*'
|
|
5
|
+
|
|
2
6
|
Metrics/BlockNesting:
|
|
3
7
|
Description: 'Avoid excessive block nesting'
|
|
4
8
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count'
|
|
@@ -30,13 +34,6 @@ Metrics/PerceivedComplexity:
|
|
|
30
34
|
the reader experiences when looking at a method
|
|
31
35
|
Enabled: true
|
|
32
36
|
|
|
33
|
-
# Override style guide to allow length of up to 120 characters.
|
|
34
|
-
Metrics/LineLength:
|
|
35
|
-
Description: 'Limit lines to 120 characters.'
|
|
36
|
-
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
|
|
37
|
-
Enabled: true
|
|
38
|
-
Max: 120
|
|
39
|
-
|
|
40
37
|
Metrics/MethodLength:
|
|
41
38
|
Description: 'Avoid methods longer than 10 lines of code.'
|
|
42
39
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
|
data/rubocop/naming.yml
CHANGED
|
@@ -21,7 +21,7 @@ Naming/BinaryOperatorParameterName:
|
|
|
21
21
|
Naming/PredicateName:
|
|
22
22
|
Description: 'Check the names of predicate methods.'
|
|
23
23
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
|
|
24
|
-
|
|
24
|
+
ForbiddenPrefixes:
|
|
25
25
|
- is_
|
|
26
26
|
|
|
27
27
|
Naming/VariableName:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: niftany
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam Wead
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: colorize
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0.
|
|
47
|
+
version: '0.79'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0.
|
|
54
|
+
version: '0.79'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rubocop-performance
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
189
189
|
- !ruby/object:Gem::Version
|
|
190
190
|
version: '0'
|
|
191
191
|
requirements: []
|
|
192
|
-
rubygems_version: 3.0.
|
|
192
|
+
rubygems_version: 3.0.6
|
|
193
193
|
signing_key:
|
|
194
194
|
specification_version: 4
|
|
195
195
|
summary: Manages configurations and versions of linters used in projects at Penn State
|