schema_reaper 1.0.2 → 1.0.4

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: f26fed85dd152f6d3f64a45e34d2741f9ec065000267b02ff0f1f0dec05de4e0
4
- data.tar.gz: 6d11813b5fa9d27468479b60ffd20e86109cfc3d620c9ee0394f96525c2d0e43
3
+ metadata.gz: ac78c6af3c6c9b2551d136e276c4f258e312e6fef60945ee1507b916a11349f4
4
+ data.tar.gz: 63e813aba8d386a01a39c72aa46c6464c4b5af37268718ca14ed0da0ae6fbd30
5
5
  SHA512:
6
- metadata.gz: 9a743c7b541a5c82a80eef34b623faa83f22636bd5195cb7278921fe6772baefc75c6ce9cb87643f6ac1ebdd47d400706b9c17dd03004be5d5fbd267355170ca
7
- data.tar.gz: db87b48312c071ef3013e0a550cabe43196d68536d0dc4249f67cac5455c03360b8609c827a2785efccb55722a7c6912298bc347902e16bd10eda6b3b69107ca
6
+ metadata.gz: c72f7ba4b88d4848cc993745ee7e7abec08a5333ff1a3c58504789e981821c48143d905235addc74655d7e57278e2d412b17914a6e19c626770edf2e7250a26a
7
+ data.tar.gz: 1e519017f31e2bdf150beb98889b980fe6d7d3de3e43a06800635955a8d2adfb1c469928eb1d9186aa720e3c8cfda12543487b93da5c772bd1370751d6ee4842
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.4] - 2026-09-04
4
+
5
+ ### Changed
6
+ - Rewrote `description` as a single tight paragraph. RubyGems collapses
7
+ description whitespace, so the previous multi-line bulleted text rendered as
8
+ an unreadable blob on the gem page. Full analyzer list and usage stay in the
9
+ README. Link metadata from 1.0.3 unchanged.
10
+
11
+ ## [1.0.3] - 2026-09-04
12
+
13
+ ### Changed
14
+ - Richer gem metadata for the RubyGems page: expanded `description` (analyzer
15
+ list, safety model, gem-awareness, reporters), and added `bug_tracker_uri`,
16
+ `documentation_uri`, `wiki_uri` and `funding_uri` (GitHub Sponsors) link
17
+ metadata. No code change.
18
+
3
19
  ## [1.0.2] - 2026-09-04
4
20
 
5
21
  ### Changed
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SchemaReaper
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.4"
5
5
  end
@@ -8,25 +8,28 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ["aksshatt"]
9
9
  spec.email = ["akshatpegwar5@gmail.com"]
10
10
 
11
- spec.summary = "Find dead columns, unused indexes and schema dead-weight in Rails/ActiveRecord apps."
12
- spec.description = <<~DESC
13
- schema_reaper scans your PostgreSQL schema, its planner statistics and your
14
- codebase to surface columns, indexes and tables that are no longer used:
15
- dead columns and tables, unused and duplicate indexes, missing foreign-key
16
- indexes, always-NULL and single-value columns. Findings are scored by
17
- confidence (fusing an optional runtime attribute-access signal), carry a
18
- reclaimable-bytes estimate, and come with staged, reversible migrations.
19
- Ships table/json/markdown/sarif reporters, a CI baseline gate and a trend
20
- log.
21
- DESC
11
+ spec.summary = "Find and safely remove schema dead-weight in Rails + PostgreSQL apps."
12
+ spec.description =
13
+ "schema_reaper finds schema dead-weight in Rails/ActiveRecord + PostgreSQL apps: " \
14
+ "dead columns and tables, unused, duplicate and missing foreign-key indexes, and " \
15
+ "always-NULL or single-value columns. It cross-references the live schema and pg_stats " \
16
+ "against a static scan of your code, with an optional production runtime signal for " \
17
+ "higher confidence. Each finding is scored, carries a reclaimable-bytes estimate, and " \
18
+ "ships with a staged, reversible migration. Reporters for terminal, JSON, Markdown and " \
19
+ "SARIF; a CI baseline gate; a trend log; a Rails railtie. PostgreSQL only for now; " \
20
+ "Ruby >= 2.7. See the README for full usage."
22
21
  spec.homepage = "https://github.com/aksshatt/schema_reaper"
23
22
  spec.license = "MIT"
24
23
  spec.required_ruby_version = ">= 2.7.0"
25
24
 
26
25
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
27
- spec.metadata["homepage_uri"] = spec.homepage
28
- spec.metadata["source_code_uri"] = spec.homepage
29
- spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
26
+ spec.metadata["homepage_uri"] = spec.homepage
27
+ spec.metadata["source_code_uri"] = spec.homepage
28
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
29
+ spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
30
+ spec.metadata["documentation_uri"] = "#{spec.homepage}#readme"
31
+ spec.metadata["wiki_uri"] = "#{spec.homepage}/wiki"
32
+ spec.metadata["funding_uri"] = "https://github.com/sponsors/aksshatt"
30
33
  spec.metadata["rubygems_mfa_required"] = "true"
31
34
 
32
35
  spec.files = Dir.chdir(__dir__) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_reaper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - aksshatt
@@ -78,15 +78,14 @@ dependencies:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
80
  version: '1.5'
81
- description: |
82
- schema_reaper scans your PostgreSQL schema, its planner statistics and your
83
- codebase to surface columns, indexes and tables that are no longer used:
84
- dead columns and tables, unused and duplicate indexes, missing foreign-key
85
- indexes, always-NULL and single-value columns. Findings are scored by
86
- confidence (fusing an optional runtime attribute-access signal), carry a
87
- reclaimable-bytes estimate, and come with staged, reversible migrations.
88
- Ships table/json/markdown/sarif reporters, a CI baseline gate and a trend
89
- log.
81
+ description: 'schema_reaper finds schema dead-weight in Rails/ActiveRecord + PostgreSQL
82
+ apps: dead columns and tables, unused, duplicate and missing foreign-key indexes,
83
+ and always-NULL or single-value columns. It cross-references the live schema and
84
+ pg_stats against a static scan of your code, with an optional production runtime
85
+ signal for higher confidence. Each finding is scored, carries a reclaimable-bytes
86
+ estimate, and ships with a staged, reversible migration. Reporters for terminal,
87
+ JSON, Markdown and SARIF; a CI baseline gate; a trend log; a Rails railtie. PostgreSQL
88
+ only for now; Ruby >= 2.7. See the README for full usage.'
90
89
  email:
91
90
  - akshatpegwar5@gmail.com
92
91
  executables:
@@ -144,6 +143,10 @@ metadata:
144
143
  homepage_uri: https://github.com/aksshatt/schema_reaper
145
144
  source_code_uri: https://github.com/aksshatt/schema_reaper
146
145
  changelog_uri: https://github.com/aksshatt/schema_reaper/blob/main/CHANGELOG.md
146
+ bug_tracker_uri: https://github.com/aksshatt/schema_reaper/issues
147
+ documentation_uri: https://github.com/aksshatt/schema_reaper#readme
148
+ wiki_uri: https://github.com/aksshatt/schema_reaper/wiki
149
+ funding_uri: https://github.com/sponsors/aksshatt
147
150
  rubygems_mfa_required: 'true'
148
151
  post_install_message:
149
152
  rdoc_options: []
@@ -163,6 +166,5 @@ requirements: []
163
166
  rubygems_version: 3.4.10
164
167
  signing_key:
165
168
  specification_version: 4
166
- summary: Find dead columns, unused indexes and schema dead-weight in Rails/ActiveRecord
167
- apps.
169
+ summary: Find and safely remove schema dead-weight in Rails + PostgreSQL apps.
168
170
  test_files: []