Sha256: 29c9be1de10043c09764817000281f47ac45171b21d05fa83e4532c0809a3d35

Contents?: true

Size: 1.02 KB

Versions: 132

Compression:

Stored size: 1.02 KB

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'
        EAC_RAILS_BASE0_GEMNAME = 'eac_rails_base0'
        EAC_RAILS_BASE0_TEST_NAME = 'eac_rails_base0'
        EAC_RAILS_BASE0_TEST_RAKE_TASK_NAME = 'eac_rails_base0:test'
        SUBS_INCLUDE_PATHS_DEFAULT = ['sub/*/*'].freeze

        def config_ru_path
          path.join(CONFIG_RU_SUBPATH)
        end

        def default_test_commands
          {
            EAC_RAILS_BASE0_TEST_NAME => eac_rails_base0_test_command
          }
        end

        def eac_rails_base0_test_command
          rake_test_command(EAC_RAILS_BASE0_TEST_RAKE_TASK_NAME)
        end

        def subs_include_paths_default
          SUBS_PATHS_DEFAULT
        end

        def valid?
          super && gemfile_lock_gem_version(EAC_RAILS_BASE0_GEMNAME).present?
        end
      end
    end
  end
end

Version data entries

132 entries across 132 versions & 2 rubygems

Version Path
eac_tools-0.60.3 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.60.2 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
avm-eac_rails_base0-0.10.1 lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.60.1 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.60.0 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.59.0 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.58.0 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.57.0 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
avm-eac_rails_base0-0.10.0 lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.56.1 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.56.0 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
avm-eac_rails_base0-0.9.1 lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.55.7 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.55.6 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.55.5 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.55.4 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.55.3 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.55.2 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.55.1 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb
eac_tools-0.55.0 sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/sources/base.rb