Class: Avm::EacRubyBase1::Sources::Update::Changes::BundleUpdate

Inherits:
Sources::Change
  • Object
show all
Defined in:
lib/avm/eac_ruby_base1/sources/update/changes/bundle_update.rb

Instance Method Summary collapse

Instance Method Details

#commit_messageString

Returns:

  • (String)


10
11
12
13
14
15
# File 'lib/avm/eac_ruby_base1/sources/update/changes/bundle_update.rb', line 10

def commit_message
  i18n_translate(
    __method__,
    gemfile_lock_path: source.gemfile_lock_path.relative_path_from(source.path)
  )
end

#performvoid

This method returns an undefined value.



18
19
20
21
22
# File 'lib/avm/eac_ruby_base1/sources/update/changes/bundle_update.rb', line 18

def perform
  source.bundle_update.execute!
rescue ::EacRubyUtils::Envs::ExecutionError
  raise ::Avm::Sources::UpdateError
end