rubocop-vendor 0.14.0 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6cc7a478e880b1f1bf1c6b2a9d66d96dea250d7b2d278d9dac7a72b99cf64f93
4
- data.tar.gz: 5352bc939c529ffa46347166b3be2de0c0824a5cba52f2547d5c44e20607a757
3
+ metadata.gz: 1ca5c4b0e4fc2bc54b443cfb5415ceb478bdf5f93b9c054be134b22a3d27fe9c
4
+ data.tar.gz: '0084ec81cb4c0a1e8836e734612e75a2f624300a558d24f09cfaf4bdf5105dcd'
5
5
  SHA512:
6
- metadata.gz: 0f8a3e4a571521bcead3d43443b16ab329c4409be99dd264a133c3574c67aea352a83fe4a7f12f4040a89fc2c383d4e91b4a20d6ac539f83d590590b20eb21a4
7
- data.tar.gz: 2308943cae7fb4222ef5c2baf440202f218e799163f6c88ab82a8b0132e37b9a7a3fa4c4752088be83a284200358e51962a8c8e31aaa5dc9b5fb22221b201eb9
6
+ metadata.gz: d95385cfe30d8da689d871bd9dd3741094d87be096e8cc2de07370f6f4ef4efe0b66859e79f4700f18182edeb07783a3cdc61e39ace5fcb80b9093c1e0dad581
7
+ data.tar.gz: b8f9416b02fd44e33c96a13cea019458422e7688711c1907f3864f35b604ed8aebd5894b99945246fa7de950fc52e1c17916e12d898c4edbb1cace2c7cb1c629
data/README.md CHANGED
@@ -29,7 +29,8 @@ ways to do this:
29
29
  Put this into your `.rubocop.yml`.
30
30
 
31
31
  ```yaml
32
- require: rubocop-vendor
32
+ plugins:
33
+ - rubocop-vendor
33
34
  ```
34
35
 
35
36
  Now you can run `rubocop` and it will automatically load the RuboCop Vendor
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Vendor
5
- VERSION = '0.14.0'
5
+ VERSION = '0.14.2'
6
6
  end
7
7
  end
@@ -1,12 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module RuboCop
4
- # RuboCop Vendor project namespace
5
- module Vendor
6
- PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze
7
- CONFIG_DEFAULT = PROJECT_ROOT.join('config', 'default.yml').freeze
8
- CONFIG = YAML.safe_load(CONFIG_DEFAULT.read).freeze
3
+ require 'rubocop'
4
+ require_relative 'vendor/version'
5
+ require_relative 'vendor/plugin'
9
6
 
10
- private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT)
11
- end
12
- end
7
+ require_relative 'cop/vendor_cops'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-vendor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Cabello
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-03-12 00:00:00.000000000 Z
13
+ date: 2025-03-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop
@@ -109,7 +109,6 @@ files:
109
109
  - LICENSE
110
110
  - README.md
111
111
  - config/default.yml
112
- - lib/rubocop-vendor.rb
113
112
  - lib/rubocop/cop/vendor/active_record_base_transaction_use.rb
114
113
  - lib/rubocop/cop/vendor/active_record_connection_execute.rb
115
114
  - lib/rubocop/cop/vendor/base.rb
@@ -138,6 +137,7 @@ metadata:
138
137
  documentation_uri: https://rubocop-vendor.readthedocs.io/
139
138
  bug_tracker_uri: https://github.com/wealthsimple/rubocop-vendor/issues
140
139
  rubygems_mfa_required: 'true'
140
+ default_lint_roller_plugin: RuboCop::Vendor::Plugin
141
141
  post_install_message:
142
142
  rdoc_options: []
143
143
  require_paths:
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'rubocop'
4
-
5
- require_relative 'rubocop/vendor'
6
- require_relative 'rubocop/vendor/version'
7
-
8
- require_relative 'rubocop/vendor/plugin'
9
-
10
- require_relative 'rubocop/cop/vendor_cops'