Sha256: bef73c6c9d592cd2b73b4354c187678cc431c6b9425e47918d42742a3f0333ad

Contents?: true

Size: 349 Bytes

Versions: 24

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module PlatformosCheck
  class PartialFile < LiquidFile
    DIR_PREFIX = %r{\A/?((marketplace_builder|app)/(views/partials|liquid_views|views|lib)/|modules/((\w|-)*)/(private|public)/(views/partials|liquid_views|views|lib)/)}

    def partial?
      true
    end

    def dir_prefix
      DIR_PREFIX
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
platformos-check-0.4.13 lib/platformos_check/partial_file.rb
platformos-check-0.4.12 lib/platformos_check/partial_file.rb
platformos-check-0.4.11 lib/platformos_check/partial_file.rb
platformos-check-0.4.10 lib/platformos_check/partial_file.rb
platformos-check-0.4.9 lib/platformos_check/partial_file.rb
platformos-check-0.4.8 lib/platformos_check/partial_file.rb
platformos-check-0.4.7 lib/platformos_check/partial_file.rb
platformos-check-0.4.6 lib/platformos_check/partial_file.rb
platformos-check-0.4.5 lib/platformos_check/partial_file.rb
platformos-check-0.4.4 lib/platformos_check/partial_file.rb
platformos-check-0.4.3 lib/platformos_check/partial_file.rb
platformos-check-0.4.2 lib/platformos_check/partial_file.rb
platformos-check-0.4.1 lib/platformos_check/partial_file.rb
platformos-check-0.4.0 lib/platformos_check/partial_file.rb
platformos-check-0.3.3 lib/platformos_check/partial_file.rb
platformos-check-0.3.1 lib/platformos_check/partial_file.rb
platformos-check-0.3.0 lib/platformos_check/partial_file.rb
platformos-check-0.2.2 lib/platformos_check/partial_file.rb
platformos-check-0.2.1 lib/platformos_check/partial_file.rb
platformos-check-0.2.0 lib/platformos_check/partial_file.rb