lib/fulmar/domain/service/application_service.rb in fulmar-1.0.0 vs lib/fulmar/domain/service/application_service.rb in fulmar-1.1.0

- old
+ new

@@ -28,10 +28,10 @@ def define_task(task_class, *args, &block) super(task_class, *args, &wrap_environment(&block)) end def wrap_environment - Proc.new do + proc do configuration = Fulmar::Domain::Service::ConfigurationService.instance environment = configuration.environment target = configuration.target yield if block_given?