rubocop-nosolosoftware 1.7.0 → 1.10.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: edf286bff0729b0a8d2916ba0e832f1fe8d366bb1f95ba79a1af2af983ed02b5
4
- data.tar.gz: 0274b7d6b9e51bc39b02f893054d9f332371e57c4f2ad9508d0ec0573d887d6c
3
+ metadata.gz: cd0cbb20529e4b5fecc203b56d7ca1a2e9cd15a9189c1936c453a4a005dca8e4
4
+ data.tar.gz: 43d857a4ca3360b09a325ca171be36c3c99d7b921645ed37ac26e8bc5318e830
5
5
  SHA512:
6
- metadata.gz: 4a5f52e00b9d3f80bcd1f8df5bf1931a6f9b533b6ff628eb58522e08f8e0407d05d9a93eae9abbe28b915b6e6d80de7fc066022aeef39b6906a811777128c546
7
- data.tar.gz: 1916de8b126a103b39ea763e941041abf4f2011d7e4bb49c514cb32ebb05f464cce6c79984dbde343601559ce9abe1400407f084155a2bc906a82490486396f7
6
+ metadata.gz: 1e45a70f9a5c194fd11fb7a30206275f70eb7e188ad4b020999d1371b37aa9b520d091c24f4bf2a64c4c307840e64768e55ab7e6ba2b866baec2a801fc935469
7
+ data.tar.gz: 48c302a5e7e22314aaf8827e0fd635c0efd467cca11bf5a36689a8e047b45ae991cbe757e3801be90207fa197b77b054b3d17a4cc4508e2e99429c57b7956d17
data/CHANGELOG.md CHANGED
@@ -7,6 +7,33 @@ 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.10.0 - 2021-08-25
11
+ ### Changed
12
+ - Layout/SpaceAroundEqualsInParameterDefault has been changed to the default value (aka space)
13
+
14
+ ## 1.9.0 - 2021-08-18
15
+ - Added new rules introduced in the 1.19 version.
16
+ - rubocop
17
+ - Lint/AmbiguousRange
18
+ - Style/RedundantSelfAssignmentBranch
19
+
20
+ ### Changed
21
+ - Updated dependency rubocop to 1.19
22
+
23
+ ## 1.8.1 - 2021-07-26
24
+
25
+ ### Changed
26
+ - `config/routes/` directory should have the same rules as `config/routes.rb`
27
+
28
+ ## 1.8.0 - 2021-06-29
29
+ - Added new rules introduced in the last version.
30
+ - rubocop
31
+ - Layout/LineEndStringConcatenationIndentation (1.18)
32
+ - Naming/InclusiveLanguage (1.18)
33
+
34
+ ### Changed
35
+ - Updated dependency rubocop
36
+
10
37
  ## 1.7.0 - 2021-06-29
11
38
  - Added new rules introduced in the last version.
12
39
  - rubocop-rails
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
@@ -25,3 +21,8 @@ Layout/SpaceInsideHashLiteralBraces:
25
21
  # https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforebrackets
26
22
  Layout/SpaceBeforeBrackets:
27
23
  Enabled: true
24
+
25
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutlineendstringconcatenationindentation
26
+ Layout/LineEndStringConcatenationIndentation:
27
+ Enabled: true
28
+ EnforcedStyle: aligned
data/rubocop-lint.yml CHANGED
@@ -79,3 +79,7 @@ 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
data/rubocop-metrics.yml CHANGED
@@ -18,6 +18,7 @@ Metrics/MethodLength:
18
18
  Metrics/ModuleLength:
19
19
  Exclude:
20
20
  - "**/config/routes.rb"
21
+ - "**/config/routes/**/*.rb"
21
22
  - "**/spec/**/*.rb"
22
23
 
23
24
  # https://rubocop.readthedocs.io/en/latest/cops_metrics/#blocklength
@@ -26,4 +27,5 @@ Metrics/BlockLength:
26
27
  - "**/spec/**/*.rb"
27
28
  - "**/config/environments/*.rb"
28
29
  - "**/config/routes.rb"
30
+ - "**/config/routes/**/*.rb"
29
31
  - "**/lib/tasks/auto_annotate_models.rake"
data/rubocop-naming.yml CHANGED
@@ -5,3 +5,7 @@
5
5
  # https://docs.rubocop.org/rubocop/cops_naming.html#namingvariablenumber
6
6
  Naming/VariableNumber:
7
7
  EnforcedStyle: snake_case
8
+
9
+ # https://docs.rubocop.org/rubocop/cops_naming.html#naminginclusivelanguage
10
+ Naming/InclusiveLanguage:
11
+ Enabled: false
data/rubocop-style.yml CHANGED
@@ -96,3 +96,7 @@ 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
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.7.0
4
+ version: 1.10.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-06-29 00:00:00.000000000 Z
11
+ date: 2021-08-26 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.10'
19
+ version: '1.19'
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.10'
26
+ version: '1.19'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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.7.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.7.0/CHANGELOG.md
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
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options: