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
eac_tools-0.5.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.4.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.3.0 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
eac_tools-0.2.2 sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.121.1 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.121.0 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.120.2 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.120.1 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.120.0 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.119.0 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.118.0 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.117.3 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.117.2 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.117.1 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.117.0 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.116.2 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.116.1 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.116.0 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.115.0 lib/avm/projects/stereotypes/redmine_plugin.rb
avm-tools-0.114.2 lib/avm/projects/stereotypes/redmine_plugin.rb