From 6b15ccd0f53c7ffd57820fb15664ecadee74392a Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 15 Aug 2023 10:33:19 +0200 Subject: Support repository path in commits --- lib/up2date.rb | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lib/up2date.rb') diff --git a/lib/up2date.rb b/lib/up2date.rb index 124784b..d9eab15 100644 --- a/lib/up2date.rb +++ b/lib/up2date.rb @@ -22,20 +22,6 @@ module SlackBuilder # Reads the list fo tags from the GitHub API. class GitHub < Repository - GITHUB_QUERY = <<~GQL - query ($name: String!, $owner: String!) { - repository(name: $name, owner: $owner) { - refs(last: 10, refPrefix: "refs/tags/", orderBy: { field: TAG_COMMIT_DATE, direction: ASC }) { - nodes { - id, - name - } - } - } - } - GQL - private_constant :GITHUB_QUERY - def initialize(owner, name, version_transform = nil) super() -- cgit v1.2.3