"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/fpm/package/empty.rb" between
fpm-1.13.1.tar.gz and fpm-1.14.0.tar.gz

About: fpm tries to make it easy and quick to build packages such as rpms, debs, OSX packages, etc.

empty.rb  (fpm-1.13.1):empty.rb  (fpm-1.14.0)
require "fpm/package" require "fpm/package"
require "backports/latest" require "backports/latest"
# Empty Package type. For strict/meta/virtual package creation # Empty Package type. For strict/meta/virtual package creation
class FPM::Package::Empty < FPM::Package class FPM::Package::Empty < FPM::Package
def initialize(*args)
super(*args)
# Override FPM::Package's default "native" architecture value
# This feels like the right default because an empty package has no
# architecture-specific files, and in most cases an empty package should be
# installable anywhere.
#
# https://github.com/jordansissel/fpm/issues/1846
@architecture = "all"
end
def output(output_path) def output(output_path)
logger.warn("Your package has gone into the void.") logger.warn("Your package has gone into the void.")
end end
def to_s(fmt) def to_s(fmt)
return "" return ""
end end
end end
 End of changes. 1 change blocks. 
0 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)