rubocop-vnda 0.7.0 → 0.10.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: d91159534ecc871cf70e7645c4c484022463c4d1847cf6d16b98b34f5276e625
4
- data.tar.gz: 2ee7a6eca753611a194e438d36fc979ad6b1c360187340f93228cb198db1cdfc
3
+ metadata.gz: 2943ecb0dc57326c843eb60cbaaa101e75fc07e7285fb6fa7e667c1583ec8693
4
+ data.tar.gz: 46cda1af0d779d97cc9d0987453fe210365eb6fb0a8c7ce37b3b2b7f37c1f9e4
5
5
  SHA512:
6
- metadata.gz: f27048ef4fdcd521531178db8b680aef83b40ce11f15391528b7cfb05febd8fc74853ff224a4435a136921a71ee42f202b3ce2b52ab6aa3bad93fb00134ff410
7
- data.tar.gz: 40d3491b435f20d01e5b08124598370817c9cc4e5a1ddfa16262f19e854b91db84137d9586b74deaade1ccb69bd2d1027204617939d6ee7571604425ce9152c2
6
+ metadata.gz: e3d868c4cc1e98787b44deafd28507affdda63fe5d63bf0159ed905cff52094f2e340d67d15b0eb19b7ece6794f312ee492fcb7a87d6a50ed70f94f463aed957
7
+ data.tar.gz: 5989459bbf4bedf66d69969c8818b3d137133a38f2daf10df3fd5be955b850fdb194e2a4f270abca6ec7c2d48ebd155a461966c3ce8a81ebf7d5535208f156c6
data/Gemfile.lock CHANGED
@@ -1,42 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-vnda (0.7.0)
4
+ rubocop-vnda (0.10.0)
5
5
  rubocop-rails (= 2.14.2)
6
- rubocop-rspec (= 2.9.0)
7
- standard (= 1.8.0)
6
+ rubocop-rspec (= 2.10.0)
7
+ standard (= 1.11.0)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (7.0.2.3)
12
+ activesupport (7.0.2.4)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 1.6, < 2)
15
15
  minitest (>= 5.1)
16
16
  tzinfo (~> 2.0)
17
17
  ast (2.4.2)
18
- concurrent-ruby (1.1.9)
18
+ concurrent-ruby (1.1.10)
19
19
  i18n (1.10.0)
20
20
  concurrent-ruby (~> 1.0)
21
21
  minitest (5.15.0)
22
- parallel (1.22.0)
23
- parser (3.1.1.0)
22
+ parallel (1.22.1)
23
+ parser (3.1.2.0)
24
24
  ast (~> 2.4.1)
25
25
  rack (2.2.3)
26
26
  rainbow (3.1.1)
27
27
  rake (13.0.6)
28
- regexp_parser (2.2.1)
28
+ regexp_parser (2.3.1)
29
29
  rexml (3.2.5)
30
- rubocop (1.26.0)
30
+ rubocop (1.28.2)
31
31
  parallel (~> 1.10)
32
32
  parser (>= 3.1.0.0)
33
33
  rainbow (>= 2.2.2, < 4.0)
34
34
  regexp_parser (>= 1.8, < 3.0)
35
35
  rexml
36
- rubocop-ast (>= 1.16.0, < 2.0)
36
+ rubocop-ast (>= 1.17.0, < 2.0)
37
37
  ruby-progressbar (~> 1.7)
38
38
  unicode-display_width (>= 1.4.0, < 3.0)
39
- rubocop-ast (1.16.0)
39
+ rubocop-ast (1.17.0)
40
40
  parser (>= 3.1.1.0)
41
41
  rubocop-performance (1.13.3)
42
42
  rubocop (>= 1.7.0, < 2.0)
@@ -45,11 +45,11 @@ GEM
45
45
  activesupport (>= 4.2.0)
46
46
  rack (>= 1.1)
47
47
  rubocop (>= 1.7.0, < 2.0)
48
- rubocop-rspec (2.9.0)
48
+ rubocop-rspec (2.10.0)
49
49
  rubocop (~> 1.19)
50
50
  ruby-progressbar (1.11.0)
51
- standard (1.8.0)
52
- rubocop (= 1.26.0)
51
+ standard (1.11.0)
52
+ rubocop (= 1.28.2)
53
53
  rubocop-performance (= 1.13.3)
54
54
  tzinfo (2.0.4)
55
55
  concurrent-ruby (~> 1.0)
data/bin/rubocop ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rubocop' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rubocop", "rubocop")
data/default.yml CHANGED
@@ -31,8 +31,15 @@ RSpec/LetSetup:
31
31
  Enabled: true
32
32
 
33
33
  Layout/LineLength:
34
+ Enabled: true
34
35
  Max: 120
35
36
 
37
+ Layout/EmptyLineAfterGuardClause:
38
+ Enabled: true
39
+
36
40
  Style/FrozenStringLiteralComment:
37
41
  Enabled: true
38
42
  EnforcedStyle: always_true
43
+
44
+ Style/MethodCallWithArgsParentheses:
45
+ Enabled: true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Vnda
5
- VERSION = "0.7.0"
5
+ VERSION = "0.10.0"
6
6
  end
7
7
  end
data/rubocop-vnda.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
23
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
24
  `git ls-files -z`.split("\x0").reject do |f|
25
- (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features|examples)/|\.(?:git|travis|circleci)|appveyor)})
26
26
  end
27
27
  end
28
28
  spec.bindir = 'exe'
@@ -30,9 +30,9 @@ Gem::Specification.new do |spec|
30
30
  spec.require_paths = ['lib']
31
31
 
32
32
  # Uncomment to register a new dependency of your gem
33
- spec.add_dependency 'standard', '1.8.0'
33
+ spec.add_dependency 'standard', '1.11.0'
34
34
  spec.add_dependency 'rubocop-rails', '2.14.2'
35
- spec.add_dependency 'rubocop-rspec', '2.9.0'
35
+ spec.add_dependency 'rubocop-rspec', '2.10.0'
36
36
 
37
37
  # For more information and examples about making a new gem, checkout our
38
38
  # guide at: https://bundler.io/guides/creating_gem.html
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-vnda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Souza
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-21 00:00:00.000000000 Z
11
+ date: 2022-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.8.0
19
+ version: 1.11.0
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.8.0
26
+ version: 1.11.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.9.0
47
+ version: 2.10.0
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: 2.9.0
54
+ version: 2.10.0
55
55
  description: RuboCop configuration for Ruby projects at Vnda
56
56
  email:
57
57
  - rafael.ssouza@gmail.com
@@ -65,6 +65,7 @@ files:
65
65
  - README.md
66
66
  - Rakefile
67
67
  - bin/rake
68
+ - bin/rubocop
68
69
  - default.yml
69
70
  - lib/rubocop/vnda.rb
70
71
  - lib/rubocop/vnda/version.rb