niftany 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 480a861df2f423d46274cfc36d1d43f2e53c27cdfe0a2137bd94b9e689f97ce2
4
- data.tar.gz: 88fe833628ae24a2618fcf57ed8ecc71e169aa4602177f6beb1c36284f0c21ab
3
+ metadata.gz: e5b801d5985ad6c11ec4706bd94feb1b7a7f753de84adf9ed0c85cf7b7b1b3ef
4
+ data.tar.gz: ce6954da71214aed3e559e19b6ebe54edc1fb43d2d246d640461f5741155f0e9
5
5
  SHA512:
6
- metadata.gz: 1741e91ee84d4ca1e72066fab2d0d00cb869a73696a03f639a5774d3a6bde56a5a1e87b37f888238c4baa656ea425402d506fa5cfe9b5de7cae8512e2294dcb3
7
- data.tar.gz: 7c01795d03f0aa6c1061faa348270171ffc4f2e724b12f02b89362812cc953569a4aef95e0d8de89c22437cad6911d54d7ac58046bd24c7fa8cb1f0d40a55437
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.3.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.51', '<= 0.52.1'
20
- spec.add_dependency 'rubocop-rspec', '~> 1.22', '<= 1.22.2'
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'
@@ -1,14 +1,4 @@
1
1
  ---
2
- AllCops:
3
- Include:
4
- - '**/Rakefile'
5
- - '**/config.ru'
6
- Exclude:
7
- - 'db/**/*'
8
- - 'script/**/*'
9
- - 'tmp/**/*'
10
- - 'vendor/**/*'
11
-
12
2
  Rails/Delegate:
13
3
  Description: 'Prefer delegate method for delegations.'
14
4
  Enabled: false
@@ -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/TrailingCommaInLiteral:
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
- Lint/ConditionPosition:
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.3.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: 2018-10-24 00:00:00.000000000 Z
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.51'
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.51'
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.22'
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.22'
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