Class: KeepUp::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/keep_up/application.rb

Overview

Main application

Instance Method Summary collapse

Constructor Details

#initialize(local:, test_command:, skip:, runner: Runner) ⇒ Application

Returns a new instance of Application.



17
18
19
20
21
22
# File 'lib/keep_up/application.rb', line 17

def initialize(local:, test_command:, skip:, runner: Runner)
  @test_command = test_command
  @local = local
  @skip = skip
  @runner = runner
end

Instance Method Details

#runObject



24
25
26
27
28
29
# File 'lib/keep_up/application.rb', line 24

def run
  check_version_control_clean
  check_bundle_lockfile
  update_all_dependencies
  report_done
end