niftany 0.9.0 → 0.10.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: e7d595491f6830b1348ae95055cfcc9f07c7aa63aa4d3f2ec480131a2b954fcd
4
- data.tar.gz: 68501f826457628cec281a8f0dcbe406d225c432b6a244780ac6705d3cbd54a1
3
+ metadata.gz: c716a5f1dfa46762fa014801cfb3d3e4034e35384ddecb1962934a86fd66121d
4
+ data.tar.gz: dd64a751bd791c735de1fb648aefb6919e7fa592ca3cb2364da29fd687bca54e
5
5
  SHA512:
6
- metadata.gz: da186b9080ca9587e1354369716cb00a01ab1b6117e0e61a659bab1890499f12d580c977152699465d2bc3edcacc63534694817c10d9d48b7047e21450edea94
7
- data.tar.gz: 7c8507cc4510803d5044df304b46a4c4448e15e5296a91e41a7cc640cf0414957f4a1200e42e5df93e00ca84f5c2fb81df194ec4285d9660e0a022400974954c
6
+ metadata.gz: ca185bf9248da81b41f6b0070c84da98aebf78848ae0a7a5c62a632e9be0eda63b0c011d7bf374e8a366443788f0174e0a1fc7993df25c349c18749744cefe39
7
+ data.tar.gz: 4f976b48e699c120af2d9bb8ee9201f874949f47f513de5530da71dbc12d990b3927964dc3d5a70ff5ae45fc3560ca446489179bd378084b3891de20268e2dbd
@@ -12,7 +12,7 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: ['2.6', '2.7']
15
+ ruby-version: ['2.6', '2.7', '3.1']
16
16
 
17
17
  steps:
18
18
  - uses: actions/checkout@v2
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 = OpenStruct.new
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', '--auto-correct', 'Correct violations') do |auto|
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('--auto-correct') if options.auto_correct
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.9.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', '~> 0.79'
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', '~> 1.3'
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.9.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: 2021-04-21 00:00:00.000000000 Z
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: '0.79'
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: '0.79'
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: '1.3'
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: '1.3'
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
- post_install_message:
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.4
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.