diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-08-15 10:33:19 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-08-15 10:33:19 +0200 |
| commit | 6b15ccd0f53c7ffd57820fb15664ecadee74392a (patch) | |
| tree | 20ba7c838a2be1e7bd0707ed098f505c43a4da79 /lib/up2date.rb | |
| parent | 5a9e87cd5f65439ef8f2717b3b3e561f42f2e24c (diff) | |
| download | slackbuilder-6b15ccd0f53c7ffd57820fb15664ecadee74392a.tar.gz | |
Support repository path in commits
Diffstat (limited to 'lib/up2date.rb')
| -rw-r--r-- | lib/up2date.rb | 14 |
1 files changed, 0 insertions, 14 deletions
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() |
