rubocop-nosolosoftware 1.6.0 → 1.9.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: 94b85ed37d194149f41fc6572cd9f7ceb96767902badbd7fb0c27473e2985fc4
4
- data.tar.gz: ab345d5d416f73ddac5fb1e7bdd617dcae2419640b2b51c5b5268110b376c551
3
+ metadata.gz: 5a2b89389fff62abb0e2ced1d89ba2a179b17f8d8fab6bd204ffae9314d1dc85
4
+ data.tar.gz: 9c5017b7917dfa8093842adaeb552c5f6fa219a35efcdceab7e6b6d7d14bd46a
5
5
  SHA512:
6
- metadata.gz: c36ca7da875893f8fe0b7a0b9915c1ee2a7f6bd9d1a80315121693b70210dc126d6c3c0b7f94475e1edb39d1a1b3fbd36411362c964e743db8d3759d6e00f51f
7
- data.tar.gz: 51f6feeb94ec25b007b79bc0053d3abe3eff24307037cf7ce539af53980634bb07330676a1ac147be7a8187f66e44058066c895fcaf489b7aa93c2b5b63a8c5d
6
+ metadata.gz: b5a082e0295b370a2f6a0e45b556c9bc35ec8e9217e3fc9c43b73d5b3c10d2930c55c187d39b08fb67f3192ae0787a6bb6fcb59655cb61e9c8e5a9f820e5677f
7
+ data.tar.gz: aebdd83909c1a4673e370d236d07694da5de9cdc6c4128c1cfb855acb8ee20abd2500f3d9e892c64d453f0c3fdc713d220a52bdd08135aa7e1a34c4b1a1ddae5
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.9.0 - 2021-08-18
11
+ - Added new rules introduced in the 1.19 version.
12
+ - rubocop
13
+ - Lint/AmbiguousRange
14
+ - Style/RedundantSelfAssignmentBranch
15
+
16
+ ### Changed
17
+ - Updated dependency rubocop to 1.19
18
+
19
+ ## 1.8.1 - 2021-07-26
20
+
21
+ ### Changed
22
+ - `config/routes/` directory should have the same rules as `config/routes.rb`
23
+
24
+ ## 1.8.0 - 2021-06-29
25
+ - Added new rules introduced in the last version.
26
+ - rubocop
27
+ - Layout/LineEndStringConcatenationIndentation (1.18)
28
+ - Naming/InclusiveLanguage (1.18)
29
+
30
+ ### Changed
31
+ - Updated dependency rubocop
32
+
33
+ ## 1.7.0 - 2021-06-29
34
+ - Added new rules introduced in the last version.
35
+ - rubocop-rails
36
+ - Rails/AddColumnIndex (2.11)
37
+ - Rails/ExpandedDateRange (2.11)
38
+ - Rails/I18nLocaleAssignment (2.11)
39
+ - Rails/UnusedIgnoredColumns (2.11)
40
+ - Rails/EagerEvaluationLogMessage (2.11)
41
+ - rubocop-rspec
42
+ - RSpec/IdenticalEqualityAssertion (2.4)
43
+ - RSpec/Rails/AvoidSetupHook (2.4)
44
+
45
+ ### Changed
46
+ - Updated dependency rubocop-rails and rubocop-rspec
47
+
10
48
  ## 1.6.0 - 2021-06-08
11
49
 
12
50
  ### Added
data/rubocop-layout.yml CHANGED
@@ -25,3 +25,8 @@ Layout/SpaceInsideHashLiteralBraces:
25
25
  # https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforebrackets
26
26
  Layout/SpaceBeforeBrackets:
27
27
  Enabled: true
28
+
29
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutlineendstringconcatenationindentation
30
+ Layout/LineEndStringConcatenationIndentation:
31
+ Enabled: true
32
+ 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-rails.yml CHANGED
@@ -125,3 +125,23 @@ Rails/EnvironmentVariableAccess:
125
125
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstimezoneassignment
126
126
  Rails/TimeZoneAssignment:
127
127
  Enabled: true
128
+
129
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsaddcolumnindex
130
+ Rails/AddColumnIndex:
131
+ Enabled: true
132
+
133
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsexpandeddaterange
134
+ Rails/ExpandedDateRange:
135
+ Enabled: true
136
+
137
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsi18nlocaleassignment
138
+ Rails/I18nLocaleAssignment:
139
+ Enabled: true
140
+
141
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsunusedignoredcolumns
142
+ Rails/UnusedIgnoredColumns:
143
+ Enabled: true
144
+
145
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railseagerevaluationlogmessage
146
+ Rails/EagerEvaluationLogMessage:
147
+ Enabled: true
data/rubocop-rspec.yml CHANGED
@@ -45,3 +45,11 @@ RSpec/StubbedMock:
45
45
  # https://docs.rubocop.org/rubocop-rspec/cops_rails.html#railshttpstatus
46
46
  RSpec/Rails/HttpStatus:
47
47
  EnforcedStyle: numeric
48
+
49
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec/rails.html#rspecrailsavoidsetuphook
50
+ RSpec/Rails/AvoidSetupHook:
51
+ Enabled: true
52
+
53
+ # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecidenticalequalityassertion
54
+ RSpec/IdenticalEqualityAssertion:
55
+ Enabled: true
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.6.0
4
+ version: 1.9.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-08 00:00:00.000000000 Z
11
+ date: 2021-08-18 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
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.10'
61
+ version: '2.11'
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.10'
68
+ version: '2.11'
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.2'
89
+ version: '2.4'
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.2'
96
+ version: '2.4'
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.6.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.6.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.9.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.9.0/CHANGELOG.md
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options:
@@ -144,8 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubyforge_project:
148
- rubygems_version: 2.7.6.2
147
+ rubygems_version: 3.1.4
149
148
  signing_key:
150
149
  specification_version: 4
151
150
  summary: Default Rubocop configuration used in NoSoloSoftware developments