lib/falcon/command/virtual.rb in falcon-0.47.1 vs lib/falcon/command/virtual.rb in falcon-0.47.7

- old
+ new

@@ -1,13 +1,14 @@ # frozen_string_literal: true # Released under the MIT License. # Copyright, 2018-2024, by Samuel Williams. -require_relative '../service/virtual' -require_relative 'paths' +require 'async/service' +require_relative '../environment/virtual' + require 'samovar' module Falcon module Command # Implements the `falcon virtual` command. Designed for *deployment*. @@ -29,10 +30,10 @@ # @name paths # @attribute [Array(String)] many :paths def environment - Async::Service::Environment.new(Falcon::Service::Virtual::Environment).with( + Async::Service::Environment.new(Falcon::Environment::Virtual).with( verbose: self.parent&.verbose?, configuration_paths: self.paths, bind_insecure: @options[:bind_insecure], bind_secure: @options[:bind_secure], timeout: @options[:timeout],