lib/license_finder/license.rb in license_finder-2.0.0.rc2 vs lib/license_finder/license.rb in license_finder-2.0.0

- old
+ new

@@ -1,5 +1,15 @@ +require "license_finder/license/text" +require "license_finder/license/template" + +require "license_finder/license/matcher" +require "license_finder/license/header_matcher" +require "license_finder/license/any_matcher" +require "license_finder/license/none_matcher" + +require "license_finder/license/definitions" + module LicenseFinder class License class << self def all @all ||= Definitions.all @@ -53,15 +63,5 @@ def names ([short_name, pretty_name] + other_names).uniq end end end - -require "license_finder/license/text" -require "license_finder/license/template" - -require "license_finder/license/matcher" -require "license_finder/license/header_matcher" -require "license_finder/license/any_matcher" -require "license_finder/license/none_matcher" - -require "license_finder/license/definitions"