summaryrefslogtreecommitdiff
path: root/lib/up2date.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/up2date.rb')
-rw-r--r--lib/up2date.rb14
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()