niftany 0.3.0 → 0.4.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/exe/niftany +2 -0
- data/niftany.gemspec +3 -4
- data/niftany_rubocop_rails.yml +0 -10
- data/niftany_rubocop_ruby.yml +2 -10
- metadata +6 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5b801d5985ad6c11ec4706bd94feb1b7a7f753de84adf9ed0c85cf7b7b1b3ef
|
4
|
+
data.tar.gz: ce6954da71214aed3e559e19b6ebe54edc1fb43d2d246d640461f5741155f0e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df3be0f8bfdbc533532a61d9a9829add2c2a1c12ea30d5255d57613efc1fa4e34a4c68e06f6358ecfbac05af2d8fce144096f6fdbf892f1985d397c5250cb9a8
|
7
|
+
data.tar.gz: 41995ab7b9a227420cdfdbc266fda4018b2dcf703cdd8fef0a614fc041f1acac3b022f8e327a4de07282e9cbe03e5b2c5b2419719717115a696a168cb2392162
|
data/exe/niftany
CHANGED
@@ -31,11 +31,13 @@ end
|
|
31
31
|
|
32
32
|
def rubocop_options(options)
|
33
33
|
return [] unless options.auto_correct
|
34
|
+
|
34
35
|
['--auto-correct']
|
35
36
|
end
|
36
37
|
|
37
38
|
def erblint_options(options)
|
38
39
|
return ['--lint-all'] unless options.auto_correct
|
40
|
+
|
39
41
|
['--lint-all', '--autocorrect']
|
40
42
|
end
|
41
43
|
|
data/niftany.gemspec
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
1
|
# frozen_string_literal: true
|
3
2
|
|
4
3
|
Gem::Specification.new do |spec|
|
5
4
|
spec.name = 'niftany'
|
6
|
-
spec.version = '0.
|
5
|
+
spec.version = '0.4.0'
|
7
6
|
spec.authors = ['Adam Wead']
|
8
7
|
spec.email = ['amsterdamos@gmail.com']
|
9
8
|
spec.summary = 'Manages configurations and versions of linters used in projects at '\
|
@@ -16,8 +15,8 @@ Gem::Specification.new do |spec|
|
|
16
15
|
|
17
16
|
spec.add_dependency 'colorize', '~> 0.8.1'
|
18
17
|
spec.add_dependency 'erb_lint', '~> 0.0.22'
|
19
|
-
spec.add_dependency 'rubocop', '~> 0.
|
20
|
-
spec.add_dependency 'rubocop-rspec', '~> 1.
|
18
|
+
spec.add_dependency 'rubocop', '~> 0.61'
|
19
|
+
spec.add_dependency 'rubocop-rspec', '~> 1.3'
|
21
20
|
spec.add_dependency 'scss_lint', '~> 0.55'
|
22
21
|
|
23
22
|
spec.add_development_dependency 'bundler', '~> 1.16'
|
data/niftany_rubocop_rails.yml
CHANGED
data/niftany_rubocop_ruby.yml
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
---
|
2
2
|
AllCops:
|
3
|
-
TargetRubyVersion: 2.3
|
4
3
|
DisplayCopNames: true
|
5
4
|
|
6
5
|
Naming/AccessorMethodName:
|
@@ -356,7 +355,7 @@ Style/TrailingCommaInArguments:
|
|
356
355
|
EnforcedStyleForMultiline: no_comma
|
357
356
|
Enabled: true
|
358
357
|
|
359
|
-
Style/
|
358
|
+
Style/TrailingCommaInArrayLiteral:
|
360
359
|
Description: >-
|
361
360
|
Checks for trailing comma in array and hash literals. Supported styles are:
|
362
361
|
comma
|
@@ -472,7 +471,7 @@ Lint/CircularArgumentReference:
|
|
472
471
|
Description: "Don't refer to the keyword argument in the default value."
|
473
472
|
Enabled: false
|
474
473
|
|
475
|
-
|
474
|
+
Layout/ConditionPosition:
|
476
475
|
Description: >-
|
477
476
|
Checks for condition placed in a confusing position relative to
|
478
477
|
the keyword.
|
@@ -545,13 +544,6 @@ Lint/UnderscorePrefixedVariableName:
|
|
545
544
|
Description: 'Do not use prefix `_` for a variable that is used.'
|
546
545
|
Enabled: false
|
547
546
|
|
548
|
-
Lint/UnneededDisable:
|
549
|
-
Description: >-
|
550
|
-
Checks for rubocop:disable comments that can be removed.
|
551
|
-
Note: this cop is not disabled when disabling all cops.
|
552
|
-
It must be explicitly disabled.
|
553
|
-
Enabled: false
|
554
|
-
|
555
547
|
Lint/Void:
|
556
548
|
Description: 'Possible use of operator/literal/variable in void context.'
|
557
549
|
Enabled: false
|
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.4.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: 2019-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -44,40 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
48
|
-
- - "<="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: 0.52.1
|
47
|
+
version: '0.61'
|
51
48
|
type: :runtime
|
52
49
|
prerelease: false
|
53
50
|
version_requirements: !ruby/object:Gem::Requirement
|
54
51
|
requirements:
|
55
52
|
- - "~>"
|
56
53
|
- !ruby/object:Gem::Version
|
57
|
-
version: '0.
|
58
|
-
- - "<="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 0.52.1
|
54
|
+
version: '0.61'
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
name: rubocop-rspec
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
64
58
|
requirements:
|
65
59
|
- - "~>"
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
version: '1.
|
68
|
-
- - "<="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 1.22.2
|
61
|
+
version: '1.3'
|
71
62
|
type: :runtime
|
72
63
|
prerelease: false
|
73
64
|
version_requirements: !ruby/object:Gem::Requirement
|
74
65
|
requirements:
|
75
66
|
- - "~>"
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version: '1.
|
78
|
-
- - "<="
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 1.22.2
|
68
|
+
version: '1.3'
|
81
69
|
- !ruby/object:Gem::Dependency
|
82
70
|
name: scss_lint
|
83
71
|
requirement: !ruby/object:Gem::Requirement
|