Sha256: 020ce6f22cdc5e33a253fd86b5a84690fa218c9fd31421d02913412bdc51fccb

Contents?: true

Size: 558 Bytes

Versions: 3

Compression:

Stored size: 558 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_rails_base1/sources/base'
require 'eac_ruby_utils/core_ext'

module Avm
  module EacRailsBase0
    module Sources
      class Base < ::Avm::EacRailsBase1::Sources::Base
        CONFIG_RU_SUBPATH = 'config.ru'
        SUBS_PATHS_DEFAULT = ['sub/*/*'].freeze

        def config_ru_path
          path.join(CONFIG_RU_SUBPATH)
        end

        def subs_paths_default
          SUBS_PATHS_DEFAULT
        end

        def valid?
          super && config_ru_path.exist?
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
avm-tools-0.119.0 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
avm-eac_rails_base0-0.4.0 lib/avm/eac_rails_base0/sources/base.rb
avm-tools-0.118.0 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb