Sha256: 24b2ff4f1dffe74c91099cddea1b5be20aae67d284054811979bcc243972efd9
Contents?: true
Size: 375 Bytes
Versions: 9
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true require "json" module Groundskeeper # Proxy for the Rubygems API. class Rubygems VERSION_API = "https://rubygems.org/api/v1/versions/" def self.latest_groundskeeper_version out = `curl #{VERSION_API}groundskeeper-bitcore/latest.json 2>/dev/null` response = JSON.parse(out) response["version"] end end end
Version data entries
9 entries across 9 versions & 1 rubygems