Sha256: f042384fb3a37ca773fed8c25231644a659107e324647b0cafb9362ab0542d80

Contents?: true

Size: 861 Bytes

Versions: 11

Compression:

Stored size: 861 Bytes

Contents

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

  defined_in Pathname(__FILE__)

  meta do
    title
    status
    project
    remote_id
    tags Array
  end

  content do
    paragraph "p:first-of-type"
    paragraphs "p"

    title "h1:first-of-type", :hide => true

    settings "pre[lang='yaml'] code:first-of-type", :serialize => :yaml, :hide => true

    define_section "Features" do
      each("h2").has(:title     => "h2",
                     :paragraph => "p:first-of-type",
                     :components   => "p:first-of-type strong"
                    )
    end
  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

end

Version data entries

11 entries across 11 versions & 1 rubygems

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