rubocop-fnando 0.0.23 → 0.0.24

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: 0fad9d65f23a5c8f12b0736da14d2fa95eae777e8648adcc6e0874a6a1504a9e
4
- data.tar.gz: 571c10de9600fda03d40a0913430038b650bad62e46093f5918cfb2e82d42ffd
3
+ metadata.gz: 65950ac4d3e2800a4f088a4fd78e7b5b5cddc6e162cba980ca14be430ddf3851
4
+ data.tar.gz: 1616b57a964c2ac640ba4a25410b2cb83220b781d3cbb26c4a37aef6543ead6d
5
5
  SHA512:
6
- metadata.gz: 8076e7d8b1dd174a0ee7ae975079d55fa0c804d9322aa21c01449ae0f3705e1e41781bf25accafb1319074237a1e1add5ec310438fbc4a506459fe46a3cfb078
7
- data.tar.gz: c80ecd1b7d987756c326bab4b9b9cb1c0a02ed6c8845f90a144a2b1c43edef5f62d94703ce7b3541a1158194a553f55c7bddfaf72a7d0e7fa9bd7bcbc6ab1eae
6
+ metadata.gz: 79b6b28ad18715bf512f301e1fe068e4c78eed54ff887a568eeb5f7dccc8ca3dda11d95156d503edf6c165eef01532769cf46c5309e5ad3cf809807af1f35883
7
+ data.tar.gz: 7ccda189b70fb02a897fc844bee523f94080c4baadd6bb709a756287cf233a4028a1a27e8d475179abc655cdb37a170e05a15d43f0d1ec597391f2fabea2fec4
data/.rubocop.yml CHANGED
@@ -2,6 +2,7 @@
2
2
  require:
3
3
  - rubocop-performance
4
4
  - rubocop-minitest
5
+ - rubocop-fnando
5
6
 
6
7
  AllCops:
7
8
  SuggestExtensions: false
@@ -16,6 +17,9 @@ AllCops:
16
17
  Gemspec/DevelopmentDependencies:
17
18
  Enabled: false
18
19
 
20
+ Lint/UselessAssignment:
21
+ Enabled: true
22
+
19
23
  Lint/DeprecatedOpenSSLConstant:
20
24
  Enabled: true
21
25
 
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rubocop"
4
+
5
+ module RuboCop
6
+ module Fnando
7
+ end
8
+ end
9
+
10
+ RuboCop::Cop::Lint::UselessAssignment.prepend(
11
+ Module.new do
12
+ def autocorrect(*)
13
+ end
14
+ end
15
+ )
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rubocop-fnando"
5
- spec.version = "0.0.23"
5
+ spec.version = "0.0.24"
6
6
  spec.authors = ["Nando Vieira"]
7
7
  spec.email = ["me@fnando.com"]
8
8
  spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-fnando
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-20 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -95,6 +95,7 @@ files:
95
95
  - LICENSE.txt
96
96
  - README.md
97
97
  - Rakefile
98
+ - lib/rubocop-fnando.rb
98
99
  - rubocop-fnando.gemspec
99
100
  homepage: https://github.com/fnando/rubocop-fnando
100
101
  licenses:
@@ -116,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
117
  - !ruby/object:Gem::Version
117
118
  version: '0'
118
119
  requirements: []
119
- rubygems_version: 3.4.10
120
+ rubygems_version: 3.5.3
120
121
  signing_key:
121
122
  specification_version: 4
122
123
  summary: Rubocop configuration