Sha256: 9e8cdb3674786bf285fc149599ec6f0fda2f99ec8c9078aaedd41dfbeaf92da6

Contents?: true

Size: 649 Bytes

Versions: 6

Compression:

Stored size: 649 Bytes

Contents

require "amakanize/filterable"

module Amakanize
  class AuthorName
    include ::Amakanize::Filterable

    class << self
      # @note Override
      def filter_classes
        @filter_classes ||= [
          ::Amakanize::Filters::HtmlUnescapeFilter,
          ::Amakanize::Filters::NormalizationFilter,
          ::Amakanize::Filters::HyphenMinusNormalizationFilter,
          ::Amakanize::Filters::ParenthesesDeletionFilter,
          ::Amakanize::Filters::RoleNameDeletionFilter,
          ::Amakanize::Filters::TrailingAuthorNamePayloadDeletionFilter,
          ::Amakanize::Filters::SpaceDeletionFilter,
        ]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amakanize-0.7.0 lib/amakanize/author_name.rb
amakanize-0.6.5 lib/amakanize/author_name.rb
amakanize-0.6.4 lib/amakanize/author_name.rb
amakanize-0.6.3 lib/amakanize/author_name.rb
amakanize-0.6.2 lib/amakanize/author_name.rb
amakanize-0.6.1 lib/amakanize/author_name.rb