Sha256: bee682acf666d7db1cefe87d38f77221ce9dedb191d4d101784ffcfe646a0145

Contents?: true

Size: 853 Bytes

Versions: 78

Compression:

Stored size: 853 Bytes

Contents

# frozen_string_literal: true

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

module Avm
  module EacRedminePluginBase0
    module Sources
      class Base < ::Avm::EacRubyBase1::Sources::Base
        require_sub __FILE__, include_modules: true

        DEFAULT_GEMFILE_PATH = 'SelfGemfile'

        # @return [String]
        def default_gemfile_path
          DEFAULT_GEMFILE_PATH
        end

        # @return [Hash<String, EacRubyUtils::Envs::Command>]
        def default_test_commands
          r = {}
          r[PARENT_RAKE_TASK_TEST_NAME] = parent_rake_test_command if parent_rake_test_command?
          r[RUBOCOP_TEST_NAME] = rubocop_test_command if rubocop_test_command?
          r
        end

        # @return [Boolean]
        def valid?
          init_path.exist?
        end
      end
    end
  end
end

Version data entries

78 entries across 78 versions & 2 rubygems

Version Path
eac_tools-0.78.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.77.1 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.77.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.76.1 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.76.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.75.2 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.75.1 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.75.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.74.1 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.74.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.73.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.72.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.70.1 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.70.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.69.1 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.69.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.68.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.67.1 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.67.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb
eac_tools-0.66.0 sub/avm-eac_redmine_plugin_base0/lib/avm/eac_redmine_plugin_base0/sources/base.rb