class Albacore::NugetsPack::Config
Attributes
configuration[RW]
exe[RW]
files[RW]
metadata[RW]
output[RW]
Public Class Methods
new()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 17 def initialize @symbols = true @transitive = true @pin = false @exe = '.paket/paket.exe' @files = [] @metadata = Albacore::NugetModel::Metadata.new end
Public Instance Methods
fallbacks!()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 69 def fallbacks! if @metadata.release_notes.nil? notes = Albacore::Tools.git_release_notes @metadata.release_notes = notes end end
method_missing(m, *args, &block)
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 56 def method_missing(m, *args, &block) @metadata.send(m, *args, &block) end
not_symbols()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 32 def not_symbols @symbols = false end
not_transitive()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 40 def not_transitive @transitive = false end
pin()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 48 def pin @pin = true end
pin?()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 52 def pin? @pin end
symbols?()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 36 def symbols? @symbols end
transitive?()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 44 def transitive? @transitive end
validate()
click to toggle source
# File lib/albacore/task_types/nugets_pack.rb, line 60 def validate if configuration.nil? raise '"configuration" is a required property' end if version.nil? raise '"version" is a required property' end end