Sha256: 075b35e5d5a69ac9366b48ad6143e258b61aebe3ff2a8c08d39787ebad301072
Contents?: true
Size: 339 Bytes
Versions: 35
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true require "open-uri" module Groundskeeper # A deployed website/application. class Website VERSION_PATH = "version.txt" attr_reader :uri def initialize(uri) @uri = uri end # :nocov: def version URI.parse("#{uri}/#{VERSION_PATH}").read end # :nocov: end end
Version data entries
35 entries across 35 versions & 1 rubygems