rubocop-fnando 0.0.12 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +13 -6
  3. data/README.md +17 -5
  4. data/rubocop-fnando.gemspec +5 -1
  5. metadata +34 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 922595a68559c7b31401e4fb43127952d9d326de9b40d37e5132e7bf27aa26c7
4
- data.tar.gz: b01bd0b5102c39a1ebbf66564fe7bfed9229b37a2c8dc5fd83bfdb3ef69875f5
3
+ metadata.gz: 172c0150872a0304008d379633eefd34f2019e88cdd1947e361bbaa757fc6565
4
+ data.tar.gz: bdc92de08b5dc83ac4927ef7a3821f1be1994deab969ec218fb7cd02404a96b9
5
5
  SHA512:
6
- metadata.gz: d40b3bf2a2c34bc06228cd00fe42e1ba39c5be8dfdb527e7f3e5abead244c2a42033624e1390315ba4a9929b97b9b19a4a0617a73a8d0f29e32a39b82e5fb475
7
- data.tar.gz: 7a1a4640e45079fd3190faddb5630bbc4596f99974463886b6992dc7ebd1a9c54e537543dea87778fec58d596c02b9eeadf389f7364b773e9fec004aef84cf92
6
+ metadata.gz: b06b58dee1c2b5be6e409d22d84c350b8c25b01cdc74544fe78834fcd6ad671d674df2d2922f1d90b26e993994fdc24baee862051bcc6c004a5d18660f6a0ddb
7
+ data.tar.gz: 44aba9a8c6c7b7575c86508b31b8cede47bef6e90bf874ff1629641b3a05f59df2dfe5caf9735610e479c4a81847d42ce8278b0178936fd7727df5e411130224
data/.rubocop.yml CHANGED
@@ -1,9 +1,16 @@
1
1
  ---
2
+ require:
3
+ - rubocop-performance
4
+
2
5
  AllCops:
6
+ SuggestExtensions: false
7
+
3
8
  Exclude:
4
- - !ruby/regexp /node_modules\//
5
- - !ruby/regexp /bin\//
6
- - !ruby/regexp /db\/schema\.rb$/
9
+ - !ruby/regexp /\/node_modules\//
10
+ - !ruby/regexp /\/bin\//
11
+ - !ruby/regexp /\/db\/schema\.rb$/
12
+ - !ruby/regexp /\/vendor\//
13
+ - !ruby/regexp /\/gemfiles\//
7
14
 
8
15
  Lint/DeprecatedOpenSSLConstant:
9
16
  Enabled: true
@@ -45,8 +52,8 @@ Layout/LineLength:
45
52
  Enabled: true
46
53
  Max: 80
47
54
 
48
- Metrics/MethodLength:
49
- Enabled: true
55
+ Metrics:
56
+ Enabled: false
50
57
 
51
58
  Naming/MethodParameterName:
52
59
  Enabled: false
@@ -94,7 +101,7 @@ Style/HashEachMethods:
94
101
  Enabled: true
95
102
 
96
103
  Style/HashTransformKeys:
97
- Enabled: true
104
+ Enabled: false
98
105
 
99
106
  Style/HashTransformValues:
100
107
  Enabled: true
data/README.md CHANGED
@@ -45,18 +45,30 @@ AllCops:
45
45
 
46
46
  ## Development
47
47
 
48
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
48
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
49
+ `rake test` to run the tests. You can also run `bin/console` for an interactive
50
+ prompt that will allow you to experiment.
49
51
 
50
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
52
+ To install this gem onto your local machine, run `bundle exec rake install`. To
53
+ release a new version, update the version number in `version.rb`, and then run
54
+ `bundle exec rake release`, which will create a git tag for the version, push
55
+ git commits and tags, and push the `.gem` file to
56
+ [rubygems.org](https://rubygems.org).
51
57
 
52
58
  ## Contributing
53
59
 
54
- Bug reports and pull requests are welcome on GitHub at https://github.com/fnando/rubocop-fnando. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
60
+ Bug reports and pull requests are welcome on GitHub at
61
+ https://github.com/fnando/rubocop-fnando. This project is intended to be a safe,
62
+ welcoming space for collaboration, and contributors are expected to adhere to
63
+ the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
55
64
 
56
65
  ## License
57
66
 
58
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
67
+ The gem is available as open source under the terms of the
68
+ [MIT License](https://opensource.org/licenses/MIT).
59
69
 
60
70
  ## Code of Conduct
61
71
 
62
- Everyone interacting in the Rubocop::Fnando project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/fnando/rubocop-fnando/blob/master/CODE_OF_CONDUCT.md).
72
+ Everyone interacting in the Rubocop::Fnando project’s codebases, issue trackers,
73
+ chat rooms and mailing lists is expected to follow the
74
+ [code of conduct](https://github.com/fnando/rubocop-fnando/blob/main/CODE_OF_CONDUCT.md).
@@ -2,9 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rubocop-fnando"
5
- spec.version = "0.0.12"
5
+ spec.version = "0.0.16"
6
6
  spec.authors = ["Nando Vieira"]
7
7
  spec.email = ["me@fnando.com"]
8
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
9
+ spec.metadata = {"rubygems_mfa_required" => "true"}
8
10
 
9
11
  spec.summary = "Rubocop configuration"
10
12
  spec.description = spec.summary
@@ -20,6 +22,8 @@ Gem::Specification.new do |spec|
20
22
  spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
21
23
  spec.require_paths = ["lib"]
22
24
 
25
+ spec.add_dependency "rubocop"
26
+ spec.add_dependency "rubocop-performance"
23
27
  spec.add_development_dependency "bundler"
24
28
  spec.add_development_dependency "rake"
25
29
  end
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-fnando
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-12 00:00:00.000000000 Z
11
+ date: 2022-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-performance
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: bundler
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -57,7 +85,8 @@ files:
57
85
  homepage: https://github.com/fnando/rubocop-fnando
58
86
  licenses:
59
87
  - MIT
60
- metadata: {}
88
+ metadata:
89
+ rubygems_mfa_required: 'true'
61
90
  post_install_message:
62
91
  rdoc_options: []
63
92
  require_paths:
@@ -66,14 +95,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
95
  requirements:
67
96
  - - ">="
68
97
  - !ruby/object:Gem::Version
69
- version: '0'
98
+ version: 2.3.0
70
99
  required_rubygems_version: !ruby/object:Gem::Requirement
71
100
  requirements:
72
101
  - - ">="
73
102
  - !ruby/object:Gem::Version
74
103
  version: '0'
75
104
  requirements: []
76
- rubygems_version: 3.1.2
105
+ rubygems_version: 3.3.3
77
106
  signing_key:
78
107
  specification_version: 4
79
108
  summary: Rubocop configuration