rubocop-nosolosoftware 1.12.1 → 1.13.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: 420a8fa0d2344d8b95f374fcc62a1f762e6177c44d59b9bc7b2c97c7372bb60e
4
- data.tar.gz: 8104b69ddd7613f4e1a82cc815ab44e6a8611b91d51e99183e682d637f8ff8d7
3
+ metadata.gz: f748f862232301cb934858457dd800cf4416979b2bf79c801ba1efad2048bf9d
4
+ data.tar.gz: 8434ef9fb1c4d8b12e715a0e495b4de41c9a75b23b288f86a22dbbb76942247d
5
5
  SHA512:
6
- metadata.gz: cf3c484708576c61e955165f6d110397bf740d3b1ff0690b7eba55f78c8a7e8f5370a11ca88b344a81a0b27ced56a484ab0e3a4c428c34d91802d86171b638a4
7
- data.tar.gz: '09ab02fb1badd5f196c38365bdee0673ab5d146d7fc4801891415e07d707de51d1f215408c69202b41c9f32426371c16d14da7a74dce3d3566eea402f7ebeeda'
6
+ metadata.gz: e165a0a2a1f651b6232284ca656e9a3d12dd0aba3727f4c93d13f2d8d6fc67878ad3182c5590fa7dc1bf6e0676ebebed51c867d2fb9435cfd0fa68992b1b1848
7
+ data.tar.gz: 41c02871fd0e884448de005cce849a5f9d81bed9d7912879d026e61b088ab34e93108af39dbdd95962ff28815c1f65f2bd94b6dd29486143237c0b9dde19a6ef
data/CHANGELOG.md CHANGED
@@ -7,6 +7,27 @@ 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
+
10
31
  ## 1.12.0 - 2021-10-13
11
32
  - Added new rules
12
33
  - rubocop
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
@@ -95,3 +95,7 @@ Lint/IncompatibleIoSelectWithFiberScheduler:
95
95
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintrequirerelativeselfpath
96
96
  Lint/RequireRelativeSelfPath:
97
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
@@ -149,3 +149,19 @@ Rails/EagerEvaluationLogMessage:
149
149
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsredundanttravelback
150
150
  Rails/RedundantTravelBack:
151
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
@@ -61,3 +61,7 @@ RSpec/ExcessiveDocstringSpacing:
61
61
  # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecsubjectdeclaration
62
62
  RSpec/SubjectDeclaration:
63
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-style.yml CHANGED
@@ -112,3 +112,19 @@ Style/NumberedParametersLimit:
112
112
  # https://docs.rubocop.org/rubocop/cops_style.html#styleselectbyregexp
113
113
  Style/SelectByRegexp:
114
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.12.1
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-10-13 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.22'
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.22'
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.12'
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.12'
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.5'
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.5'
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.12.1
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.12.1/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