Sha256: 62ee745e8c12a89fa8887120c1f32865bf055c8de5c2208d5912bd61b14f2936

Contents?: true

Size: 285 Bytes

Versions: 22

Compression:

Stored size: 285 Bytes

Contents

require 'docman/taggers/tagger'

module Docman
  class SourceTagger < Docman::Taggers::Tagger

    register_tagger :source

    def execute
      if @caller.build_results['master']['version_type'] == 'tag'
        @caller.build_results['master']['version']
      end
    end

  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
docman-0.0.107 lib/docman/taggers/source_tagger.rb
docman-0.0.106 lib/docman/taggers/source_tagger.rb
docman-0.0.105 lib/docman/taggers/source_tagger.rb
docman-0.0.104 lib/docman/taggers/source_tagger.rb
docman-0.0.103 lib/docman/taggers/source_tagger.rb
docman-0.0.102 lib/docman/taggers/source_tagger.rb
docman-0.0.101 lib/docman/taggers/source_tagger.rb
docman-0.0.100 lib/docman/taggers/source_tagger.rb
docman-0.0.99 lib/docman/taggers/source_tagger.rb
docman-0.0.98 lib/docman/taggers/source_tagger.rb
docman-0.0.97 lib/docman/taggers/source_tagger.rb
docman-0.0.96 lib/docman/taggers/source_tagger.rb
docman-0.0.95 lib/docman/taggers/source_tagger.rb
docman-0.0.94 lib/docman/taggers/source_tagger.rb
docman-0.0.93 lib/docman/taggers/source_tagger.rb
docman-0.0.92 lib/docman/taggers/source_tagger.rb
docman-0.0.91 lib/docman/taggers/source_tagger.rb
docman-0.0.90 lib/docman/taggers/source_tagger.rb
docman-0.0.89 lib/docman/taggers/source_tagger.rb
docman-0.0.88 lib/docman/taggers/source_tagger.rb