From 9595a5a7e9540fa52749a6b488095fd7875ddf67 Mon Sep 17 00:00:00 2001 From: Jonathan Lazaro Date: Wed, 22 Nov 2023 19:05:07 -0400 Subject: [PATCH 1/3] feat: Adds Makefile entry to generate rockspec file --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f6e39cf..0c42175 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,10 @@ PROJECT_FOLDER = template-transformer LUA_PROJECT = kong-plugin-template-transformer VERSION = 1.3.0-0 -setup: +rockspec: cp rockspec.template kong-plugin-template-transformer-$(VERSION).rockspec + +setup: rockspec @for rock in $(DEV_ROCKS) ; do \ if luarocks list --porcelain $$rock | grep -q "installed" ; then \ echo $$rock already installed, skipping ; \ From d84228af423d7aa8c807e685bac4fe7ad1815b56 Mon Sep 17 00:00:00 2001 From: Jonathan Lazaro Date: Thu, 23 Nov 2023 21:48:10 -0400 Subject: [PATCH 2/3] chore: Updates CODEOWNERS --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 09ed98d..b70c967 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @ALTbruno @andremacdowell @brennogb @glauberatanaka @guih50 @henrique1996n1 @jonathanlazaro1 @leoferlopes @mauriciokb @Miltonrdj @Wuerike \ No newline at end of file +* @andremacdowell @leoferlopes @stone-payments/payments-core-api-gtw From 95350a79fa1c64b6e0d5913ee29e2e8e6d681a36 Mon Sep 17 00:00:00 2001 From: Jonathan Lazaro Date: Mon, 27 Nov 2023 08:11:59 -0400 Subject: [PATCH 3/3] chore(release): 1.4.0 --- CHANGELOG.md | 7 +++++++ Makefile | 2 +- rockspec.template | 4 ++-- template-transformer/handler.lua | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5f5acf..d61a027 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.4.0](https://github.com/stone-payments/kong-plugin-template-transformer/compare/v1.3.0...v1.4.0) (2023-11-27) + + +### Features + +* Adds Makefile entry to generate rockspec file ([9595a5a](https://github.com/stone-payments/kong-plugin-template-transformer/commit/9595a5a7e9540fa52749a6b488095fd7875ddf67)) + ## [1.3.0](https://github.com/stone-payments/kong-plugin-template-transformer/compare/v1.2.0...v1.3.0) (2022-12-27) diff --git a/Makefile b/Makefile index 0c42175..41239d0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ DEV_ROCKS = "lua-cjson 2.1.0.10-1" "kong 3.0.2" "luacov 0.12.0" "busted 2.0.0-1" "luacov-cobertura 0.2-1" "luacheck 0.20.0" "lua-resty-template 1.9-1" PROJECT_FOLDER = template-transformer LUA_PROJECT = kong-plugin-template-transformer -VERSION = 1.3.0-0 +VERSION = 1.4.0-0 rockspec: cp rockspec.template kong-plugin-template-transformer-$(VERSION).rockspec diff --git a/rockspec.template b/rockspec.template index db9fcee..81ca4f1 100644 --- a/rockspec.template +++ b/rockspec.template @@ -1,9 +1,9 @@ package = "kong-plugin-template-transformer" -version = "1.3.0-0" +version = "1.4.0-0" source = { url = "git://github.com/stone-payments/kong-plugin-template-transformer", branch = "master", - tag = "v1.3.0", + tag = "v1.4.0", } description = { summary = "A Kong plugin that enables template transforming", diff --git a/template-transformer/handler.lua b/template-transformer/handler.lua index 4546b22..6ec7261 100644 --- a/template-transformer/handler.lua +++ b/template-transformer/handler.lua @@ -15,7 +15,7 @@ local gsub = string.gsub local gmatch = string.gmatch local TemplateTransformerHandler = { PRIORITY = 801, - VERSION = "1.3.0" + VERSION = "1.4.0" } local template_transformer = require 'kong.plugins.kong-plugin-template-transformer.template_transformer'