rbcop 0.1.0-aarch64-linux-gnu → 0.1.1-aarch64-linux-gnu
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 +4 -4
- data/README.md +12 -10
- data/libexec/rbcop +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aad4709d63cf5213449fb6f72836eb335a8b510ddaae64fcc180c95fa0bd3539
|
|
4
|
+
data.tar.gz: 612f87e1b676c5f4eaf8a902a99cf4d3674fa1cd84c0263c9dd879861714a5b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92213c115379c28f04d17d5c137dc4f35f908784b5e29d56ba572ea8d33c4369eff37c05b9b815263fc0f808a1d038b9a5c345d491a96b1c0b3222a09b1af688
|
|
7
|
+
data.tar.gz: 33c4569497bb8ca0d5b622e5deb642d49c531da1258df3be9a31844daae288e2ce8fe3413cdf5fc72015846dc5cf3e6c9c060093c4c7662e07ebe5cf80ac2781
|
data/README.md
CHANGED
|
@@ -10,7 +10,7 @@ The target is byte-identical output: same offenses, ranges, messages, `[Correcta
|
|
|
10
10
|
- GitHub Actions: `uses: costajohnt/rbcop@v<version>` downloads and caches the release binary.
|
|
11
11
|
- Homebrew formula and release archives with each release.
|
|
12
12
|
|
|
13
|
-
[docs/migration.md](docs/migration.md) covers switching a project from RuboCop: Gemfile, binstubs, CI, editors and plugins.
|
|
13
|
+
[docs/migration.md](docs/migration.md) covers switching a project from RuboCop: Gemfile, binstubs, CI, editors and plugins. `docs/releasing.md` describes how releases are built.
|
|
14
14
|
|
|
15
15
|
## Build
|
|
16
16
|
|
|
@@ -33,7 +33,7 @@ rbcop -f json -o report.json
|
|
|
33
33
|
|
|
34
34
|
All builtin formatters except `autogenconf` are supported, as are the display options, `--fail-level`, `--stdin` (with `-a`/`-A` it prints the corrected source after the report), `-L`, `--show-cops`, `-v` and `-V`.
|
|
35
35
|
|
|
36
|
-
Not supported: `--auto-gen-config`, `--regenerate-todo`, `--disable-uncorrectable`, `--report-unused-todo-entries`, `--display-suppressed`, `--diff`, `--changed`, the server, LSP and MCP modes, `-r`/`--plugin`, `-d`, `--profile`, `--memory`, custom formatter classes, `require:` of local Ruby files
|
|
36
|
+
Not supported: `--auto-gen-config`, `--regenerate-todo`, `--disable-uncorrectable`, `--report-unused-todo-entries`, `--display-suppressed`, `--diff`, `--changed`, the server, LSP and MCP modes, `-r`/`--plugin`, `-d`, `--profile`, `--memory`, custom formatter classes, `require:` of local Ruby files and remote `inherit_from` URLs. ERB in config files is rendered by running `ruby`, as RuboCop renders it. `--cache` is accepted and has no effect. [docs/known-gaps.md](docs/known-gaps.md) lists these and every other known difference, including a few deliberate ones (for example, `-o` pointing at a file being inspected is refused). `-a`/`-A` do not write files that resolve (through symlinks) outside the working directory and the paths given on the command line; those are reported uncorrected with a warning.
|
|
37
37
|
|
|
38
38
|
## Plugins and custom cops
|
|
39
39
|
|
|
@@ -72,16 +72,18 @@ With `RBCOP_FALLBACK=1`, rbcop runs RuboCop once more for exactly those cops (`-
|
|
|
72
72
|
|
|
73
73
|
## Speed
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
CI-shaped runs (Linux container, 4 vCPUs, each project's own config, RuboCop with an empty result cache, median of 3): rbcop is 10x to 19x faster than `rubocop --parallel`, about 14x on average.
|
|
76
76
|
|
|
77
|
-
|
|
|
78
|
-
|
|
79
|
-
|
|
|
80
|
-
|
|
|
81
|
-
|
|
|
82
|
-
|
|
|
77
|
+
| Codebase | Files | `rubocop --parallel` | rbcop | Speedup |
|
|
78
|
+
|---|---:|---:|---:|---:|
|
|
79
|
+
| rails | 3,476 | 50.6 s | 2.64 s | 19x |
|
|
80
|
+
| discourse | 12,441 | 140.6 s | 10.16 s | 14x |
|
|
81
|
+
| mastodon | 3,297 | 61.2 s | 6.10 s | 10x |
|
|
82
|
+
| brew | 1,977 | 69.0 s | 4.39 s | 16x |
|
|
83
|
+
| solidus | 2,171 | 28.3 s | 2.12 s | 13x |
|
|
84
|
+
| fastlane | 1,355 | 30.3 s | 2.02 s | 15x |
|
|
83
85
|
|
|
84
|
-
rbcop has no result cache, so RuboCop with a warm cache
|
|
86
|
+
rbcop has no result cache, so RuboCop with a warm cache can be faster on an unchanged tree. Method, 2 vCPU numbers and raw data: [docs/benchmarks.md](docs/benchmarks.md).
|
|
85
87
|
|
|
86
88
|
## Gates
|
|
87
89
|
|
data/libexec/rbcop
CHANGED
|
Binary file
|