gitlab-org--gitlab-foss/config/initializers/licensee_license_patch.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
278 B
Ruby
Raw Normal View History

# 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