rubocop-nosolosoftware 1.6.0 → 1.7.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: 94b85ed37d194149f41fc6572cd9f7ceb96767902badbd7fb0c27473e2985fc4
4
- data.tar.gz: ab345d5d416f73ddac5fb1e7bdd617dcae2419640b2b51c5b5268110b376c551
3
+ metadata.gz: edf286bff0729b0a8d2916ba0e832f1fe8d366bb1f95ba79a1af2af983ed02b5
4
+ data.tar.gz: 0274b7d6b9e51bc39b02f893054d9f332371e57c4f2ad9508d0ec0573d887d6c
5
5
  SHA512:
6
- metadata.gz: c36ca7da875893f8fe0b7a0b9915c1ee2a7f6bd9d1a80315121693b70210dc126d6c3c0b7f94475e1edb39d1a1b3fbd36411362c964e743db8d3759d6e00f51f
7
- data.tar.gz: 51f6feeb94ec25b007b79bc0053d3abe3eff24307037cf7ce539af53980634bb07330676a1ac147be7a8187f66e44058066c895fcaf489b7aa93c2b5b63a8c5d
6
+ metadata.gz: 4a5f52e00b9d3f80bcd1f8df5bf1931a6f9b533b6ff628eb58522e08f8e0407d05d9a93eae9abbe28b915b6e6d80de7fc066022aeef39b6906a811777128c546
7
+ data.tar.gz: 1916de8b126a103b39ea763e941041abf4f2011d7e4bb49c514cb32ebb05f464cce6c79984dbde343601559ce9abe1400407f084155a2bc906a82490486396f7
data/CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ 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.7.0 - 2021-06-29
11
+ - Added new rules introduced in the last version.
12
+ - rubocop-rails
13
+ - Rails/AddColumnIndex (2.11)
14
+ - Rails/ExpandedDateRange (2.11)
15
+ - Rails/I18nLocaleAssignment (2.11)
16
+ - Rails/UnusedIgnoredColumns (2.11)
17
+ - Rails/EagerEvaluationLogMessage (2.11)
18
+ - rubocop-rspec
19
+ - RSpec/IdenticalEqualityAssertion (2.4)
20
+ - RSpec/Rails/AvoidSetupHook (2.4)
21
+
22
+ ### Changed
23
+ - Updated dependency rubocop-rails and rubocop-rspec
24
+
10
25
  ## 1.6.0 - 2021-06-08
11
26
 
12
27
  ### Added
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
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.7.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-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -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.7.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.7.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.2
149
148
  signing_key:
150
149
  specification_version: 4
151
150
  summary: Default Rubocop configuration used in NoSoloSoftware developments