lib/vagrant-orchestrate/config.rb in vagrant-orchestrate-0.7.0 vs lib/vagrant-orchestrate/config.rb in vagrant-orchestrate-0.7.1

- old
+ new

@@ -8,17 +8,19 @@ attr_accessor :strategy attr_accessor :force_push attr_accessor :tracker_host attr_accessor :tracker_logging_enabled attr_accessor :credentials + attr_accessor :disable_commit_guard def initialize @filter_managed_commands = UNSET_VALUE @strategy = UNSET_VALUE @force_push = UNSET_VALUE @tracker_host = UNSET_VALUE @tracker_logging_enabled = UNSET_VALUE + @disable_commit_guard = UNSET_VALUE @credentials = Credentials.new end def credentials yield @credentials if block_given? @@ -45,9 +47,10 @@ @filter_managed_commands = false if @filter_managed_commands == UNSET_VALUE @strategy = :serial if @strategy == UNSET_VALUE @force_push = false if @force_push == UNSET_VALUE @tracker_host = nil if @tracker_host == UNSET_VALUE @tracker_logging_enabled = true if @tracker_logging_enabled == UNSET_VALUE + @disable_commit_guard = false if @disable_commit_guard == UNSET_VALUE @credentials = nil if @credentials.unset? @credentials.finalize! if @credentials end # rubocop:enable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity