lib/balboa.rb in balboa-0.1.1 vs lib/balboa.rb in balboa-0.1.2
- old
+ new
@@ -1,24 +1,28 @@
# frozen_string_literal: true
require_relative 'balboa/version'
+require_relative 'balboa/host'
require_relative 'balboa/interactor/capybara_interactor'
require_relative 'balboa/interactor/interactor_wrapper'
-require_relative 'balboa/interactor/command/last_punch_command'
-require_relative 'balboa/interactor/command/make_punch_command'
+require_relative 'balboa/interactor/interactor_builder'
+require_relative 'balboa/interactor/command/fetch_last_punch_command'
+require_relative 'balboa/interactor/command/fill_punch_command'
require_relative 'balboa/interactor/command/login_command'
require_relative 'balboa/cli/application'
-require_relative 'balboa/cli/command/last_punch_command'
-require_relative 'balboa/cli/command/make_punch_command'
+require_relative 'balboa/cli/options'
+require_relative 'balboa/cli/command/last_command'
+require_relative 'balboa/cli/command/punch_command'
+require_relative 'balboa/cli/command/help_command'
require_relative 'balboa/cli/command/star_wars_command'
require 'phantomjs'
require 'capybara/poltergeist'
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, phantomjs: Phantomjs.path)
end
Capybara.default_driver = :poltergeist
Capybara.run_server = false
-Capybara.app_host = 'http://punchclock.cm42.io/'
+Capybara.app_host = Balboa::HOST