Sha256: e490e18fc8d64088f9083af15d70bb8418522ee08a9586d2efa9605101be3943
Contents?: true
Size: 293 Bytes
Versions: 148
Compression:
Stored size: 293 Bytes
Contents
# encoding: utf-8 # author: Christoph Hartmann # author: Dominik Richter class Spdx def self.licenses spdx_file = File.join(File.dirname(__FILE__), 'spdx.txt').freeze File.read(spdx_file).split("\n") end def self.valid_license?(license) licenses.include?(license) end end
Version data entries
148 entries across 148 versions & 2 rubygems