eager_eye 0.8.0 → 1.0.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 +52 -0
- data/README.md +14 -0
- data/lib/eager_eye/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0a840898e28894a827bdfd1d699ca52aa51661cff354bcd78ab1e8737273bd1
|
|
4
|
+
data.tar.gz: bd2b8db2cc93171652edfe000ca165bcfe57cd39ce9978cd908e9b51bc3e76d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20de0125a550e6b4a9fc0a9a0f365179985da20dd20f0ec7c481bdb1504b053738cbd2cce73989f8235d2b28970b458f73ab526f737a89efedc0a34b94eb7038
|
|
7
|
+
data.tar.gz: 7f82fecef6770b22d8ac2cafbe3dad2401737ca6f2fa7ca7c4c1cf78c6171b321b6db3a927ddfdf67ec677cc875b753e859fbef5ed0c2238115130e83d9bd886
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,58 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.0] - 2025-12-16
|
|
11
|
+
|
|
12
|
+
### Stable Release
|
|
13
|
+
|
|
14
|
+
EagerEye is now production-ready! This release marks the first stable version with:
|
|
15
|
+
|
|
16
|
+
- 7 battle-tested detectors
|
|
17
|
+
- 95%+ test coverage
|
|
18
|
+
- Comprehensive documentation
|
|
19
|
+
- VS Code extension
|
|
20
|
+
- RSpec integration
|
|
21
|
+
- Auto-fix support
|
|
22
|
+
|
|
23
|
+
### Detectors
|
|
24
|
+
|
|
25
|
+
- **LoopAssociation** - N+1 in iterations
|
|
26
|
+
- **SerializerNesting** - N+1 in serializers
|
|
27
|
+
- **MissingCounterCache** - Counter cache suggestions
|
|
28
|
+
- **CustomMethodQuery** - Query methods in loops (Bullet can't catch!)
|
|
29
|
+
- **CountInIteration** - .count vs .size
|
|
30
|
+
- **CallbackQuery** - Queries in callbacks
|
|
31
|
+
- **PluckToArray** - Pluck to subquery
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
- CLI with JSON output
|
|
36
|
+
- Configuration file support (.eager_eye.yml)
|
|
37
|
+
- Inline suppression comments (RuboCop-style)
|
|
38
|
+
- Auto-fix suggestions (experimental)
|
|
39
|
+
- RSpec matchers (`pass_eager_eye`)
|
|
40
|
+
- VS Code extension
|
|
41
|
+
- GitHub Actions integration
|
|
42
|
+
|
|
43
|
+
### Documentation
|
|
44
|
+
|
|
45
|
+
- Added SECURITY.md
|
|
46
|
+
- Added CONTRIBUTING.md
|
|
47
|
+
- Coverage badge added to README
|
|
48
|
+
|
|
49
|
+
## [0.9.0] - 2025-12-16
|
|
50
|
+
|
|
51
|
+
### Added
|
|
52
|
+
|
|
53
|
+
- **VS Code Extension** - Released as a separate package
|
|
54
|
+
- Real-time diagnostics on file save
|
|
55
|
+
- Problem highlighting with squiggly underlines
|
|
56
|
+
- Quick fix actions for common issues
|
|
57
|
+
- Status bar showing issue count
|
|
58
|
+
- Commands: Analyze Current File, Analyze Workspace, Clear Diagnostics
|
|
59
|
+
- Configuration options for enabling/disabling features
|
|
60
|
+
- See: https://marketplace.visualstudio.com/items?itemName=hamzagedikkaya.eager-eye
|
|
61
|
+
|
|
10
62
|
## [0.8.0] - 2025-12-16
|
|
11
63
|
|
|
12
64
|
### Added
|
data/README.md
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/hamzagedikkaya/eager_eye/actions/workflows/main.yml)
|
|
4
4
|
[](https://badge.fury.io/rb/eager_eye)
|
|
5
|
+
[](https://github.com/hamzagedikkaya/eager_eye)
|
|
5
6
|
[](https://www.ruby-lang.org/)
|
|
6
7
|
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
[](https://marketplace.visualstudio.com/items?itemName=hamzagedikkaya.eager-eye)
|
|
7
9
|
|
|
8
10
|
**Static analysis tool for detecting N+1 queries in Rails applications.**
|
|
9
11
|
|
|
@@ -531,6 +533,18 @@ EagerEye uses static analysis, which means:
|
|
|
531
533
|
|
|
532
534
|
For best results, use EagerEye alongside runtime tools like Bullet for comprehensive N+1 detection.
|
|
533
535
|
|
|
536
|
+
## VS Code Extension
|
|
537
|
+
|
|
538
|
+
EagerEye is also available as a VS Code extension for real-time analysis while coding.
|
|
539
|
+
|
|
540
|
+
**Features:**
|
|
541
|
+
- Real-time analysis on file save
|
|
542
|
+
- Problem highlighting with squiggly underlines
|
|
543
|
+
- Quick fix actions for common issues
|
|
544
|
+
- Status bar showing issue count
|
|
545
|
+
|
|
546
|
+
**Install:** Search for "EagerEye" in VS Code Extensions or visit the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=hamzagedikkaya.eager-eye).
|
|
547
|
+
|
|
534
548
|
## Development
|
|
535
549
|
|
|
536
550
|
```bash
|
data/lib/eager_eye/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eager_eye
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hamzagedikkaya
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ast
|