Sha256: 12891cd778d1ed5bce75dc1d46d8847e38feebeae731605a6d46a8b39ad688d3

Contents?: true

Size: 594 Bytes

Versions: 9

Compression:

Stored size: 594 Bytes

Contents

require 'git'

module Semmy
  module Tasks
    class Docs < Base
      def define
        namespace 'docs' do
          task 'rewrite_since_tags' do
            Shell.info("Rewriting @since #{config.rewritten_since_doc_tag} " \
                       "doc tags in #{config.source_files_with_docs_tags}.")

            Files.rewrite_all(config.source_files_with_docs_tags,
                              DocTags::UpdateSinceTags.new(config.rewritten_since_doc_tag,
                                                           Project.version))
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
semmy-1.2.0 lib/semmy/tasks/docs.rb
semmy-1.1.0 lib/semmy/tasks/docs.rb
semmy-1.0.2 lib/semmy/tasks/docs.rb
semmy-1.0.1 lib/semmy/tasks/docs.rb
semmy-1.0.0 lib/semmy/tasks/docs.rb
semmy-0.4.0 lib/semmy/tasks/docs.rb
semmy-0.3.0 lib/semmy/tasks/docs.rb
semmy-0.2.1 lib/semmy/tasks/docs.rb
semmy-0.2.0 lib/semmy/tasks/docs.rb