rubocop-nosolosoftware 0.8.0 → 0.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: 36dd7dd406748669e08b9f2c1d1ac6af56b69fc7bdf5e935f9e89a51b1645fd9
4
- data.tar.gz: b822e653ecfd14baecbe4166a40956dbe2b2ebcb94cb0e9c70feebb4c8766e6b
3
+ metadata.gz: b9092a802db6538408a05b292f2ae17f594c68373687eb5e37f0a6126e220edb
4
+ data.tar.gz: 4de86da8aa97ed88050ca982f414d3e002939134a7e767e98e98545603ecb143
5
5
  SHA512:
6
- metadata.gz: ea6af87a67f7706395bba8f20f399291d01462c51aaeffa43d208318d59e04143858069bc2eaf18c3c5ff8b8ce5953b82de7c10271dcf44657ad4ef8e791c73d
7
- data.tar.gz: a380a542038def25b26c2f628dabc454da5de51d1c8c117da25bc7b571e24ec204c66ddf82de120b5b5f6e869cec69ea5fb4ac1c01c90f5f76daae072cb5b52f
6
+ metadata.gz: 67f0752040c2c31d9257864766d9fa58365f9a72e3e6f8318c00d90899f8a888fe049b213864b32e5e0048673109dc65deacbe49ec14e58d893237792a5eea28
7
+ data.tar.gz: 8c802b977471ffaac67651a46e9287a4c1c625383fa553044231bfef2be59e8c9646011e1db1802cb0eb45d232e590049c5e1343e00bfbb06f192bfeab02a5f4
@@ -5,6 +5,29 @@ 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
+ ## 0.9.0 - 2020-09-18
9
+ ### Added
10
+ - Added new rules introduced in the last version.
11
+ - Layout/BeginEndAlignment (0.91)
12
+ - Lint/ConstantDefinitionInBlock (0.91)
13
+ - Lint/DuplicateRequire (0.90)
14
+ - Lint/EmptyFile (0.90)
15
+ - Lint/IdentityComparison (0.91)
16
+ - Lint/TrailingCommaInAttributeDeclaration (0.90)
17
+ - Lint/UselessMethodDefinition (0.90)
18
+ - Lint/UselessTimes (0.91)
19
+ - Style/CombinableLoops (0.90)
20
+ - Style/KeywordParametersOrder (0.90)
21
+ - Style/RedundantSelfAssignment (0.90)
22
+ - Style/SoleNestedConditional (0.89)
23
+ - Performance/Sum (1.8)
24
+ - Rails/AfterCommitOverride (2.8)
25
+ - Rails/SquishedSQLHeredocs (2.8)
26
+ - Rails/WhereNot (2.8)
27
+
28
+ ### Changed
29
+ - Updated all the extensions.
30
+
8
31
  ## 0.8.0 - 2020-08-07
9
32
 
10
33
  ### Added
@@ -77,6 +100,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
100
  ## [0.1.0] - 2019-12-03
78
101
 
79
102
  First version of this gem.
80
-
81
-
82
- This changelog was generated using [ChangeFu](https://github.com/javierav/changefu).
@@ -29,3 +29,7 @@ Layout/SpaceAroundEqualsInParameterDefault:
29
29
  # https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
30
30
  Layout/SpaceInsideHashLiteralBraces:
31
31
  EnforcedStyle: no_space
32
+
33
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutbeginendalignment
34
+ Layout/BeginEndAlignment:
35
+ Enabled: true
@@ -57,3 +57,31 @@ Lint/UnreachableLoop:
57
57
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintmissingsuper
58
58
  Lint/MissingSuper:
59
59
  Enabled: true
60
+
61
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintconstantdefinitioninblock
62
+ Lint/ConstantDefinitionInBlock:
63
+ Enabled: true
64
+
65
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicaterequire
66
+ Lint/DuplicateRequire:
67
+ Enabled: true
68
+
69
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyfile
70
+ Lint/EmptyFile:
71
+ Enabled: true
72
+
73
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintidentitycomparison
74
+ Lint/IdentityComparison:
75
+ Enabled: true
76
+
77
+ # https://docs.rubocop.org/rubocop/cops_lint.html#linttrailingcommainattributedeclaration
78
+ Lint/TrailingCommaInAttributeDeclaration:
79
+ Enabled: true
80
+
81
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessmethoddefinition
82
+ Lint/UselessMethodDefinition:
83
+ Enabled: true
84
+
85
+ # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselesstimes
86
+ Lint/UselessTimes:
87
+ Enabled: true
@@ -35,3 +35,7 @@ Performance/Squeeze:
35
35
  # https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancestringinclude
36
36
  Performance/StringInclude:
37
37
  Enabled: true
38
+
39
+ # https://docs.rubocop.org/rubocop-performance/1.8/cops_performance.html#performancesum
40
+ Performance/Sum:
41
+ Enabled: true
@@ -97,3 +97,15 @@ Rails/ShortI18n:
97
97
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswhereexists
98
98
  Rails/WhereExists:
99
99
  Enabled: true
100
+
101
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsaftercommitoverride
102
+ Rails/AfterCommitOverride:
103
+ Enabled: true
104
+
105
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railssquishedsqlheredocs
106
+ Rails/SquishedSQLHeredocs:
107
+ Enabled: true
108
+
109
+ # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswherenot
110
+ Rails/WhereNot:
111
+ Enabled: true
@@ -105,3 +105,19 @@ Style/SingleArgumentDig:
105
105
  # https://docs.rubocop.org/rubocop/cops_style.html#stylestringconcatenation
106
106
  Style/StringConcatenation:
107
107
  Enabled: true
108
+
109
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylecombinableloops
110
+ Style/CombinableLoops:
111
+ Enabled: true
112
+
113
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylekeywordparametersorder
114
+ Style/KeywordParametersOrder:
115
+ Enabled: true
116
+
117
+ # https://docs.rubocop.org/rubocop/cops_style.html#styleredundantselfassignment
118
+ Style/RedundantSelfAssignment:
119
+ Enabled: true
120
+
121
+ # https://docs.rubocop.org/rubocop/cops_style.html#stylesolenestedconditional
122
+ Style/SoleNestedConditional:
123
+ 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: 0.8.0
4
+ version: 0.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: 2020-08-07 00:00:00.000000000 Z
11
+ date: 2020-09-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: '0.89'
19
+ version: '0.91'
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: '0.89'
26
+ version: '0.91'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-faker
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.7'
47
+ version: '1.8'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.7'
54
+ version: '1.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.7'
61
+ version: '2.8'
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.7'
68
+ version: '2.8'
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: '1.42'
89
+ version: '1.43'
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: '1.42'
96
+ version: '1.43'
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/v0.8.0
129
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.8.0/CHANGELOG.md
128
+ source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.9.0
129
+ changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.9.0/CHANGELOG.md
130
130
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
131
131
  post_install_message:
132
132
  rdoc_options: