Sha256: a5f95bf3a5123dfdf2e117f13e39a2325a700ef9b3acd4cb522625401ef0a9da

Contents?: true

Size: 566 Bytes

Versions: 4

Compression:

Stored size: 566 Bytes

Contents

Brief.define "Project Overview" do
  aliases :project_overview

  levels do
    level(1) do
      name "Wiki Page"
      define_handler :create => "Brief::Handlers::GithubWiki"
      replaces_items_from_level 2, :with => "Brief::Formatters::GithubMilestoneRollup"
    end

    level(2) do
      name "Github Milestone"
      define_handler :create => "Brief::Handlers::GithubMilestone"
      replaces_items_from_level 3, :with => nil
    end

    level(3) do
      name "Github Issue"
      define_handler :create => "Brief::Handlers::GithubIssue"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brief-0.0.5 spec/fixtures/generator_dsl_example.rb
brief-0.0.4 spec/fixtures/generator_dsl_example.rb
brief-0.0.3 spec/fixtures/generator_dsl_example.rb
brief-0.0.2 spec/fixtures/generator_dsl_example.rb