debian-mirror-gitlab/config/initializers/licensee_license_patch.rb

15 lines
278 B
Ruby
Raw Normal View History

2022-11-25 23:54:43 +05:30
# 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