Sha256: 645dff50ddbf1783319906c960f26a010ce812a7d7b535b2f77a0e660f0ae672

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

require "ostruct"
require "albacore/support/openstruct"

module Configuration
  module NuGetPush
    include Albacore::Configuration

    def self.nugetpushconfig
      @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetPush)
    end

    def nugetpush
      config ||= NuGetPush.nugetpushconfig
      yield(config) if block_given?
      config
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-1.0.0 lib/albacore/config/nugetpushconfig.rb
albacore-1.0.0.rc.3 lib/albacore/config/nugetpushconfig.rb