lib/roku_builder/controller.rb in roku_builder-3.5.0 vs lib/roku_builder/controller.rb in roku_builder-3.6.0
- old
+ new
@@ -162,29 +162,33 @@
def self.commands
[:sideload, :package, :test, :deeplink,:configure, :validate, :delete,
:navigate, :text, :build, :monitor, :update, :screencapture, :key, :screen,
:screens]
end
- private_class_method :commands
# List of depricated options
# @return [Hash] Hash of depricated options and the warning message for each
def self.depricated_options
{deeplink_depricated: "-L and --deeplink are depricated. Use -o -r --deeplink-options." }
end
# List of source options
# @return [Array<Symbol>] List of source symbols that can be used in the options hash
def self.sources
- [:ref, :set_stage, :working, :current]
+ [:ref, :set_stage, :working, :current, :in]
end
# List of commands requiring a source option
# @return [Array<Symbol>] List of command symbols that require a source in the options hash
def self.source_commands
[:sideload, :package, :test, :build, :key]
end
- private_class_method :source_commands
+
+ # List of commands the activate the exclude files
+ # @return [Array<Symbol] List of commands the will activate the exclude files lists
+ def self.exclude_commands
+ [:build, :package]
+ end
# Configure the gem
# @param options [Hash] The options hash
# @return [Integer] Success or failure code