Sha256: 72287752e4c77ebb2e14db3bb7233afae0baaf200da0937d833cb83db8cf31ca

Contents?: true

Size: 406 Bytes

Versions: 168

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

require 'avm/projects/stereotype'

module Avm
  module Projects
    module Stereotypes
      class RedminePlugin
        include Avm::Projects::Stereotype

        class << self
          def match?(path)
            File.exist?(path.real.subpath('init.rb'))
          end

          def color
            :light_magenta
          end
        end
      end
    end
  end
end

Version data entries

168 entries across 168 versions & 2 rubygems

Version Path
avm-tools-0.139.0 lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.35.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.138.0 lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.34.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.137.0 lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.33.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.32.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.136.2 lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.31.1 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.31.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.136.1 lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.30.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.29.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.136.0 lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.28.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.27.2 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.27.1 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.135.0 lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.27.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.134.0 lib/avm/projects/stereotypes/redmine_plugin.rb