Sha256: 274fc60dcb03bb6f4ca3824e13cee5bf8c3a593ef8d3e30b29bdab23cf3da600
Contents?: true
Size: 439 Bytes
Versions: 3
Compression:
Stored size: 439 Bytes
Contents
require 'r10k/errors' require 'rubygems' module R10K module Util module License def self.load if Gem::Specification::find_all_by_name('pe-license').any? begin return PELicense.load_license_key rescue PELicense::InvalidLicenseError => e raise R10K::Error.wrap(e, "Invalid PE license detected: #{e.message}") end end nil end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
r10k-2.0.2 | lib/r10k/util/license.rb |
r10k-2.0.1 | lib/r10k/util/license.rb |
r10k-2.0.0 | lib/r10k/util/license.rb |