rubocop-nosolosoftware 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7dd335cf3f1b5a31836dcd89709ed6d75b9d8403e4a1a3c6d3a422e04bf06504
4
- data.tar.gz: 195c27383be651b3d3969932819316571d93efa8d93c379057a5e9a96bd3be80
3
+ metadata.gz: c83a65769879a3c1f22426f2676c8fa027c2bd1073f3cb907e93f993addcae35
4
+ data.tar.gz: a222df910618f9b51e9da57daa3a9fc736fa17686b58bfc0c155e49186152180
5
5
  SHA512:
6
- metadata.gz: c4ec157146b6f9b2f7d4d46ce5962e1b203ce70324b7af03bb5c14ef114684bbf2a45ebc99b63e2a7a9417675772de871f4e65626685900c752ea9a3123be540
7
- data.tar.gz: ecaeb8daeaa2149d759a8d94a7661fcde50534ff957a0b3e46561064f2b5289dee12389ed781f65060c4b115699dd7a9e32b35c95e0de9c4e3c29512765ff114
6
+ metadata.gz: e80e154e0dc55f972ccdd4e7e381d53ed4b47a145ea4e870b71b1d80cbc52d971ed91ec06cbdd00ccaf4cdbacbcd1ff61b9e8ff29940c15cad9a832e1bfc6ce1
7
+ data.tar.gz: '001117963311d3a63df48f9b3153f932abbc6036a1a3c781c0a95d1d99cc978b4250f0d2bf22ff06f153657ed20ac2c8e122d8612a4e24f3e4101a1e7d7fb884'
data/CHANGELOG.md CHANGED
@@ -6,6 +6,27 @@ 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.16.0 - 2022-09-01
10
+ - Added new rules
11
+ - rubocop
12
+ - Lint/NonAtomicFileOperation (1.31.0)
13
+ - Layout/LineContinuationLeadingSpace (1.31.0)
14
+ - Layout/LineContinuationSpacing (1.31.0)
15
+ - Style/EmptyHeredoc (1.32.0)
16
+ - Layout/MultilineMethodParameterLineBreaks (1.32.0)
17
+ - Lint/RequireRangeParentheses (1.32.0)
18
+ - Style/MagicCommentFormat (1.35.0)
19
+ - rubocop-rails
20
+ - Rails/DotSeparatedKeys (1.15.0)
21
+ - Rails/StripHeredoc (1.15.0)
22
+ - Rails/ToFormattedS (1.15.0)
23
+ - Rails/RootPublicPath (1.15.0)
24
+ - rubocop-rspec
25
+ - RSpec/Capybara/SpecificMatcher (2.12.0)
26
+ - RSpec/Rails/HaveHttpStatus (2.12.0)
27
+ - Removed rules
28
+ - rubocop
29
+ - Gemspec/DateAssignment
9
30
  ## 1.15.0 - 2022-06-02
10
31
  - Added new rules
11
32
  - rubocop
data/rubocop-gemspec.yml CHANGED
@@ -2,10 +2,6 @@
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_gemspec/
3
3
  #
4
4
 
5
- # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdateassignment
6
- Gemspec/DateAssignment:
7
- Enabled: true
8
-
9
5
  # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecrequiremfa
10
6
  Gemspec/RequireMFA:
11
7
  Enabled: true
@@ -17,3 +13,4 @@ Gemspec/DependencyVersion:
17
13
  # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdeprecatedattributeassignment
18
14
  Gemspec/DeprecatedAttributeAssignment:
19
15
  Enabled: true
16
+
data/rubocop-layout.yml CHANGED
@@ -26,3 +26,15 @@ Layout/SpaceBeforeBrackets:
26
26
  Layout/LineEndStringConcatenationIndentation:
27
27
  Enabled: true
28
28
  EnforcedStyle: aligned
29
+
30
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationleadingspace
31
+ Layout/LineContinuationLeadingSpace:
32
+ Enabled: true
33
+
34
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationspacing
35
+ Layout/LineContinuationSpacing:
36
+ Enabled: true
37
+
38
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutmultilinemethodparameterlinebreaks
39
+ Layout/MultilineMethodParameterLineBreaks:
40
+ Enabled: true
data/rubocop-lint.yml CHANGED
@@ -103,3 +103,15 @@ Lint/UselessRuby2Keywords:
103
103
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintrefinementimportmethods
104
104
  Lint/RefinementImportMethods:
105
105
  Enabled: true
106
+
107
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintnonatomicfileoperation
108
+ Lint/NonAtomicFileOperation:
109
+ Enabled: true
110
+
111
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintconstantoverwritteninrescue
112
+ Lint/ConstantOverwrittenInRescue:
113
+ Enabled: true
114
+
115
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintrequirerangeparentheses
116
+ Lint/RequireRangeParentheses:
117
+ Enabled: true
data/rubocop-rails.yml CHANGED
@@ -205,3 +205,19 @@ Rails/ActionControllerTestCase:
205
205
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstablenameassignment
206
206
  Rails/TableNameAssignment:
207
207
  Enabled: false
208
+
209
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsdotseparatedkeys
210
+ Rails/DotSeparatedKeys:
211
+ Enabled: true
212
+
213
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsstripheredoc
214
+ Rails/StripHeredoc:
215
+ Enabled: true
216
+
217
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstoformatteds
218
+ Rails/ToFormattedS:
219
+ Enabled: true
220
+
221
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrootpublicpath
222
+ Rails/RootPublicPath:
223
+ Enabled: true
data/rubocop-rspec.yml CHANGED
@@ -81,3 +81,11 @@ RSpec/VerifiedDoubleReference:
81
81
  # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecchangebyzero
82
82
  RSpec/ChangeByZero:
83
83
  Enabled: true
84
+
85
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaraspecificmatcher
86
+ RSpec/Capybara/SpecificMatcher:
87
+ Enabled: true
88
+
89
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailshavehttpstatus
90
+ RSpec/Rails/HaveHttpStatus:
91
+ Enabled: true
data/rubocop-style.yml CHANGED
@@ -152,3 +152,12 @@ Style/EnvHome:
152
152
  # https://docs.rubocop.org/rubocop/cops_style.html#stylemapcompactwithconditionalblock
153
153
  Style/MapCompactWithConditionalBlock:
154
154
  Enabled: true
155
+
156
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleemptyheredoc
157
+ Style/EmptyHeredoc:
158
+ Enabled: true
159
+
160
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylemagiccommentformat
161
+ Style/MagicCommentFormat:
162
+ Enabled: true
163
+ EnforcedStyle: snake_case
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.15.0
4
+ version: 1.16.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-06-08 00:00:00.000000000 Z
11
+ date: 2022-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,84 +16,84 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.30'
19
+ version: 1.35.1
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.30'
26
+ version: 1.35.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.1'
33
+ version: 1.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.1'
40
+ version: 1.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-performance
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.14.0
47
+ version: 1.14.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: 1.14.0
54
+ version: 1.14.3
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.14.2
61
+ version: 2.15.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.14.2
68
+ version: 2.15.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.6'
75
+ version: 0.6.0
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.6'
82
+ version: 0.6.0
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.11.1
89
+ version: 2.12.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.11.1
96
+ version: 2.12.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.15.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.15.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.16.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.16.0/CHANGELOG.md
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options: