Sha256: a8059b4e1be65f96e3981010788130f13054731591f5607e14a1c616260441cf
Contents?: true
Size: 403 Bytes
Versions: 35
Compression:
Stored size: 403 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/" # :nocov: def self.latest_groundskeeper_version out = `curl #{VERSION_API}groundskeeper-bitcore/latest.json 2>/dev/null` response = JSON.parse(out) response["version"] end # :nocov: end end
Version data entries
35 entries across 35 versions & 1 rubygems