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
eac_tools-0.62.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.20.0 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.62.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.61.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.61.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.60.3 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.19.2 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.60.2 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.19.1 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.60.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.60.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.59.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.19.0 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.58.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.57.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.56.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.56.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
avm-eac_redmine_base0-0.18.2 lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.55.7 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
eac_tools-0.55.6 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb