summaryrefslogtreecommitdiff
path: root/lib/rubygems/util/licenses.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/util/licenses.rb15
1 files changed, 14 insertions, 1 deletions
@@ -1,5 +1,9 @@
-# frozen_string_literal: false
class Gem::Licenses
NONSTANDARD = 'Nonstandard'.freeze
# Software Package Data Exchange (SPDX) standard open-source software
@@ -327,4 +331,13 @@ class Gem::Licenses
def self.match?(license)
!REGEXP.match(license).nil?
end
end