Sha256: 15d8f13e44c909d6f85ad986ba2cdf6ae98d06fd6fd2961ed3c5584c560b3d24

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

module Stove
  class Plugin::Community < Plugin::Base
    id 'community'
    description 'Publish the release to the Chef community site'

    validate(:username) do
      Config.username
    end

    validate(:key) do
      Config.key
    end

    validate(:category) do
      !cookbook.category.nil?
    end

    run('Publishing the release to the Chef community site') do
      Community.upload(cookbook)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stove-3.0.0 lib/stove/plugins/community.rb