From 7e342141ba8656d7ba64da88460e3d44f50c4828 Mon Sep 17 00:00:00 2001 From: Fernando Chorney Date: Tue, 3 Aug 2021 12:05:13 -0500 Subject: [PATCH 1/2] Fix typos --- src/api.jl | 2 +- src/forges/GitLab/pipeline_schedules.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api.jl b/src/api.jl index f97b86f..f07872c 100644 --- a/src/api.jl +++ b/src/api.jl @@ -264,4 +264,4 @@ Delete a given pull request comment. List all existing pipeline schedules for a project. """ @endpoint list_pipeline_schedules(project::Integer) -@endpoint list_pipeline_schedules(ownert::AStr, repo::AStr) +@endpoint list_pipeline_schedules(owner::AStr, repo::AStr) diff --git a/src/forges/GitLab/pipeline_schedules.jl b/src/forges/GitLab/pipeline_schedules.jl index 4d0552f..e0801bf 100644 --- a/src/forges/GitLab/pipeline_schedules.jl +++ b/src/forges/GitLab/pipeline_schedules.jl @@ -20,7 +20,7 @@ function endpoint( ::typeof(list_pipeline_schedules), project::Integer, ) - return EndPoint(:GET, "/projects/$project/pipeline_schedules") + return Endpoint(:GET, "/projects/$project/pipeline_schedules") end function endpoint( @@ -29,7 +29,7 @@ function endpoint( owner::AStr, repo::AStr, ) - return EndPoint(:GET, "/projects/$(encode(owner, repo))/pipeline_schedules") + return Endpoint(:GET, "/projects/$(encode(owner, repo))/pipeline_schedules") end into(::GitLabAPI, ::typeof(list_pipeline_schedules)) = Vector{PipelineSchedule} From 5a0fd189061253f1464eec7c8ade941b699b1940 Mon Sep 17 00:00:00 2001 From: Fernando Chorney Date: Tue, 3 Aug 2021 12:05:38 -0500 Subject: [PATCH 2/2] Update Version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 4bb9cc9..4c8a209 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GitForge" uuid = "8f6bce27-0656-5410-875b-07a5572985df" authors = ["Chris de Graaf "] -version = "0.2.4" +version = "0.2.5" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"