rails_lens 0.2.9 → 0.2.10
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 +7 -0
- data/lib/rails_lens/analyzers/best_practices_analyzer.rb +5 -1
- data/lib/rails_lens/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: 6834edcbcafa6ae9100b5d0da80aa6e1c551ccd883788e1247cb2bebf6375773
|
|
4
|
+
data.tar.gz: a73abcfc14ef3a95c03a590137b4d6ac2403cc2f91d5982f983567d95bd8c95b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bffbfa6cf5189db266ffa2787918033836d3d27ea8aaaeb27bbc8e9f5418f6e39c03e8465a7837febfcda349b56147a967b460c54cb5981edd0741d5554c029f
|
|
7
|
+
data.tar.gz: c5d2065ff8ddbe5f276413b74b053b1dd604c363931343021ab06b4bcf326ed367343a498b4a22afb4935db9386903834af3219f855b310dde90ceb5b02adfe6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.10](https://github.com/seuros/rails_lens/compare/rails_lens/v0.2.9...rails_lens/v0.2.10) (2025-10-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* handle PostgreSQL schema-qualified table names in BestPracticesAnalyzer ([#24](https://github.com/seuros/rails_lens/issues/24)) ([607536f](https://github.com/seuros/rails_lens/commit/607536f58d8840a9123bc50eec7878b979cd1891))
|
|
9
|
+
|
|
3
10
|
## [0.2.9](https://github.com/seuros/rails_lens/compare/rails_lens/v0.2.8...rails_lens/v0.2.9) (2025-10-05)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -65,7 +65,11 @@ module RailsLens
|
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
# Check table naming
|
|
68
|
-
|
|
68
|
+
# Extract the actual table name without schema prefix for PostgreSQL
|
|
69
|
+
# PostgreSQL uses schema.table format (e.g., "ai.skills" -> "skills")
|
|
70
|
+
unqualified_table = table_name.to_s.split('.').last
|
|
71
|
+
|
|
72
|
+
if !unqualified_table.match?(/^[a-z_]+$/) || unqualified_table != unqualified_table.pluralize
|
|
69
73
|
notes << "Table name '#{table_name}' doesn't follow Rails conventions (should be plural, snake_case)"
|
|
70
74
|
end
|
|
71
75
|
|
data/lib/rails_lens/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_lens
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Abdelkader Boudih
|
|
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
263
263
|
- !ruby/object:Gem::Version
|
|
264
264
|
version: '0'
|
|
265
265
|
requirements: []
|
|
266
|
-
rubygems_version: 3.
|
|
266
|
+
rubygems_version: 3.6.9
|
|
267
267
|
specification_version: 4
|
|
268
268
|
summary: Comprehensive Rails application visualization and annotation
|
|
269
269
|
test_files: []
|