diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-11-04 14:13:59 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-11-04 14:13:59 +0100 |
| commit | 9770cc8829d6fdacd1ae02e1f78fcf270e5a5503 (patch) | |
| tree | 7f730f5e0708366f8eb5788acd268636825b88cc /lib/package.rb | |
| parent | 0023fe033731180afe8bc2242c2a512b31b8c0bf (diff) | |
| download | slackbuilder-9770cc8829d6fdacd1ae02e1f78fcf270e5a5503.tar.gz | |
Remove gem and rake support files
Diffstat (limited to 'lib/package.rb')
| -rw-r--r-- | lib/package.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/package.rb b/lib/package.rb deleted file mode 100644 index b5c44bb..0000000 --- a/lib/package.rb +++ /dev/null @@ -1,24 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at https://mozilla.org/MPL/2.0/. - -# frozen_string_literal: true - -class Package - attr_reader :path, :version, :homepage, :requires - - def initialize(path, version:, homepage:, requires: []) - @path = path - @version = version - @homepage = homepage - @requires = requires - end - - def name - File.basename @path - end - - def name_version - "#{name}-#{@version}" - end -end |
