Sha256: 2ab00321c885d927e3beae3067efb07461f3da568b906edc13b8d3b8d00869d7

Contents?: true

Size: 865 Bytes

Versions: 7

Compression:

Stored size: 865 Bytes

Contents

# DEPRECATED - this class is v3 of the Template Exporter and shouldn't be updated.
# V4 released on Apr 2022
# V3 can be removed on Apr 2024
#
# We're duplicating this file for v4, and even though the code lives in two
# places now, this file isn't expected to evolve and is now frozen to V3
# behavior.

module Dradis::Plugins::Projects::Export::V3
  class Template < Dradis::Plugins::Projects::Export::V2::Template
    VERSION = 3

    protected

    def build_methodologies(builder)
      boards = content_service.all_boards

      builder.methodologies do |methodologies_builder|

        boards.each do |board|
          node_id =
            board.node == project.methodology_library ? nil : board.node_id

          board.to_xml(methodologies_builder, includes: [:activities, :assignees, :comments], version: VERSION)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dradis-projects-4.15.0 lib/dradis/plugins/projects/export/v3/template.rb
dradis-projects-4.14.0 lib/dradis/plugins/projects/export/v3/template.rb
dradis-projects-4.13.0 lib/dradis/plugins/projects/export/v3/template.rb
dradis-projects-4.11.0 lib/dradis/plugins/projects/export/v3/template.rb
dradis-projects-4.10.0 lib/dradis/plugins/projects/export/v3/template.rb
dradis-projects-4.9.0 lib/dradis/plugins/projects/export/v3/template.rb
dradis-projects-4.8.0 lib/dradis/plugins/projects/export/v3/template.rb