rubocop-nosolosoftware 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/rubocop-performance.yml +29 -9
- data/rubocop-style.yml +4 -0
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc810e1d9062199b0c0b36a25525b303e8858fbad3a9171dd8c2d4bfa8be1c01
|
4
|
+
data.tar.gz: c6de1928007bec97e01cb1877174ad501e2b79c39771d3932c8e95dc8c7c5c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '078c0c3e9c70626d552a0bb37352f7ca0b7ec278829f62ca7782ee42b5a2bc2cf88c3bd09d0f9d2524302e532e9469d220a6f405c122b00fb48faad71fd3a8e8'
|
7
|
+
data.tar.gz: 3171eb2a61170ca41b00cc2ceace94e779fa590dd850c246ecd086ef268c153c22d2b65852e4d642c33dccf4af0ecaa1064d8beaa63233d636af5cde14a37aba
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## 1.3.0 - 2020-11-25
|
9
|
+
### Added
|
10
|
+
- Added new rules introduced in the last version.
|
11
|
+
- rubocop
|
12
|
+
- Style/RedundantArgument (1.4)
|
13
|
+
- rubocop-performance
|
14
|
+
- Performance/ArraySemiInfiniteRangeSlice (1.9)
|
15
|
+
- Performance/BlockGivenWithExplicitBlock (1.9)
|
16
|
+
- Performance/CollectionLiteralInLoop (1.8)
|
17
|
+
- Performance/ConstantRegexp (1.9)
|
18
|
+
- Performance/MethodObjectAsBlock (1.9)
|
19
|
+
|
8
20
|
## 1.2.0 - 2020-11-13
|
9
21
|
### Added
|
10
22
|
- Added new rules introduced in the last version.
|
data/rubocop-performance.yml
CHANGED
@@ -4,38 +4,58 @@
|
|
4
4
|
|
5
5
|
require: rubocop-performance
|
6
6
|
|
7
|
-
# https://docs.rubocop.org/rubocop-performance/
|
7
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceancestorsinclude
|
8
8
|
Performance/AncestorsInclude:
|
9
9
|
Enabled: true
|
10
10
|
|
11
|
-
# https://docs.rubocop.org/rubocop-performance/
|
11
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancebigdecimalwithnumericargument
|
12
12
|
Performance/BigDecimalWithNumericArgument:
|
13
13
|
Enabled: false
|
14
14
|
|
15
|
-
# https://docs.rubocop.org/rubocop-performance/
|
15
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantsortblock
|
16
16
|
Performance/RedundantSortBlock:
|
17
17
|
Enabled: true
|
18
18
|
|
19
|
-
# https://docs.rubocop.org/rubocop-performance/
|
19
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantstringchars
|
20
20
|
Performance/RedundantStringChars:
|
21
21
|
Enabled: true
|
22
22
|
|
23
|
-
# https://docs.rubocop.org/rubocop-performance/
|
23
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancereversefirst
|
24
24
|
Performance/ReverseFirst:
|
25
25
|
Enabled: true
|
26
26
|
|
27
|
-
# https://docs.rubocop.org/rubocop-performance/
|
27
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesortreverse
|
28
28
|
Performance/SortReverse:
|
29
29
|
Enabled: true
|
30
30
|
|
31
|
-
# https://docs.rubocop.org/rubocop-performance/
|
31
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesqueeze
|
32
32
|
Performance/Squeeze:
|
33
33
|
Enabled: true
|
34
34
|
|
35
|
-
# https://docs.rubocop.org/rubocop-performance/
|
35
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancestringinclude
|
36
36
|
Performance/StringInclude:
|
37
37
|
Enabled: true
|
38
38
|
|
39
|
-
# https://docs.rubocop.org/rubocop-performance/
|
39
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesum
|
40
40
|
Performance/Sum:
|
41
41
|
Enabled: true
|
42
|
+
|
43
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancearraysemiinfiniterangeslice
|
44
|
+
Performance/ArraySemiInfiniteRangeSlice:
|
45
|
+
Enabled: true
|
46
|
+
|
47
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceblockgivenwithexplicitblock
|
48
|
+
Performance/BlockGivenWithExplicitBlock:
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancecollectionliteralinloop
|
52
|
+
Performance/CollectionLiteralInLoop:
|
53
|
+
Enabled: true
|
54
|
+
|
55
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceconstantregexp
|
56
|
+
Performance/ConstantRegexp:
|
57
|
+
Enabled: true
|
58
|
+
|
59
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemethodobjectasblock
|
60
|
+
Performance/MethodObjectAsBlock:
|
61
|
+
Enabled: true
|
data/rubocop-style.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-nosolosoftware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Aranda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.9'
|
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: '1.
|
54
|
+
version: '1.9'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,8 +125,8 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
|
125
125
|
licenses:
|
126
126
|
- MIT
|
127
127
|
metadata:
|
128
|
-
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.
|
129
|
-
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.
|
128
|
+
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.3.0
|
129
|
+
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.3.0/CHANGELOG.md
|
130
130
|
homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
131
131
|
post_install_message:
|
132
132
|
rdoc_options:
|
@@ -144,7 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
|
147
|
+
rubyforge_project:
|
148
|
+
rubygems_version: 2.7.6.2
|
148
149
|
signing_key:
|
149
150
|
specification_version: 4
|
150
151
|
summary: Default Rubocop configuration used in NoSoloSoftware developments
|