rbcop 0.1.3 → 0.1.4

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: 34701791dafa42adb8d0c264d091285bcef7169a68a2c6d294577df0390a0d34
4
- data.tar.gz: 60afd08defd3566db0ca6917dcd0da71874cbef92d9f81a3c49da71ff3d241aa
3
+ metadata.gz: d7baedc7d1702db714b616339b43cf4ebcdeb04de2e9fd4af5bb97e00694e363
4
+ data.tar.gz: c5b6fdd787774982cf02056a1e9f18a2c8d80c724a597da9252b7ecc2ba2b9cb
5
5
  SHA512:
6
- metadata.gz: 68ae1b4e65e5d6df1456469d7fcf7f99c13e38bb17461c62b70908d0b5377f337dcf1cc55c73017a26405c839e4e84f89f002998b99f8acc49fbc4f430c38bd2
7
- data.tar.gz: e16c71efa1ec9d1909a48051a1d0a4e9b2c937c7f8c8eaa4b0bbffe5fec54be49a7ca0bf2c8a7cba3b84dc8d42bd7b1f809c57ac7e7a15092240a01641f2a92d
6
+ metadata.gz: d3e55dbc138ec6426d73aa5c20f28cd061da827a34f96dfc2510d788cd7fe7aad3a6938bc5455c6771f3d94351b7385ef8351bc0fa832254463520fbcd635c6a
7
+ data.tar.gz: 714a080386990b1f9e53577a5902a46a1090f0664abd5509fd06f1aea75b727dc92b513d7a91756d5680595af3b933d5250012001ab8bbcd9ba8aa02ad12a4ae
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # rbcop
2
2
 
3
- A reimplementation of [RuboCop](https://github.com/rubocop/rubocop) 1.91.0 in Rust, built on [Prism](https://github.com/ruby/prism) (`ruby-prism` crate).
3
+ A reimplementation of [RuboCop](https://github.com/rubocop/rubocop) 1.92.2 in Rust, built on [Prism](https://github.com/ruby/prism) (`ruby-prism` crate).
4
4
 
5
- The target is byte-identical output: same offenses, ranges, messages, `[Correctable]` flags, autocorrections, formatter output and exit status as RuboCop 1.91.0 for the same files and configuration. All 613 cops in RuboCop's `config/default.yml` are implemented. rubocop-performance, rubocop-rails, rubocop-minitest, rubocop-rspec, rubocop-rspec_rails, rubocop-factory_bot and rubocop-capybara run natively ([docs/plugins.md](docs/plugins.md)). Other plugins (rubocop-sorbet and so on) and custom cops do not; rbcop hands them to RuboCop when one is installed, and otherwise says which cops it skips (see [Plugins and custom cops](#plugins-and-custom-cops)).
5
+ The target is byte-identical output: same offenses, ranges, messages, `[Correctable]` flags, autocorrections, formatter output and exit status as RuboCop 1.92.2 for the same files and configuration. All 613 cops in RuboCop's `config/default.yml` are implemented. rubocop-performance, rubocop-rails, rubocop-minitest, rubocop-rspec, rubocop-rspec_rails, rubocop-factory_bot and rubocop-capybara run natively ([docs/plugins.md](docs/plugins.md)). Other plugins (rubocop-sorbet and so on) and custom cops do not; rbcop hands them to RuboCop when one is installed, and otherwise says which cops it skips (see [Plugins and custom cops](#plugins-and-custom-cops)).
6
6
 
7
7
  ## Install
8
8
 
@@ -104,7 +104,7 @@ cargo test --release
104
104
  RBCOP_CORPUS=<corpus dir> RBCOP_ORACLE=<oracle dir> scripts/verify.sh # the above plus check-cops.sh all
105
105
  ```
106
106
 
107
- `cargo test` replays recorded RuboCop output: every cop's RuboCop spec examples with their config variants, offenses and `-A` results (`tests/spec_corpus`, recorded by `scripts/record-spec-corpus.sh`), config scenarios (`tests/scenarios`), formatter and CLI goldens (`tests/formatters`), `--show-cops` (`tests/show_cops`) and autocorrect cases (`tests/autocorrect`). The scripts that record them (`scripts/record-spec-corpus.sh`, `scripts/scenarios.sh`, `scripts/formatters.sh`, `scripts/show-cops.sh`, `tests/autocorrect/record.sh`) and the oracle, autocorrect and cold-corpus gates need RuboCop 1.91.0 on `PATH` (with rbenv: `RBENV_VERSION=4.0.6`). Each script's header documents its arguments and environment.
107
+ `cargo test` replays recorded RuboCop output: every cop's RuboCop spec examples with their config variants, offenses and `-A` results (`tests/spec_corpus`, recorded by `scripts/record-spec-corpus.sh`), config scenarios (`tests/scenarios`), formatter and CLI goldens (`tests/formatters`), `--show-cops` (`tests/show_cops`) and autocorrect cases (`tests/autocorrect`). The scripts that record them (`scripts/record-spec-corpus.sh`, `scripts/scenarios.sh`, `scripts/formatters.sh`, `scripts/show-cops.sh`, `tests/autocorrect/record.sh`) and the oracle, autocorrect and cold-corpus gates need RuboCop 1.92.2 as `$RUBOCOP` or on `PATH`. Each script's header documents its arguments and environment.
108
108
 
109
109
  [docs/porting-cops.md](docs/porting-cops.md) describes how a cop is ported and checked, including how the corpora and oracles are laid out. [docs/rubocop-config-semantics.md](docs/rubocop-config-semantics.md) describes the configuration rules `src/config/` follows. [docs/upgrading-rubocop.md](docs/upgrading-rubocop.md) is the process for moving to a new RuboCop release.
110
110
 
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbcop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Costa
@@ -9,7 +9,7 @@ bindir: exe
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies: []
12
- description: 'A native reimplementation of RuboCop 1.91: same command line, configuration,
12
+ description: 'A native reimplementation of RuboCop 1.92: same command line, configuration,
13
13
  offenses, autocorrections and formatter output, run by the `rbcop` executable.'
14
14
  executables:
15
15
  - rbcop