niftany 0.9.0 → 0.10.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/.github/workflows/ci.yml +1 -1
- data/exe/niftany +3 -3
- data/niftany.gemspec +5 -4
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c716a5f1dfa46762fa014801cfb3d3e4034e35384ddecb1962934a86fd66121d
|
4
|
+
data.tar.gz: dd64a751bd791c735de1fb648aefb6919e7fa592ca3cb2364da29fd687bca54e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca185bf9248da81b41f6b0070c84da98aebf78848ae0a7a5c62a632e9be0eda63b0c011d7bf374e8a366443788f0174e0a1fc7993df25c349c18749744cefe39
|
7
|
+
data.tar.gz: 4f976b48e699c120af2d9bb8ee9201f874949f47f513de5530da71dbc12d990b3927964dc3d5a70ff5ae45fc3560ca446489179bd378084b3891de20268e2dbd
|
data/.github/workflows/ci.yml
CHANGED
data/exe/niftany
CHANGED
@@ -10,14 +10,14 @@ require 'scss_lint/cli'
|
|
10
10
|
require 'colorize'
|
11
11
|
|
12
12
|
def parse_opts(args)
|
13
|
-
options =
|
13
|
+
options = Struct.new('Options', :auto_correct, :parallel).new
|
14
14
|
options.auto_correct = false
|
15
15
|
options.parallel = false
|
16
16
|
|
17
17
|
parser = OptionParser.new do |opts|
|
18
18
|
opts.banner = 'Usage: niftany [options]'
|
19
19
|
|
20
|
-
opts.on('-a', '--
|
20
|
+
opts.on('-a', '--autocorrect', 'Correct violations') do |auto|
|
21
21
|
options.auto_correct = auto
|
22
22
|
end
|
23
23
|
|
@@ -36,7 +36,7 @@ end
|
|
36
36
|
|
37
37
|
def rubocop_options(options)
|
38
38
|
rubocop_options = []
|
39
|
-
rubocop_options.append('--
|
39
|
+
rubocop_options.append('--autocorrect') if options.auto_correct
|
40
40
|
rubocop_options.append('--parallel') if options.parallel
|
41
41
|
rubocop_options
|
42
42
|
end
|
data/niftany.gemspec
CHANGED
@@ -2,10 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'niftany'
|
5
|
-
spec.version = '0.
|
5
|
+
spec.version = '0.10.0'
|
6
|
+
spec.metadata = { 'rubygems_mfa_required' => 'true' }
|
6
7
|
spec.authors = ['Adam Wead']
|
7
8
|
spec.email = ['amsterdamos@gmail.com']
|
8
|
-
spec.summary = 'Manages configurations and versions of linters used in projects at '\
|
9
|
+
spec.summary = 'Manages configurations and versions of linters used in projects at ' \
|
9
10
|
'Penn State University Libraries.'
|
10
11
|
spec.description = 'Combining "nittany" and "nifty" into one, super-nice gem that lints all our code at once.'
|
11
12
|
spec.homepage = 'https://github.com/psu-libraries/niftany'
|
@@ -17,10 +18,10 @@ Gem::Specification.new do |spec|
|
|
17
18
|
|
18
19
|
spec.add_dependency 'colorize', '~> 0.8.1'
|
19
20
|
spec.add_dependency 'erb_lint', '~> 0.0.22'
|
20
|
-
spec.add_dependency 'rubocop', '~>
|
21
|
+
spec.add_dependency 'rubocop', '~> 1.3'
|
21
22
|
spec.add_dependency 'rubocop-performance', '~> 1.1'
|
22
23
|
spec.add_dependency 'rubocop-rails', '~> 2.3'
|
23
|
-
spec.add_dependency 'rubocop-rspec', '~>
|
24
|
+
spec.add_dependency 'rubocop-rspec', '~> 2'
|
24
25
|
spec.add_dependency 'scss_lint', '~> 0.55'
|
25
26
|
|
26
27
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
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.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Wead
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-18 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: '
|
47
|
+
version: '1.3'
|
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: '
|
54
|
+
version: '1.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-performance
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: scss_lint
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,8 +173,9 @@ files:
|
|
173
173
|
- rubocop/style.yml
|
174
174
|
homepage: https://github.com/psu-libraries/niftany
|
175
175
|
licenses: []
|
176
|
-
metadata:
|
177
|
-
|
176
|
+
metadata:
|
177
|
+
rubygems_mfa_required: 'true'
|
178
|
+
post_install_message:
|
178
179
|
rdoc_options: []
|
179
180
|
require_paths:
|
180
181
|
- lib
|
@@ -189,8 +190,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
190
|
- !ruby/object:Gem::Version
|
190
191
|
version: '0'
|
191
192
|
requirements: []
|
192
|
-
rubygems_version: 3.1.
|
193
|
-
signing_key:
|
193
|
+
rubygems_version: 3.1.2
|
194
|
+
signing_key:
|
194
195
|
specification_version: 4
|
195
196
|
summary: Manages configurations and versions of linters used in projects at Penn State
|
196
197
|
University Libraries.
|