rails_code_health 0.3.0 → 0.3.1
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 +10 -1
- data/lib/rails_code_health/report_generator.rb +1 -1
- data/lib/rails_code_health/version.rb +1 -1
- 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: 806988266c00efaa8181b4379e6baa5f5ff9e5913fa4a0801fd993ededf3a580
|
|
4
|
+
data.tar.gz: 61e1909e93309e22265b961038f87da7c0367f38cf6cf9a763449e144e39c73f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37d498b553e834f76811b405f6be6b967fec45512170098b70b818bc952de8321cf7790dce0f7b93b1353fc373b12614ba9f7be98466e871d26f25b22ad75938
|
|
7
|
+
data.tar.gz: 1ca51781fa1cccfdabd3ef5e138d2cd2aea2e0a64432ea7e26802464c4e5c732185c09a8622ca4a558f8ccef7762653a168982dcc1db9f6fe29633ded8feb673
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.1] - 2026-05-18
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- `ReportGenerator` no longer includes migration files in the "Top Performing Files" showcase. Migrations are almost always trivially simple by construction, so they routinely crowded out genuinely well-written healthy files in the top-5 list. Migrations are still analyzed and still appear in the "Files Needing Most Attention" list when problematic.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- `docs/index.html` static landing page for GitHub Pages, explaining the why and how of the gem.
|
|
17
|
+
|
|
10
18
|
## [0.3.0] - 2026-05-12
|
|
11
19
|
|
|
12
20
|
### Added
|
|
@@ -73,7 +81,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
73
81
|
- **Reporting**: Detailed console output with health categories and JSON export
|
|
74
82
|
- **CLI**: `rails-health` command with options for format, output file, and custom configuration
|
|
75
83
|
|
|
76
|
-
[Unreleased]: https://github.com/gkosmo/rails_code_health/compare/v0.3.
|
|
84
|
+
[Unreleased]: https://github.com/gkosmo/rails_code_health/compare/v0.3.1...HEAD
|
|
85
|
+
[0.3.1]: https://github.com/gkosmo/rails_code_health/compare/v0.3.0...v0.3.1
|
|
77
86
|
[0.3.0]: https://github.com/gkosmo/rails_code_health/compare/v0.2.0...v0.3.0
|
|
78
87
|
[0.2.0]: https://github.com/gkosmo/rails_code_health/compare/v0.1.0...v0.2.0
|
|
79
88
|
[0.1.0]: https://github.com/gkosmo/rails_code_health/releases/tag/v0.1.0
|
|
@@ -183,7 +183,7 @@ module RailsCodeHealth
|
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
# Show best files if we have healthy ones
|
|
186
|
-
healthy_files = @results.select { |r| r[:health_category] == :healthy }
|
|
186
|
+
healthy_files = @results.select { |r| r[:health_category] == :healthy && r[:file_type] != :migration }
|
|
187
187
|
if healthy_files.any?
|
|
188
188
|
detailed << "✅ Top Performing Files:"
|
|
189
189
|
detailed << ""
|