rubocop_plus 2.1.0 → 2.5.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: 65897caabe5f4017874f4532a1259c2b9b90541e2f1dfc4c2de3ce047f2df299
4
- data.tar.gz: 29a23d79a0d879e362e05507ec0a8434a17e7b745ba34270d034c488467b3027
3
+ metadata.gz: 00dddcb11409e819cffd71ab96c12d2f878cf51404a5cbe19d73b25b93ee4efc
4
+ data.tar.gz: 1cd1128688a404dd65d9ce4026748a776f19bbedac8bb54805fa9c7db2b409c0
5
5
  SHA512:
6
- metadata.gz: 8ebc33894ac564b44eb5a63bc97dc1c7c2441c6b35c35a17e5f60da1e632045f739707a4a8fe9e250228770ac99db76995dfc448858a33c98e87be748bababbb
7
- data.tar.gz: 622da0f0635ee48b543059a69bc1ab1e34975c7bcfe767b647edb587baa1599c94385496030cd1b74783281f84d1078c5344985e18e53f1c1cbdd6f32487b5e8
6
+ metadata.gz: f6892b538c196976d6691fb9f2b5f7d6805c59255c6a6b41e9e0199a1546316bdf7ec114f5642a7c4bf2f927282b4b1bd60063bd11533744b9b293f640214a3c
7
+ data.tar.gz: 03ccb890adcef703da178bb602a746088a82df13b0c5b643e48d37c7a29ef581edb1fb3adc13054fd94f4e4496a757bcf007772646af505193234cfd160984ba
@@ -0,0 +1,54 @@
1
+ # This workflow will download prebuilt Ruby versions, install dependencies and run checks against Pull Requests.
2
+
3
+ name: Check Pull Request
4
+ on:
5
+ pull_request:
6
+ branches: [ master ]
7
+ env:
8
+ # The pull request can have less than, or equal to, this number of rubocop issues and pass.
9
+ RUBOCOP_ISSUE_THRESHOLD: 5
10
+ jobs:
11
+ rspec:
12
+ name: Run RSpec
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ matrix:
16
+ ruby-version: ['2.6', '2.7', '3.0']
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Set up Ruby
20
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
21
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26
+ - name: Execute rspec command
27
+ run: bundle exec rspec
28
+ rubocop:
29
+ name: Run Rubocop
30
+ runs-on: ubuntu-latest
31
+ strategy:
32
+ matrix:
33
+ ruby-version: ['2.6']
34
+ steps:
35
+ - uses: actions/checkout@v2
36
+ - name: Set up Ruby
37
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
38
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
39
+ uses: ruby/setup-ruby@v1
40
+ with:
41
+ ruby-version: ${{ matrix.ruby-version }}
42
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
43
+ - name: Execute rubo command
44
+ run: bundle exec exe/rubo
45
+ - name: Evaluate rubo threshold
46
+ run: |
47
+ count=$(cat rubocop/total-violations-count.txt)
48
+ if [[ "$count" -gt $RUBOCOP_ISSUE_THRESHOLD ]]; then
49
+ echo "Failure: Found $count RuboCop issue(s). It must have $RUBOCOP_ISSUE_THRESHOLD or less. \
50
+ Run 'rubo' and resolve the issues listed in rubocop/style-issues.html"
51
+ exit 1
52
+ else
53
+ echo "Sucess: Found $count RuboCop issue(s), which is less than the limit of $RUBOCOP_ISSUE_THRESHOLD"
54
+ fi
data/CHANGELOG.md CHANGED
@@ -1,6 +1,41 @@
1
1
  # CHANGELOG
2
2
 
3
- Issues are tracked at https://github.com/roberts1000/rubocop_plus/issues. Changes marked as **(Internal)** support development or refactoring.
3
+ Issues are tracked at https://github.com/roberts1000/rubocop_plus/issues. Issues marked as **(Internal)** only affect development.
4
+
5
+ ## 2.5.0 (Oct 31, 2021)
6
+
7
+ 1. [#153](../../issues/153): Use `rspec_starter` `~> 2.0`. **(Internal)**
8
+ 1. [#155](../../issues/155): Exclude `bin/yarn` and `spec/dummy/bin/yarn` for all cops.
9
+ 1. [#157](../../issues/157): Make the PR workflow execute `exe/rubo`. **(Internal)**
10
+ 1. [#159](../../issues/159): Use `rubocop` `1.22.3`.
11
+ 1. [#162](../../issues/162): Use `rubocop-performance` `1.12.0`.
12
+ 1. [#164](../../issues/164): Use `rubocop-rails` `2.12.4`.
13
+ 1. [#166](../../issues/166): Use `rubocop-rspec` `2.5.0`.
14
+
15
+ ## 2.4.0 (Aug 03, 2021)
16
+
17
+ 1. [#147](../../issues/147): Exclude `spec/dummy/config/environments` files for all cops.
18
+ 1. [#149](../../issues/149): Exclude `spec/dummy/config/puma.rb` file for all cops.
19
+
20
+ ## 2.3.0 (Jul 29, 2021)
21
+
22
+ 1. [#129](../../issues/129): Use `rubocop` `1.18.4`.
23
+ 1. [#131](../../issues/131): Remove Travis CI integration. **(Internal)**
24
+ 1. [#133](../../issues/133): Add GitHub action workflow to check pull requests. **(Internal)**
25
+ 1. [#135](../../issues/135): Use `rubocop-performance` `1.11.4`.
26
+ 1. [#137](../../issues/137): Use `rubocop-rails` `2.11.3`.
27
+ 1. [#139](../../issues/139): Use `rubocop-rake` `0.6.0`.
28
+ 1. [#141](../../issues/141): Use `rubocop-rspec` `2.4.0`.
29
+ 1. [#143](../../issues/143): Disable the `Style/StringLiterals` cop.
30
+
31
+ ## 2.2.0 (May 16, 2021)
32
+
33
+ 1. [#113](../../issues/113): Require `rubocop-rake`.
34
+ 1. [#115](../../issues/115): Use `rubocop-performance` `1.11.3`.
35
+ 1. [#116](../../issues/116): Drop support for Ruby 2.5.
36
+ 1. [#118](../../issues/118): Use `rubocop` `1.14.0`.
37
+ 1. [#121](../../issues/121): Use `rubocop-rails` `2.10.1`.
38
+ 1. [#123](../../issues/123): Use `pry` `~> 0.14.1`. **(Internal)**
4
39
 
5
40
  ## 2.1.0 (Dec 21, 2020)
6
41
 
data/Gemfile CHANGED
@@ -6,5 +6,5 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
6
  gemspec
7
7
 
8
8
  group :development do
9
- gem 'rspec_starter', "~> 1.5", require: false
9
+ gem 'rspec_starter', "~> 2.0", require: false
10
10
  end
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2019 roberts1000
3
+ Copyright (c) 2021 roberts1000
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,72 +1,94 @@
1
1
  # rubocop_plus
2
2
 
3
- rubocop_plus is a gem that wraps around the community [rubocop gem](https://github.com/bbatsov/rubocop). It makes changes and enhancements to the base rubocop gem by altering configuration and code. All configuration changes can be found in the `config` folder.
3
+ `rubocop_plus` is a Ruby gem that wraps around the [rubocop](https://github.com/bbatsov/rubocop) gem. It makes changes and enhancements to `rubocop` by altering configuration and code. All configuration changes can be found in the `config` folder.
4
4
 
5
- #### Disclaimer
5
+ **Disclaimer:** rubocop_plus was built to store **my preferred** rubocop configuration and enhancements. **There is no association with the base rubocop project.** rubocop_plus was made public so it could be used by projects that I support, and to serve as a reference gem to anyone who wants to do something similar.
6
6
 
7
- rubocop_plus was built as a place to store **my preferred** rubocop configuration and enhancements, in a single location. **There is absolutely no association with the base rubocop project.** rubocop_plus was made public so it could be shared between multiple organizations that I support, and to serve as a reference gem to anyone who wants to do some similar.
7
+ ## Versioning Strategy
8
8
 
9
- ## Version Policy
9
+ 1. Releases are versioned using [semver 2.0.0](https://semver.org/spec/v2.0.0.html).
10
+ 1. Ruby versions that reach EOL are removed in a major or minor release.
10
11
 
11
- Releases are versioned using [semver 2.0.0](https://semver.org/spec/v2.0.0.html).
12
+ ## Supported Ruby Versions
13
+
14
+ Ruby 2.6.0+ is supported.
12
15
 
13
16
  ## Installation
14
17
 
15
- You can install rubocop_plus manually by performing
18
+ Install rubocop_plus manually by executing:
16
19
 
17
20
  $ gem install rubocop_plus
18
21
 
19
- You can also place rubocop_plus in your project's Gemfile
22
+ You can also add rubocop_plus to the `:development` group of your project's `Gemfile`:
20
23
 
21
24
  ```ruby
22
- gem 'rubocop_plus'
25
+ group :development do
26
+ gem 'rubocop_plus', require: false
27
+ end
23
28
  ```
24
29
 
25
- Remove rubocop from the project's Gemfile and Gemfile.lock. rubocop_plus will install the version of rubocop that it wants to use.
30
+ If you add rubocop_plus to your `Gemfile`, it is recommended that you use `require: false`. There's no need to load rubocop_plus files when your project runs.
31
+
32
+ **Keep in mind**, if you place rubocop_plus in a project's `Gemfile`, it will **lock** your project to the version of rubocop_plus that gets written to the `Gemfile.lock`. If you're using a CI tool like Jenkins, this will likely make the CI tool use that same version - which is not always the desired outcome.
26
33
 
27
- Then run
34
+ Next, remove the `rubocop` gem if it's listed in the `Gemfile`. rubocop_plus will install the version of rubocop that it needs.
35
+
36
+ Bundle the app:
28
37
 
29
38
  $ bundle
30
39
 
31
- Initialize your project's rubocop configuration
40
+ Initialize your project's rubocop configuration:
32
41
 
33
42
  $ rubo --init
34
43
 
35
- This will create a specially configured `.rubocop.yml` inside the project root.
36
-
37
- **Note:** Keep in mind, if you place rubocop_plus in a projects Gemfile, it will **lock** your project to the version of rubocop_plus that gets written to the Gemfile.lock file. If you're using a continuous integration platform, like Jenkins or Travis, this will likely restrict the CI tool to that same version - which is not always ideal. Some people prefer to have the CI platform **tell** the project which version of rubocop_plus to use. In that case, you should not put the rubocop_plus in the project's Gemfile.
44
+ This will create a `.rubocop.yml` inside the project root. By default, this file has configuration that tells rubocop to look in the rubocop_plus gem for custom RuboCop configuration. You can add additional configuration to this file if you would like to make other changes to RuboCop.
38
45
 
39
46
  ## Usage
40
47
 
41
- `rubocop_plus` provides a `rubo` command that you can use run to invoke rubocop in a standard manner. It will write all output to the `rubocop` folder inside the project. You can run `rubo --help` to see a list of commands. If rubocop_plus is included the project's Gemfile, rubo will execute the locked version. Otherwise, it will execute the latest version on the system.
48
+ rubocop_plus provides a `rubo` command that you can use run to invoke rubocop in a standard manner. It will write all output to the `rubocop/` folder inside the project. You can run `rubo --help` to see a list of commands. If rubocop_plus is included the project's Gemfile, rubo will execute the locked version. Otherwise, it will execute the latest version on the system.
42
49
 
43
50
  #### Total Violation Count
44
51
 
45
- The `rubo` command will create a `rubocop/total-violations-count.txt file` as part of the output. This file holds a single number that represents the total number of violations that were found by rubocop. This file was created so continuous integration tools like Jenkins or Travis could be configured to fail builds that have "too many" violations.
52
+ The `rubo` command creates a `rubocop/total-violations-count.txt file` as part of the output. This file holds a single number that represents the total number of violations that were found by rubocop. This file was created so continuous integration tools like Jenkins could be configured to fail builds that have "too many" violations.
46
53
 
47
- #### Specifying the Correct Ruby
54
+ ## Development
48
55
 
49
- rubocop needs to know which version of ruby to use to have a basis for evaluating your application. rubocop_plus does not perform any magic here, but we offer a recommendation on how to proceed:
56
+ ### Setup
50
57
 
51
- 1. Make sure your `.rubocop.yml` does not include the `TargetRubyVersion` key under `AllCops:`. If it is present, rubocop will always use that value.
52
- 1. Create a `.ruby-version` file and define your ruby version inside this file. The file should have a single value specifying the full ruby version (i.e 2.5.0).
53
- 1. Specify the `ruby` version in the Gemfile by adding `ruby File.read('.ruby-version', mode: 'rb').chomp` to the Gemfile. This will avoid duplication by reading the value out of the `.ruby-version` file.
58
+ Checkout the repo, then `cd` into the project and run:
54
59
 
55
- As of rubocop 0.52.1 (01/15/2018), rubocop does not look at the Gemfile to determine the ruby version. Hopefully that will change in the future. Until then, rubocop will pull the value out of the `.ruby-version` file and other services can read the value from `.ruby-version` or the `Gemfile`.
60
+ $ bin/setup
56
61
 
57
- ## Development
62
+ ### Run the Test Suite
63
+
64
+ Run the test suite:
65
+
66
+ $ bin/start_rspec
67
+
68
+ ### Start a Development Console
69
+
70
+ Start an interactive prompt that will allow you to experiment (choose either):
71
+
72
+ ```bash
73
+ $ bin/console # for Pry
74
+ $ rake console # for IRB
75
+ ```
76
+
77
+ ### Workflow Advice
78
+
79
+ The easiest way to develop with the gem locally is to `cd` into another ruby project that can serve as a test bed. From the sample project's root folder, execute `/path/to/rubocop_plus/exe/rubo` to execute the development version of rubocop_plus.
58
80
 
59
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
81
+ ### Release a New Version
60
82
 
61
- The easiest way to test the gem locally is to `cd` into a ruby project that can serve as a test bed. From the sample project's root folder, execute `rubo` by typing the relative (or full path) to the `rubo` command where you cloned the rubocop_plus project. If your sample_app and rubocop_plus folder were in the same parent folder, your command would look like `../rubocop_plus/exe/rubo`.
83
+ To release a new version, update the version number in `version.rb`, and then run `rake release`. This will create a git tag for the version, push git commits and tags, and push the gem to [rubygems.org](https://rubygems.org).
62
84
 
63
- 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).
85
+ ### Run rubocop_plus on Itself
64
86
 
65
- To run rubocop_plus on itself, `cd` to the root of `rubocop_plus` and run `exe/rubo`. If you just run `rubo`, you'll be invoking the version of `rubo` that was installed by the latest installed version of the gem...not the version of `rubo` within the development folder of the gem.
87
+ To run rubocop_plus on itself, `cd` to the root of the `rubocop_plus` development folder and run `exe/rubo`. If you just run `rubo`, you will invoke the `rubo` for the latest **installed** rubocop_plus gem and not the version of `rubo` within the development folder.
66
88
 
67
89
  ## Contributing
68
90
 
69
- Contributions are welcome, but please be aware that rubocop_plus was created to serve the projects and teams that I directly support. Their needs and style preferences will always come first. To contribute, create an issue on the [GitHub Issue board](https://github.com/roberts1000/rubocop_plus/issues) and wait for feedback. Once the idea is approved, submit a Pull Request.
91
+ Contributions are welcome, but please be aware that rubocop_plus was created to serve the projects and teams that I directly support. Their needs and style preferences will come first. To contribute, create an issue on the [GitHub Issue board](https://github.com/roberts1000/rubocop_plus/issues) and wait for feedback. Once the idea is approved, submit a Pull Request.
70
92
 
71
93
  ## License
72
94
 
data/Rakefile CHANGED
@@ -5,8 +5,8 @@ RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task :default => :spec
7
7
 
8
- desc "Start a console with rubocop_plus loaded"
8
+ desc "Start an IRB console with rubocop_plus loaded"
9
9
  task :console do
10
- exec "pry -r rubocop_plus -I ./lib"
11
- # exec "irb -r rubocop_plus -I ./lib"
10
+ # exec "pry -r rubocop_plus -I ./lib"
11
+ exec "irb -r rubocop_plus -I ./lib"
12
12
  end
data/bin/setup CHANGED
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env bash
2
+
2
3
  set -euo pipefail
3
4
  IFS=$'\n\t'
4
5
  set -vx
5
6
 
6
7
  bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -53,6 +53,10 @@ Style/MixinUsage:
53
53
  Style/PreferredHashMethods:
54
54
  EnforcedStyle: verbose
55
55
 
56
+ # See the commment for Style/StringLiterals.
57
+ Style/QuotedSymbols:
58
+ Enabled: false
59
+
56
60
  # Style/StringLiterals enforces the use of single quotes around string literals. The major argument for using single quotes is
57
61
  # they should be faster than double quotes (which need to be parsed for possible uses of interpolation). Also, they help reveal
58
62
  # intention by alerting developers that there is no interpolation in the string. However, there is no performance difference
data/config/rubocop.yml CHANGED
@@ -6,12 +6,18 @@ require:
6
6
 
7
7
  AllCops:
8
8
  Exclude: # skip all of the following....
9
+ - bin/yarn # A 3rd-party auto-generated file
9
10
  - db/schema.rb # An auto-generated file
10
11
  - spec/dummy/db/schema.rb # An auto-generated file
11
12
  - lib/tasks/cucumber.rake # A 3rd-party auto-generated file
12
13
  - vendor/**/* # Contains 3rd party libs; no need to check code that originated outside the project
13
14
  - node_modules/**/* # Yarn 3rd party dependencies; no need to check code that originated outside the project
14
15
  - client/**/* # It's mostly JavaScript, but it may contain 3rd party that was written outside of the project
16
+ - spec/dummy/bin/yarn # A 3rd-party auto-generated file
17
+ - spec/dummy/config/environments/production.rb # A 3rd-party auto-generated file
18
+ - spec/dummy/config/environments/development.rb # A 3rd-party auto-generated file
19
+ - spec/dummy/config/environments/test.rb # A 3rd-party auto-generated file
20
+ - spec/dummy/config/puma.rb # A 3rd-party auto-generated file
15
21
  NewCops: enable
16
22
 
17
23
  inherit_from:
data/exe/rubo CHANGED
@@ -26,14 +26,14 @@ command = Cri::Command.define do
26
26
  usage 'rubo [options]'
27
27
  # aliases :ds, :stuff
28
28
  # summary 'foo'
29
- description 'rubo is an executable installed by the rubocop_plus gem. It invokes rubocop with a custom set of ' \
30
- "rules. The following status codes are returned:\n\n" \
31
- "STATUS CODES\n\n" \
32
- "0 - rubocop ran and results were written to the 'rubocop' folder........\n" \
33
- "1 - the project root does not contain a .rubocop.yml file...............\n" \
34
- "2 - the .rubocop.yml file does not have the correct content.............\n" \
35
- "3 - the 'rubocop' command cound not be found (likely due to missing gem)\n" \
36
- "4 - the output from the 'rubo' command is missing or corrupt............\n"
29
+ description "rubo is an executable installed by the rubocop_plus gem. It invokes rubocop with a custom set of " \
30
+ "rules. The following status codes are returned:\n\n" \
31
+ "STATUS CODES\n\n" \
32
+ "0 - rubocop ran and results were written to the 'rubocop' folder........\n" \
33
+ "1 - the project root does not contain a .rubocop.yml file...............\n" \
34
+ "2 - the .rubocop.yml file does not have the correct content.............\n" \
35
+ "3 - the 'rubocop' command cound not be found (likely due to missing gem)\n" \
36
+ "4 - the output from the 'rubo' command is missing or corrupt............\n"
37
37
 
38
38
  flag :h, :help, 'show help for this command' do |_value, cmd|
39
39
  puts cmd.help
@@ -1,4 +1,4 @@
1
1
  module RubocopPlus
2
- VERSION = "2.1.0".freeze
3
- RUBOCOP_VERSION = '1.6.1'.freeze
2
+ VERSION = "2.5.0".freeze
3
+ RUBOCOP_VERSION = '1.22.3'.freeze
4
4
  end
data/rubocop_plus.gemspec CHANGED
@@ -20,17 +20,17 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.required_ruby_version = ">= 2.5.0"
23
+ spec.required_ruby_version = ">= 2.6.0"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 2.0"
26
- spec.add_development_dependency "pry", "~> 0.13.1"
26
+ spec.add_development_dependency "pry", "~> 0.14.1"
27
27
  spec.add_development_dependency "rake", "~> 13.0"
28
28
  spec.add_development_dependency "rspec", "~> 3.10.0"
29
29
 
30
30
  spec.add_dependency "cri", "~> 2.0"
31
31
  spec.add_dependency "rubocop", RubocopPlus::RUBOCOP_VERSION.to_s
32
- spec.add_dependency "rubocop-performance", "1.9.1"
33
- spec.add_dependency "rubocop-rails", "2.9.1"
34
- spec.add_dependency "rubocop-rake", "0.5.1"
35
- spec.add_dependency "rubocop-rspec", "2.1.0"
32
+ spec.add_dependency "rubocop-performance", "1.12.0"
33
+ spec.add_dependency "rubocop-rails", "2.12.4"
34
+ spec.add_dependency "rubocop-rake", "0.6.0"
35
+ spec.add_dependency "rubocop-rspec", "2.5.0"
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - roberts1000
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-21 00:00:00.000000000 Z
11
+ date: 2021-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.13.1
33
+ version: 0.14.1
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.13.1
40
+ version: 0.14.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,70 +86,70 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 1.6.1
89
+ version: 1.22.3
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.6.1
96
+ version: 1.22.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-performance
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 1.9.1
103
+ version: 1.12.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 1.9.1
110
+ version: 1.12.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop-rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 2.9.1
117
+ version: 2.12.4
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 2.9.1
124
+ version: 2.12.4
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop-rake
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.5.1
131
+ version: 0.6.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.5.1
138
+ version: 0.6.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rubocop-rspec
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 2.1.0
145
+ version: 2.5.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 2.1.0
152
+ version: 2.5.0
153
153
  description: Enhancements to the standard rubocop gem.
154
154
  email:
155
155
  - roberts@corlewsolutions.com
@@ -158,10 +158,10 @@ executables:
158
158
  extensions: []
159
159
  extra_rdoc_files: []
160
160
  files:
161
+ - ".github/workflows/check_pull_request.yml"
161
162
  - ".gitignore"
162
163
  - ".rspec"
163
164
  - ".rubocop.yml"
164
- - ".travis.yml"
165
165
  - CHANGELOG.md
166
166
  - Gemfile
167
167
  - LICENSE.md
@@ -207,14 +207,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
- version: 2.5.0
210
+ version: 2.6.0
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.2.0
217
+ rubygems_version: 3.2.26
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: Enhancements to the standard rubocop gem.
data/.travis.yml DELETED
@@ -1,12 +0,0 @@
1
- sudo: false
2
- cache: bundler
3
- language: ruby
4
- rvm:
5
- - 2.5
6
- - 2.6
7
- - 2.7
8
- before_install: gem install bundler -v 2.1.4
9
- notifications:
10
- email:
11
- on_success: never # default: change
12
- on_failure: never # default: always