Sha256: 14f6bc0e47b5d9a8a0c4a013cf34bdffcfe50cd1fcad8eaf0703aef2cb7a4b09

Contents?: true

Size: 866 Bytes

Versions: 11

Compression:

Stored size: 866 Bytes

Contents

class Brief::Apps::Blueprint::Project
  include Brief::Model
  include Brief::RemoteSyncing

  defined_in Pathname(__FILE__)

  meta do
    title
    category
    tags Array
  end

  content do
    paragraph "p:first-of-type"
    title "h1:first-of-type", :hide => true
    tagline "h2:first-of-type", :hide => true
    yaml_data "code.yaml:first-of-type", :serialize => :yaml, :hide => true
  end

  actions do
    def publish
      publish_service.publish(self, via: briefcase.settings.try(:tracking_system))
    end

    def sync
      sync_service.sync(self, via: briefcase.settings.try(:tracking_system))
    end
  end

  def epics
    briefcase.epics(project: title)
  end

  def sitemaps
    briefcase.sitemaps(project: title)
  end

  def features
    briefcase.features(project: title)
  end

  def releases
    briefcase.releases(project: title)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
brief-1.17.14 apps/blueprint/models/project.rb
brief-1.17.13 apps/blueprint/models/project.rb
brief-1.17.12 apps/blueprint/models/project.rb
brief-1.17.11 apps/blueprint/models/project.rb
brief-1.17.10 apps/blueprint/models/project.rb
brief-1.17.9 apps/blueprint/models/project.rb
brief-1.17.8 apps/blueprint/models/project.rb
brief-1.17.7 apps/blueprint/models/project.rb
brief-1.17.5 apps/blueprint/models/project.rb
brief-1.17.4 apps/blueprint/models/project.rb
brief-1.17.3 apps/blueprint/models/project.rb