Sha256: 36fe8f9a84660e0d88fb89876a37cf27353d767a692af8697897332d722c2b7a

Contents?: true

Size: 882 Bytes

Versions: 143

Compression:

Stored size: 882 Bytes

Contents

# frozen_string_literal: true

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

module Avm
  module EacRedmineBase0
    module Sources
      class Base < ::Avm::EacRailsBase1::Sources::Base
        DEFAULT_TEST_COMMANDS = {}.freeze
        REDMINE_LIB_SUBPATH = 'lib/redmine.rb'
        SUBS_INCLUDE_PATHS_DEFAULT = ['plugins/*'].freeze

        # Return a empty hash (No tests).
        #
        # @return [Hash<String, EacRubyUtils::Envs::Command].
        def default_test_commands
          DEFAULT_TEST_COMMANDS
        end

        def redmine_lib_path
          path.join(REDMINE_LIB_SUBPATH)
        end

        def subs_include_paths_default
          SUBS_INCLUDE_PATHS_DEFAULT
        end

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

Version data entries

143 entries across 143 versions & 2 rubygems

Version Path
avm-eac_redmine_base0-0.22.3 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.91.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.22.2 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.87.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.22.1 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.86.11 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.83.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.82.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.81.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.22.0 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.80.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.21.2 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.79.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.21.1 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.78.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.77.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.77.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.76.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.21.0 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.76.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb