Skip to content

Commit e260a10

Browse files
Provide a 'Changelog' link on rubygems.org/gems/database_cleaner-active_record (#114)
* Provide a 'Changelog' link on rubygems.org/gems/database_cleaner-active_record By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/database_cleaner-active_record which makes it quick and easy for someone to check on the changes introduced with a new version. Details of this functionality can be found on https://guides.rubygems.org/specification-reference/ * Put an entry in Changelog --------- Co-authored-by: Ernesto Tagwerker <[email protected]>
1 parent d519bf4 commit e260a10

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Development (unreleased)
22

3+
* Provide a 'Changelog' link on Rubygems: https://github.com/DatabaseCleaner/database_cleaner-active_record/pull/114
34
* Fix bundling and CONTRIBUTE.md instructions: https://github.com/DatabaseCleaner/database_cleaner-active_record/pull/123
45

56
## v2.2.1 2025-05-13
@@ -27,4 +28,4 @@
2728

2829
* Add Ruby 3.2 to CI matrix: https://github.com/DatabaseCleaner/database_cleaner-active_record/pull/79
2930
* Add Rails 7.1 support: https://github.com/DatabaseCleaner/database_cleaner-active_record/pull/78
30-
* Add WHERE clause to make `ruby-spanner-activerecord` happy: https://github.com/DatabaseCleaner/database_cleaner-active_record/pull/77
31+
* Add WHERE clause to make `ruby-spanner-activerecord` happy: https://github.com/DatabaseCleaner/database_cleaner-active_record/pull/77

database_cleaner-active_record.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ Gem::Specification.new do |spec|
2929
spec.add_development_dependency "pg"
3030
spec.add_development_dependency "sqlite3"
3131
spec.add_development_dependency "trilogy"
32+
33+
spec.metadata["changelog_uri"] = spec.homepage + "/blob/main/CHANGELOG.md"
3234
end

0 commit comments

Comments
 (0)