eager_eye 1.2.15 → 1.3.0
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/CHANGELOG.md +20 -0
- data/README.md +227 -541
- data/README.tr.md +489 -0
- data/lib/eager_eye/baseline.rb +46 -0
- data/lib/eager_eye/cli.rb +15 -1
- data/lib/eager_eye/issue.rb +18 -6
- data/lib/eager_eye/version.rb +1 -1
- data/lib/eager_eye.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b938ac5233658e3dcec2b8e6a45a9f33248673e8a0a615d52dbbdbcb8700a9b9
|
|
4
|
+
data.tar.gz: dc0dff8a86a8381236e355bc65b00c589483272e3dbef07f9d8053ed2428f452
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30dbbb1acb97020776653f681407ec30de7391ad186f7d6748e3ad29f902d8370b647897641ea7835d4a0974484addc6da84f0053c945d9743e23ec340ab55d6
|
|
7
|
+
data.tar.gz: 4e20c5b19d82859f8dba12657ebdd8eef8d8ec61b909aedf73a30268d49077bfde6bf1a3252e32393a64c66fb98af69689ad15f62c85d4387bf660764d14c680
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.3.0] - 2026-05-20
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`--baseline FILE` flag** — compare the current scan against a previously
|
|
15
|
+
captured JSON report and surface only issues that are NOT in the baseline.
|
|
16
|
+
Designed for the brownfield CI workflow: accept existing N+1s as the
|
|
17
|
+
baseline, fail builds only on regressions (new issues introduced by a PR).
|
|
18
|
+
Baseline files are produced by the existing `--format json` output (the
|
|
19
|
+
flag accepts either the full report-shaped object or a bare array of
|
|
20
|
+
issues). Malformed/missing baselines exit with a clear error message.
|
|
21
|
+
- **`EagerEye::Issue.from_h(hash)`** — public factory that rebuilds an
|
|
22
|
+
`Issue` from its serialized form (e.g. a parsed JSON entry). Coerces
|
|
23
|
+
`detector`/`severity` strings back to symbols and defaults severity to
|
|
24
|
+
`:warning` when absent. Round-trips through `to_h` and `to_json`.
|
|
25
|
+
- **`EagerEye::Baseline`** — the helper behind `--baseline`. Loads issues
|
|
26
|
+
from a JSON path (`Baseline.load_issues(path)`) and filters a current
|
|
27
|
+
issue list against them (`Baseline.filter(issues, path)`). Useful
|
|
28
|
+
programmatically for projects that wrap EagerEye in their own runner.
|
|
29
|
+
|
|
10
30
|
## [1.2.15] - 2026-05-01
|
|
11
31
|
|
|
12
32
|
### Fixed
|