rubocop-nosolosoftware 1.8.1 → 1.12.1

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: 444865c97c89aafd3e74c3156282b589b45819bb8ba1b6ad8e9439a571bc2e93
4
- data.tar.gz: b8776e482f4df570443e7d612de82e4bbfdd98e8c1d1b2575f52bbbaedd7cad0
3
+ metadata.gz: 420a8fa0d2344d8b95f374fcc62a1f762e6177c44d59b9bc7b2c97c7372bb60e
4
+ data.tar.gz: 8104b69ddd7613f4e1a82cc815ab44e6a8611b91d51e99183e682d637f8ff8d7
5
5
  SHA512:
6
- metadata.gz: 054a1ba223693e47d7906f1ed9d3981d264d4cad85eeb7821d2665240f31be5c55f7202edf3ec60a2da66ee00ff6cc60fae1c60a872e22c29cb3e3f4626ff282
7
- data.tar.gz: 87680d9687e7634baa1fb4984218c08b280af012e2ee1a8acefdb41e6dd8f5bfd07f54b371639e672c90bb5256add39bd7acac9172790ce3ae4021cd66dadb44
6
+ metadata.gz: cf3c484708576c61e955165f6d110397bf740d3b1ff0690b7eba55f78c8a7e8f5370a11ca88b344a81a0b27ced56a484ab0e3a4c428c34d91802d86171b638a4
7
+ data.tar.gz: '09ab02fb1badd5f196c38365bdee0673ab5d146d7fc4801891415e07d707de51d1f215408c69202b41c9f32426371c16d14da7a74dce3d3566eea402f7ebeeda'
data/CHANGELOG.md CHANGED
@@ -7,6 +7,44 @@ 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.12.0 - 2021-10-13
11
+ - Added new rules
12
+ - rubocop
13
+ - Lint/RequireRelativeSelfPath (1.22)
14
+ - Security/IoMethods (1.22)
15
+ - Style/NumberedParameters (1.22)
16
+ - Style/NumberedParametersLimit (1.22)
17
+ - Style/SelectByRegexp (1.22)
18
+
19
+ ## 1.11.0 - 2021-09-28
20
+ - Added new rules
21
+ - rubocop
22
+ - Lint/AmbiguousOperatorPrecedence (1.21)
23
+ - Lint/IncompatibleIoSelectWithFiberScheduler (1.21)
24
+ - rubocop-rails
25
+ - Rails/RedundantTravelBack (2.12)
26
+ - rubocop-rspec
27
+ - RSpec/ExcessiveDocstringSpacing (2.5)
28
+ - RSpec/SubjectDeclaration (2.5)
29
+
30
+ ### Changed
31
+ - Updated dependency rubocop to 1.21
32
+ - Updated dependency rubocop-rails to 2.12
33
+ - Updated dependency rubocop-rspec to 2.5
34
+
35
+ ## 1.10.0 - 2021-08-25
36
+ ### Changed
37
+ - Layout/SpaceAroundEqualsInParameterDefault has been changed to the default value (aka space)
38
+
39
+ ## 1.9.0 - 2021-08-18
40
+ - Added new rules introduced in the 1.19 version.
41
+ - rubocop
42
+ - Lint/AmbiguousRange
43
+ - Style/RedundantSelfAssignmentBranch
44
+
45
+ ### Changed
46
+ - Updated dependency rubocop to 1.19
47
+
10
48
  ## 1.8.1 - 2021-07-26
11
49
 
12
50
  ### Changed
data/rubocop-layout.yml CHANGED
@@ -14,10 +14,6 @@ Layout/LineLength:
14
14
  Layout/MultilineMethodCallIndentation:
15
15
  EnforcedStyle: indented_relative_to_receiver
16
16
 
17
- # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspacearoundequalsinparameterdefault
18
- Layout/SpaceAroundEqualsInParameterDefault:
19
- EnforcedStyle: no_space
20
-
21
17
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
22
18
  Layout/SpaceInsideHashLiteralBraces:
23
19
  EnforcedStyle: no_space
data/rubocop-lint.yml CHANGED
@@ -79,3 +79,19 @@ Lint/TripleQuotes:
79
79
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyinpattern
80
80
  Lint/EmptyInPattern:
81
81
  Enabled: true
82
+
83
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousrange
84
+ Lint/AmbiguousRange:
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
data/rubocop-rails.yml CHANGED
@@ -145,3 +145,7 @@ 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
data/rubocop-rspec.yml CHANGED
@@ -53,3 +53,11 @@ 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
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
@@ -96,3 +96,19 @@ Style/QuotedSymbols:
96
96
  # https://docs.rubocop.org/rubocop/cops_style.html#stylestringchars
97
97
  Style/StringChars:
98
98
  Enabled: true
99
+
100
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantselfassignmentbranch
101
+ Style/RedundantSelfAssignmentBranch:
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
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.8.1
4
+ version: 1.12.1
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-07-26 00:00:00.000000000 Z
11
+ date: 2021-10-13 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.18'
19
+ version: '1.22'
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.18'
26
+ version: '1.22'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.11'
61
+ version: '2.12'
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.12'
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.5'
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.5'
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.8.1
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.8.1/CHANGELOG.md
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
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options: