rubocop-nosolosoftware 1.4.0 → 1.5.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: b4e16ffbf21d3d07d0c4f35836c9b07350971dcaa9c788f112f8c1cb081a945a
4
- data.tar.gz: d1adedccb22e07d7f54d8e8b89e8eba3ec273511c0ffd5eb4d73f8be992e86fb
3
+ metadata.gz: 36e8ed5d74002fad6070ed44a4120e82c2d802887fe4c337acf20adf120f2491
4
+ data.tar.gz: f4a146a3af3d8b6aeae422c7bed4e55114583b5fa8c40353d227f52246d73d7b
5
5
  SHA512:
6
- metadata.gz: 72221a105449e0ce6f2d4b69ff2c9b2ac5c198fbbedfad143680991c7ed3b4acfa8528308c5011c9d6722a292a5b52f991f3cb5074901c8023c95337a0ae5008
7
- data.tar.gz: 70d1aaf4a64f5aa460eee595e9faf2e775c6bed37993fffae345e9cf5cc6f0d75dcc08347e446395c113d2faf388362e1a2dd460c98630b5043b02c25fa68e4a
6
+ metadata.gz: a39aac12583fc943e8e85390b3ec20dc47ea690f158c9383b7415378fd4776852a97eca1a68a6f16c93f49b35aebaf513ad3c3aeb42bfed1d03887537d0b2c5d
7
+ data.tar.gz: 4efa3cc798fc2678cdb20bf2b59dc2bc3d85d3f53974193b4ebcd7c62cc97ee4472e7ac55833df32889d69ff8ba0dcf9001ea43b2d88affdfad8ebf88f69e7e7
data/CHANGELOG.md CHANGED
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ The following rules have been added:
9
+
10
+ ## 1.5.0 - 2021-02-25
11
+
12
+ ### Added
13
+ - Added new rules introduced in the last version.
14
+ -rubocop
15
+ - Gemspec/DateAssignment (1.10)
16
+ - Layout/SpaceBeforeBrackets (1.7)
17
+ - Lint/AmbiguousAssignment (1.7)
18
+ - Lint/DeprecatedConstants (1.8)
19
+ - Lint/LambdaWithoutLiteralBlock (1.8)
20
+ - Lint/NumberedParameterAssignment (1.9)
21
+ - Lint/OrAssignmentToConstant (1.9)
22
+ - Lint/RedundantDirGlobSort (1.8)
23
+ - Lint/SymbolConversion (1.9)
24
+ - Lint/TripleQuotes (1.9)
25
+ - Style/EndlessMethod (1.8)
26
+ - Style/HashConversion (1.10)
27
+ - Style/HashExcept (1.7)
28
+ - Style/IfWithBooleanLiteralBranches (1.9)
29
+
8
30
  ## 1.4.0 - 2020-12-15
9
31
  ### Added
10
32
  - Added new rules introduced in the last version.
data/rubocop-gemspec.yml CHANGED
@@ -1,3 +1,7 @@
1
1
  #
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_gemspec/
3
3
  #
4
+
5
+ # https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdateassignment
6
+ Gemspec/DateAssignment:
7
+ Enabled: true
data/rubocop-layout.yml CHANGED
@@ -21,3 +21,7 @@ Layout/SpaceAroundEqualsInParameterDefault:
21
21
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
22
22
  Layout/SpaceInsideHashLiteralBraces:
23
23
  EnforcedStyle: no_space
24
+
25
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutspacebeforebrackets
26
+ Layout/SpaceBeforeBrackets:
27
+ Enabled: true
data/rubocop-lint.yml CHANGED
@@ -43,3 +43,35 @@ Lint/EmptyClass:
43
43
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintunexpectedblockarity
44
44
  Lint/UnexpectedBlockArity:
45
45
  Enabled: true
46
+
47
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousassignment
48
+ Lint/AmbiguousAssignment:
49
+ Enabled: true
50
+
51
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintdeprecatedconstants
52
+ Lint/DeprecatedConstants:
53
+ Enabled: true
54
+
55
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintlambdawithoutliteralblock
56
+ Lint/LambdaWithoutLiteralBlock:
57
+ Enabled: true
58
+
59
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintnumberedparameterassignment
60
+ Lint/NumberedParameterAssignment:
61
+ Enabled: true
62
+
63
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintorassignmenttoconstant
64
+ Lint/OrAssignmentToConstant:
65
+ Enabled: true
66
+
67
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantdirglobsort
68
+ Lint/RedundantDirGlobSort:
69
+ Enabled: true
70
+
71
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintsymbolconversion
72
+ Lint/SymbolConversion:
73
+ Enabled: true
74
+
75
+ # https://docs.rubocop.org/rubocop/cops_lint.html#linttriplequotes
76
+ Lint/TripleQuotes:
77
+ Enabled: true
data/rubocop-style.yml CHANGED
@@ -64,3 +64,19 @@ Style/NilLambda:
64
64
  # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantargument
65
65
  Style/RedundantArgument:
66
66
  Enabled: true
67
+
68
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleendlessmethod
69
+ Style/EndlessMethod:
70
+ Enabled: true
71
+
72
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehashconversion
73
+ Style/HashConversion:
74
+ Enabled: true
75
+
76
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylehashexcept
77
+ Style/HashExcept:
78
+ Enabled: true
79
+
80
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleifwithbooleanliteralbranches
81
+ Style/IfWithBooleanLiteralBranches:
82
+ 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.4.0
4
+ version: 1.5.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: 2020-12-15 00:00:00.000000000 Z
11
+ date: 2021-02-25 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.6'
19
+ version: '1.10'
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.6'
26
+ version: '1.10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.0'
89
+ version: '2.2'
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.0'
96
+ version: '2.2'
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.4.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.4.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.5.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.5.0/CHANGELOG.md
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options: