From dc2fb28e2df692cea49fa4a0a4756763ed6684ba Mon Sep 17 00:00:00 2001 From: Konstantin Gredeskoul Date: Wed, 4 Dec 2024 17:22:02 -0800 Subject: [PATCH] Adding CHANGELOG generator and make task (#34) * Updating the CHANGELOG --- CHANGELOG.md | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ Gemfile.puma-v6 | 3 ++- Makefile | 4 ++++ 3 files changed, 58 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6890e41..430580d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,57 @@ # Changelog +## [Unreleased](https://github.com/kigster/puma-daemon/tree/HEAD) + +[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.5.0...HEAD) + +**Fixed bugs:** + +- exit status 0 on puma start using monit [\#24](https://github.com/kigster/puma-daemon/issues/24) + +## [v0.5.0](https://github.com/kigster/puma-daemon/tree/v0.5.0) (2024-12-04) + +[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.4.0...v0.5.0) + +**Fixed bugs:** + +- Puma v6.5.0 not started [\#29](https://github.com/kigster/puma-daemon/issues/29) + +**Merged pull requests:** + +- Update PDF + fix shell based examples [\#32](https://github.com/kigster/puma-daemon/pull/32) ([kigster](https://github.com/kigster)) +- Fix broken support for Puma 6.5.0 v0.5.0 [\#30](https://github.com/kigster/puma-daemon/pull/30) ([kigster](https://github.com/kigster)) + +## [v0.4.0](https://github.com/kigster/puma-daemon/tree/v0.4.0) (2024-06-30) + +[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.3.2...v0.4.0) + +**Closed issues:** + +- Update puma-daemon to wider use of Rubocop [\#27](https://github.com/kigster/puma-daemon/issues/27) + +**Merged pull requests:** + +- Fixes \#27: upgrade gems, add more rubocop plugins [\#28](https://github.com/kigster/puma-daemon/pull/28) ([kigster](https://github.com/kigster)) +- Update README.adoc [\#23](https://github.com/kigster/puma-daemon/pull/23) ([kigster](https://github.com/kigster)) +- Hoping to fix specs [\#22](https://github.com/kigster/puma-daemon/pull/22) ([kigster](https://github.com/kigster)) +- \[Snyk\] Security upgrade ubuntu from latest to kinetic [\#21](https://github.com/kigster/puma-daemon/pull/21) ([kigster](https://github.com/kigster)) + +## [v0.3.2](https://github.com/kigster/puma-daemon/tree/v0.3.2) (2023-06-22) + +[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.3.1...v0.3.2) + +## [v0.3.1](https://github.com/kigster/puma-daemon/tree/v0.3.1) (2023-06-22) + +[Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.3.0...v0.3.1) + +**Fixed bugs:** + +- Double-logging [\#18](https://github.com/kigster/puma-daemon/issues/18) + +**Merged pull requests:** + +- Fix double-log from double-super invocation [\#19](https://github.com/kigster/puma-daemon/pull/19) ([jpr5](https://github.com/jpr5)) + ## [v0.3.0](https://github.com/kigster/puma-daemon/tree/v0.3.0) (2023-03-14) [Full Changelog](https://github.com/kigster/puma-daemon/compare/v0.2.3...v0.3.0) diff --git a/Gemfile.puma-v6 b/Gemfile.puma-v6 index 8f411a1..36e892b 100644 --- a/Gemfile.puma-v6 +++ b/Gemfile.puma-v6 @@ -14,7 +14,8 @@ gem 'rake', '~> 13.0' group :development, :test do gem 'asciidoctor' gem 'yard' -end + gem 'github_changelog_generator' + end group :test do gem 'codecov', require: false diff --git a/Makefile b/Makefile index 829f3d8..0746aa8 100755 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ PUMAD_HOME := $(shell dirname $(MAKEFILE_PATH)) VERSION := $(shell bundle exec ruby -I lib -r puma-daemon.rb -e 'puts Puma::Daemon::VERSION') TAG := $(shell echo "v$(VERSION)") BRANCH := $(shell git branch --show) +GITHUB_TOKEN := $(shell git config user.token) help: ## Prints help message auto-generated from the comments. @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' @@ -29,6 +30,9 @@ puma-v6: ## Installs puma 5.0.0 @ln -nfs Gemfile.puma-v6 Gemfile @bundle install -j 4 +changelog: puma-v6 ## Re-Generate CHANGELOG + @bundle exec github_changelog_generator --user kigster --project puma-daemon -t $(GITHUB_TOKEN) + test: @bundle exec rspec --color --format progress