rubocop-nosolosoftware 1.10.0 → 1.13.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: cd0cbb20529e4b5fecc203b56d7ca1a2e9cd15a9189c1936c453a4a005dca8e4
4
- data.tar.gz: 43d857a4ca3360b09a325ca171be36c3c99d7b921645ed37ac26e8bc5318e830
3
+ metadata.gz: f748f862232301cb934858457dd800cf4416979b2bf79c801ba1efad2048bf9d
4
+ data.tar.gz: 8434ef9fb1c4d8b12e715a0e495b4de41c9a75b23b288f86a22dbbb76942247d
5
5
  SHA512:
6
- metadata.gz: 1e45a70f9a5c194fd11fb7a30206275f70eb7e188ad4b020999d1371b37aa9b520d091c24f4bf2a64c4c307840e64768e55ab7e6ba2b866baec2a801fc935469
7
- data.tar.gz: 48c302a5e7e22314aaf8827e0fd635c0efd467cca11bf5a36689a8e047b45ae991cbe757e3801be90207fa197b77b054b3d17a4cc4508e2e99429c57b7956d17
6
+ metadata.gz: e165a0a2a1f651b6232284ca656e9a3d12dd0aba3727f4c93d13f2d8d6fc67878ad3182c5590fa7dc1bf6e0676ebebed51c867d2fb9435cfd0fa68992b1b1848
7
+ data.tar.gz: 41c02871fd0e884448de005cce849a5f9d81bed9d7912879d026e61b088ab34e93108af39dbdd95962ff28815c1f65f2bd94b6dd29486143237c0b9dde19a6ef
data/CHANGELOG.md CHANGED
@@ -7,6 +7,52 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  The following rules have been added:
9
9
 
10
+ ## 1.13.0 - 2022-02-25
11
+ - Added new rules
12
+ - rubocop
13
+ - Lint/UselessRuby2Keywords (1.23)
14
+ - Style/OpenStructUse (1.23)
15
+ - Gemspec/RequireMFA (1.23)
16
+ - Naming/BlockForwarding (1.24)
17
+ - Style/MapToHash (1.24)
18
+ - Style/FileRead (1.24)
19
+ - Style/FileWrite (1.24)
20
+ - rubocop-rails
21
+ - Rails/RootJoinChain (2.13)
22
+ - Rails/DurationArithmetic (2.13)
23
+ - Rails/RedundantPresenceValidationOnBelongsTo (2.13)
24
+ - Rails/SchemaComment (2.13)
25
+ - rubocop-rspec
26
+ - RSpec/FactoryBot/SyntaxMethods (2.7.0)
27
+
28
+ ## 1.12.1 - 2021-10-13
29
+ - No new changes. Previous gem was yanked.
30
+
31
+ ## 1.12.0 - 2021-10-13
32
+ - Added new rules
33
+ - rubocop
34
+ - Lint/RequireRelativeSelfPath (1.22)
35
+ - Security/IoMethods (1.22)
36
+ - Style/NumberedParameters (1.22)
37
+ - Style/NumberedParametersLimit (1.22)
38
+ - Style/SelectByRegexp (1.22)
39
+
40
+ ## 1.11.0 - 2021-09-28
41
+ - Added new rules
42
+ - rubocop
43
+ - Lint/AmbiguousOperatorPrecedence (1.21)
44
+ - Lint/IncompatibleIoSelectWithFiberScheduler (1.21)
45
+ - rubocop-rails
46
+ - Rails/RedundantTravelBack (2.12)
47
+ - rubocop-rspec
48
+ - RSpec/ExcessiveDocstringSpacing (2.5)
49
+ - RSpec/SubjectDeclaration (2.5)
50
+
51
+ ### Changed
52
+ - Updated dependency rubocop to 1.21
53
+ - Updated dependency rubocop-rails to 2.12
54
+ - Updated dependency rubocop-rspec to 2.5
55
+
10
56
  ## 1.10.0 - 2021-08-25
11
57
  ### Changed
12
58
  - Layout/SpaceAroundEqualsInParameterDefault has been changed to the default value (aka space)
data/rubocop-gemspec.yml CHANGED
@@ -5,3 +5,7 @@
5
5
  # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdateassignment
6
6
  Gemspec/DateAssignment:
7
7
  Enabled: true
8
+
9
+ # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecrequiremfa
10
+ Gemspec/RequireMFA:
11
+ Enabled: true
data/rubocop-lint.yml CHANGED
@@ -83,3 +83,19 @@ Lint/EmptyInPattern:
83
83
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousrange
84
84
  Lint/AmbiguousRange:
85
85
  Enabled: false
86
+
87
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousoperatorprecedence
88
+ Lint/AmbiguousOperatorPrecedence:
89
+ Enabled: true
90
+
91
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintincompatibleioselectwithfiberscheduler
92
+ Lint/IncompatibleIoSelectWithFiberScheduler:
93
+ Enabled: true
94
+
95
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintrequirerelativeselfpath
96
+ Lint/RequireRelativeSelfPath:
97
+ Enabled: true
98
+
99
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessruby2keywords
100
+ Lint/UselessRuby2Keywords:
101
+ Enabled: true
data/rubocop-naming.yml CHANGED
@@ -9,3 +9,8 @@ Naming/VariableNumber:
9
9
  # https://docs.rubocop.org/rubocop/cops_naming.html#naminginclusivelanguage
10
10
  Naming/InclusiveLanguage:
11
11
  Enabled: false
12
+
13
+ # https://docs.rubocop.org/rubocop/cops_naming.html#namingblockforwarding
14
+ Naming/BlockForwarding:
15
+ Enabled: true
16
+ EnforcedStyle: explicit
data/rubocop-rails.yml CHANGED
@@ -145,3 +145,23 @@ Rails/UnusedIgnoredColumns:
145
145
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railseagerevaluationlogmessage
146
146
  Rails/EagerEvaluationLogMessage:
147
147
  Enabled: true
148
+
149
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsredundanttravelback
150
+ Rails/RedundantTravelBack:
151
+ Enabled: true
152
+
153
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrootjoinchain
154
+ Rails/RootJoinChain:
155
+ Enabled: true
156
+
157
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsdurationarithmetic
158
+ Rails/DurationArithmetic:
159
+ Enabled: true
160
+
161
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsredundantpresencevalidationonbelongsto
162
+ Rails/RedundantPresenceValidationOnBelongsTo:
163
+ Enabled: true
164
+
165
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsschemacomment
166
+ Rails/SchemaComment:
167
+ Enabled: false
data/rubocop-rspec.yml CHANGED
@@ -53,3 +53,15 @@ RSpec/Rails/AvoidSetupHook:
53
53
  # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecidenticalequalityassertion
54
54
  RSpec/IdenticalEqualityAssertion:
55
55
  Enabled: true
56
+
57
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecexcessivedocstringspacing
58
+ RSpec/ExcessiveDocstringSpacing:
59
+ Enabled: true
60
+
61
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecsubjectdeclaration
62
+ RSpec/SubjectDeclaration:
63
+ Enabled: true
64
+
65
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotsyntaxmethods
66
+ RSpec/FactoryBot/SyntaxMethods:
67
+ Enabled: true
data/rubocop-security.yml CHANGED
@@ -1,3 +1,7 @@
1
1
  #
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_security/
3
3
  #
4
+
5
+ # https://docs.rubocop.org/rubocop/cops_security.html#securityiomethods
6
+ Security/IoMethods:
7
+ Enabled: true
data/rubocop-style.yml CHANGED
@@ -100,3 +100,31 @@ Style/StringChars:
100
100
  # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantselfassignmentbranch
101
101
  Style/RedundantSelfAssignmentBranch:
102
102
  Enabled: true
103
+
104
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylenumberedparameters
105
+ Style/NumberedParameters:
106
+ Enabled: true
107
+
108
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylenumberedparameterslimit
109
+ Style/NumberedParametersLimit:
110
+ Enabled: true
111
+
112
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleselectbyregexp
113
+ Style/SelectByRegexp:
114
+ Enabled: true
115
+
116
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleopenstructuse
117
+ Style/OpenStructUse:
118
+ Enabled: true
119
+
120
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylemaptohash
121
+ Style/MapToHash:
122
+ Enabled: true
123
+
124
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylefileread
125
+ Style/FileRead:
126
+ Enabled: true
127
+
128
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylefilewrite
129
+ Style/FileWrite:
130
+ Enabled: true
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.10.0
4
+ version: 1.13.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: 2021-08-26 00:00:00.000000000 Z
11
+ date: 2022-03-04 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'
19
+ version: '1.25'
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.19'
26
+ version: '1.25'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.9'
47
+ version: 1.13.2
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.9'
54
+ version: 1.13.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.11'
61
+ version: 2.13.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.11'
68
+ version: 2.13.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.4'
89
+ version: '2.8'
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: '2.4'
96
+ version: '2.8'
97
97
  description: ''
98
98
  email: jaranda@nosolosoftware.es
99
99
  executables: []
@@ -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.10.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.10.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.13.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.13.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,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.1.2
147
+ rubygems_version: 3.2.3
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Default Rubocop configuration used in NoSoloSoftware developments