lib/backup/package.rb in backup-3.6.0 vs lib/backup/package.rb in backup-3.7.0
- old
+ new
@@ -18,16 +18,21 @@
##
# Set by the Splitter if the final archive was "chunked"
attr_accessor :chunk_suffixes
##
+ # If true, the Cycler will not attempt to remove the package when Cycling.
+ attr_accessor :no_cycle
+
+ ##
# The version of Backup used to create the package
attr_reader :version
def initialize(model)
@trigger = model.trigger
@extension = 'tar'
@chunk_suffixes = Array.new
+ @no_cycle = false
@version = VERSION
end
def filenames
if chunk_suffixes.empty?