lib/fontist/import/recursive_extraction.rb in fontist-1.8.1 vs lib/fontist/import/recursive_extraction.rb in fontist-1.8.2
- old
+ new
@@ -5,10 +5,10 @@
module Fontist
module Import
class RecursiveExtraction
FONTS_PATTERN = "**/*.{ttf,otf,ttc}".freeze
ARCHIVE_EXTENSIONS = %w[zip msi exe cab].freeze
- LICENSE_PATTERN = /(OFL\.txt|UFL\.txt|LICENSE\.txt|COPYING)$/i.freeze
+ LICENSE_PATTERN = /(ofl\.txt|ufl\.txt|licenses?\.txt|copying)$/i.freeze
def initialize(archive, subarchive: nil, subdir: nil)
@archive = archive
@subarchive = subarchive
@subdir = subdir