summaryrefslogtreecommitdiff
path: root/lib/up2date.rb
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2023-10-03 18:53:41 +0200
committerEugen Wissner <belka@caraus.de>2023-10-03 18:53:41 +0200
commitd5df676df7a9bea716fdbdaff455fa1ab57073ac (patch)
treea2109b89652e9ae64829d1e3f0d67ad01e921cb5 /lib/up2date.rb
parentf4b7883cf2a6739ca9cd7b8fe94cfe11df3918bc (diff)
downloadslackbuilder-d5df676df7a9bea716fdbdaff455fa1ab57073ac.tar.gz
Add module with an info file parser
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 d9eab15..5d63da3 100644
--- a/lib/up2date.rb
+++ b/lib/up2date.rb
@@ -35,20 +35,6 @@ module SlackBuilder
end
end
- # Request the latest version from the packagist API.
- class Packagist < Repository
- def initialize(vendor, name)
- super()
-
- @vendor = vendor
- @name = name
- end
-
- def latest
- `./bin/slackbuilder packagist #{@vendor} #{@name}`.strip
- end
- end
-
# Reads a remote LATEST file.
class LatestText < Repository
def initialize(latest_url)