niftany 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/niftany.gemspec +1 -1
- data/rubocop/layout.yml +3 -0
- data/rubocop/lint.yml +7 -0
- data/rubocop/style.yml +12 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 824cf0011b28eaa542f0873d3095e946d5318829d12e3064a21afe48ddad4567
|
4
|
+
data.tar.gz: 2d7fea8225e5e6db898cec5122c0457720d9ef037ee328b5d31de1c36693fcfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47affa6bb169e7741165c28780abf42314b318d41edc89edaf2d054fdd1ba13bc8f96b7eec8c849fe529ebfe177077e60e1bdccffac175031c3eef5fa2bca436
|
7
|
+
data.tar.gz: 3155909e6b7023f5e9f7e26526dbee3a740a5f35c876ca0570eda473a89fbca34a262e10521bd3f72c64acd3633553b827fb62563ade0daf5a4d5f7b45c1f5e3
|
data/.rubocop.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
inherit_from: .
|
1
|
+
inherit_from: niftany_rubocop.yml
|
2
2
|
|
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.7.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 '\
|
data/rubocop/layout.yml
CHANGED
data/rubocop/lint.yml
CHANGED
@@ -101,3 +101,10 @@ Lint/UselessAssignment:
|
|
101
101
|
Checks for every useless assignment to local variable in every scope.
|
102
102
|
The basic idea for this cop was from the warning of `ruby -cw`:'
|
103
103
|
Enabled: true
|
104
|
+
|
105
|
+
Lint/RaiseException:
|
106
|
+
Description: 'This cop checks for raise or fail statements which are raising Exception class.'
|
107
|
+
Enabled: true
|
108
|
+
|
109
|
+
Lint/StructNewOverride:
|
110
|
+
Enabled: true
|
data/rubocop/style.yml
CHANGED
@@ -19,12 +19,6 @@ Style/Attr:
|
|
19
19
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr'
|
20
20
|
Enabled: false
|
21
21
|
|
22
|
-
Style/BracesAroundHashParameters:
|
23
|
-
Description: >-
|
24
|
-
Checks for braces around the last parameter in a method call if the last parameter is a hash.
|
25
|
-
It supports 3 styles: braces, no_braces, context_dependent
|
26
|
-
Enabled: true
|
27
|
-
|
28
22
|
Style/CaseEquality:
|
29
23
|
Description: 'Avoid explicit use of the case equality operator(===).'
|
30
24
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-case-equality'
|
@@ -315,3 +309,15 @@ Style/Sample:
|
|
315
309
|
`shuffle.last`, and `shuffle[Fixnum]`.
|
316
310
|
Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
|
317
311
|
Enabled: false
|
312
|
+
|
313
|
+
Style/ExponentialNotation:
|
314
|
+
Enabled: true
|
315
|
+
|
316
|
+
Style/HashEachMethods:
|
317
|
+
Enabled: true
|
318
|
+
|
319
|
+
Style/HashTransformKeys:
|
320
|
+
Enabled: false
|
321
|
+
|
322
|
+
Style/HashTransformValues:
|
323
|
+
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.7.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: 2020-
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -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.
|
192
|
+
rubygems_version: 3.1.2
|
193
193
|
signing_key:
|
194
194
|
specification_version: 4
|
195
195
|
summary: Manages configurations and versions of linters used in projects at Penn State
|