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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cde06b2eaad01a08ed9a618103f62aff853e4adcb4f3e6a2b93807e2e00d2dfa
4
- data.tar.gz: 829b9eaa19feb6cbef043fa73822c48a204c25afc552ccf557193ff3498f6e09
3
+ metadata.gz: 806988266c00efaa8181b4379e6baa5f5ff9e5913fa4a0801fd993ededf3a580
4
+ data.tar.gz: 61e1909e93309e22265b961038f87da7c0367f38cf6cf9a763449e144e39c73f
5
5
  SHA512:
6
- metadata.gz: 8e40c5161b69aaf9f98318f7204cf7c68b9a376464179cd3169aad3c60137c629feee9870f68ed6fe3578aa13d129aa426c12211f348d5d18b3bc06d74e5e6eb
7
- data.tar.gz: 36c0b8ec173f03bf41008b14674a07bb5b5748bbd3c8e73bed0c0ac03cf19d9203578ca65bf4b650570a0626caa98a2847dd59ef59022b0afe9bbef0aefb59de
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.0...HEAD
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 << ""
@@ -1,3 +1,3 @@
1
1
  module RailsCodeHealth
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_code_health
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Kosmopoulos