rubocop-nosolosoftware 1.14.0 → 1.15.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: d35ce659881527a33d0f730913200c20c64df4f7e7953ef6c647a79662410fc8
4
- data.tar.gz: 81e1d90469a5f721f6a8d1ca571fc65b0b8537cc25acbb043856313e83cec238
3
+ metadata.gz: 7dd335cf3f1b5a31836dcd89709ed6d75b9d8403e4a1a3c6d3a422e04bf06504
4
+ data.tar.gz: 195c27383be651b3d3969932819316571d93efa8d93c379057a5e9a96bd3be80
5
5
  SHA512:
6
- metadata.gz: 61757e1318a3fad6627e4d092263cee7c7ca5873c064d0d70be0a4eaef5c9234d0671d32a93b7178c6908e20c305dc944e243e95c20d7389e6d4fc3de8718bc7
7
- data.tar.gz: 438dd2e9bd99a85861b3071c9120ff3777d57bfe4fbcfe5ce2c001f3d1de66ba8391625d68d598b04e36da861b65852769091de03cc9025afbc754a3724840f8
6
+ metadata.gz: c4ec157146b6f9b2f7d4d46ce5962e1b203ce70324b7af03bb5c14ef114684bbf2a45ebc99b63e2a7a9417675772de871f4e65626685900c752ea9a3123be540
7
+ data.tar.gz: ecaeb8daeaa2149d759a8d94a7661fcde50534ff957a0b3e46561064f2b5289dee12389ed781f65060c4b115699dd7a9e32b35c95e0de9c4e3c29512765ff114
data/CHANGELOG.md CHANGED
@@ -6,6 +6,32 @@ 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
8
  The following rules have been added:
9
+ ## 1.15.0 - 2022-06-02
10
+ - Added new rules
11
+ - rubocop
12
+ - Gemspec/DependencyVersion (1.29)
13
+ - Gemspec/DeprecatedAttributeAssignment (1.30)
14
+ - Lint/RefinementImportMethods (1.27)
15
+ - Security/CompoundHash (1.28)
16
+ - Style/EnvHome (1.29)
17
+ - Style/FetchEnvVar (1.28)
18
+ - Style/MapCompactWithConditionalBlock (1.30)
19
+ - Style/NestedFileDirname (1.26)
20
+ - Style/ObjectThen (1.28)
21
+ - Style/RedundantInitialize (1.27)
22
+ - rubocop-rails
23
+ - Rails/I18nLocaleTexts (2.14)
24
+ - Rails/I18nLazyLookup (2.14)
25
+ - Rails/MigrationClassName (2.14)
26
+ - Rails/DuplicateAssociation (2.14)
27
+ - Rails/DuplicateScope (2.14)
28
+ - Rails/TransactionExitStatement (2.14)
29
+ - Rails/DeprecatedActiveModelErrorsMethods (2.14)
30
+ - Rails/ActionControllerTestCase (2.14)
31
+ - Rails/TableNameAssignment (2.14)
32
+ - rubocop-rspec
33
+ - RSpec/ChangeByZero (2.11.0)
34
+ - RSpec/VerifiedDoubleReference (2.10.0)
9
35
 
10
36
  ## 1.14.0 - 2022-03-04
11
37
  - Added new rules
data/rubocop-gemspec.yml CHANGED
@@ -9,3 +9,11 @@ Gemspec/DateAssignment:
9
9
  # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecrequiremfa
10
10
  Gemspec/RequireMFA:
11
11
  Enabled: true
12
+
13
+ # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdependencyversion
14
+ Gemspec/DependencyVersion:
15
+ Enabled: true
16
+
17
+ # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdeprecatedattributeassignment
18
+ Gemspec/DeprecatedAttributeAssignment:
19
+ Enabled: true
data/rubocop-lint.yml CHANGED
@@ -99,3 +99,7 @@ Lint/RequireRelativeSelfPath:
99
99
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessruby2keywords
100
100
  Lint/UselessRuby2Keywords:
101
101
  Enabled: true
102
+
103
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintrefinementimportmethods
104
+ Lint/RefinementImportMethods:
105
+ Enabled: true
data/rubocop-rails.yml CHANGED
@@ -169,3 +169,39 @@ Rails/SchemaComment:
169
169
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railscompactblank
170
170
  Rails/CompactBlank:
171
171
  Enabled: true
172
+
173
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsi18nlocaletexts
174
+ Rails/I18nLocaleTexts:
175
+ Enabled: true
176
+
177
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsi18nlazylookup
178
+ Rails/I18nLazyLookup:
179
+ Enabled: true
180
+
181
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsmigrationclassname
182
+ Rails/MigrationClassName:
183
+ Enabled: true
184
+
185
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsduplicateassociation
186
+ Rails/DuplicateAssociation:
187
+ Enabled: true
188
+
189
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsduplicatescope
190
+ Rails/DuplicateScope:
191
+ Enabled: true
192
+
193
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstransactionexitstatement
194
+ Rails/TransactionExitStatement:
195
+ Enabled: true
196
+
197
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsdeprecatedactivemodelerrorsmethods
198
+ Rails/DeprecatedActiveModelErrorsMethods:
199
+ Enabled: true
200
+
201
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsactioncontrollertestcase
202
+ Rails/ActionControllerTestCase:
203
+ Enabled: true
204
+
205
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstablenameassignment
206
+ Rails/TableNameAssignment:
207
+ Enabled: false
data/rubocop-rspec.yml CHANGED
@@ -73,3 +73,11 @@ RSpec/BeEq:
73
73
  # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecbenil
74
74
  RSpec/BeNil:
75
75
  Enabled: true
76
+
77
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecverifieddoublereference
78
+ RSpec/VerifiedDoubleReference:
79
+ Enabled: true
80
+
81
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecchangebyzero
82
+ RSpec/ChangeByZero:
83
+ Enabled: true
data/rubocop-security.yml CHANGED
@@ -5,3 +5,7 @@
5
5
  # https://docs.rubocop.org/rubocop/cops_security.html#securityiomethods
6
6
  Security/IoMethods:
7
7
  Enabled: true
8
+
9
+ # https://docs.rubocop.org/rubocop/cops_security.html#securitycompoundhash
10
+ Security/CompoundHash:
11
+ Enabled: true
data/rubocop-style.yml CHANGED
@@ -128,3 +128,27 @@ Style/FileRead:
128
128
  # https://docs.rubocop.org/rubocop/cops_style.html#stylefilewrite
129
129
  Style/FileWrite:
130
130
  Enabled: true
131
+
132
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylenestedfiledirname
133
+ Style/NestedFileDirname:
134
+ Enabled: true
135
+
136
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantinitialize
137
+ Style/RedundantInitialize:
138
+ Enabled: true
139
+
140
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleobjectthen
141
+ Style/ObjectThen:
142
+ Enabled: true
143
+
144
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylefetchenvvar
145
+ Style/FetchEnvVar:
146
+ Enabled: true
147
+
148
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleenvhome
149
+ Style/EnvHome:
150
+ Enabled: true
151
+
152
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylemapcompactwithconditionalblock
153
+ Style/MapCompactWithConditionalBlock:
154
+ 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.14.0
4
+ version: 1.15.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: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-06-08 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.25'
19
+ version: '1.30'
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.25'
26
+ version: '1.30'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,56 +44,56 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.13.2
47
+ version: 1.14.0
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.13.2
54
+ version: 1.14.0
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.13.2
61
+ version: 2.14.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.13.2
68
+ version: 2.14.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.5'
75
+ version: '0.6'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.5'
82
+ version: '0.6'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.9'
89
+ version: 2.11.1
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.9'
96
+ version: 2.11.1
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.14.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.14.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.15.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.15.0/CHANGELOG.md
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options: