debian-mirror-gitlab/config/initializers/licensee_license_patch.rb
2022-11-25 23:54:43 +05:30

14 lines
278 B
Ruby

# frozen_string_literal: true
require 'licensee/license'
module Licensee
module LicensePatch
# Patch from https://github.com/licensee/licensee/pull/589
def ==(other)
other.is_a?(self.class) && key == other.key
end
end
License.prepend LicensePatch
end