Class: Docman::Builders::GitStripBuilder

Inherits:
GitProviderBuilder show all
Defined in:
lib/docman/builders/git_strip_builder.rb

Instance Attribute Summary

Attributes inherited from Command

#type

Instance Method Summary collapse

Methods inherited from GitProviderBuilder

#build_with_provider, #execute, #prepare_build_dir

Methods inherited from ProviderBuilder

#changed?, #execute

Methods inherited from Builder

#changed?, #config, create, #describe, #prefix, register_builder, #validate_command, #version

Methods inherited from Command

#add_action, #add_actions, #config, create, #describe, #execute, #initialize, #perform, #prefix, register_command, #replace_placeholder, #run_actions, #run_with_hooks

Methods included from Logging

#log, logger, #logger, #prefix, #properties_info, #with_logging

Constructor Details

This class inherits a constructor from Docman::Command

Instance Method Details

#changed_from_last_version?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/docman/builders/git_strip_builder.rb', line 7

def changed_from_last_version?
  GitUtil.repo_changed?(@context['full_build_path'])
end