summaryrefslogtreecommitdiff
path: root/config/initializers/licensee_license_patch.rb
blob: d4680db507190cb683a77538f650e1eb76dd3c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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