lib/convenient_service/configs/minimal.rb in convenient_service-0.11.0 vs lib/convenient_service/configs/minimal.rb in convenient_service-0.12.0
- old
+ new
@@ -69,18 +69,11 @@
end
middlewares :step, scope: :class do
use Plugins::Common::NormalizesEnv::Middleware
- ##
- # IMPORTANT:
- # - `CanHaveMethodSteps` is disabled in the Standard config since it causes race conditions in combination with `CanHaveStubbedResult`.
- # - It will be reenabled after the introduction of thread-safety specs.
- # - Do not use it in production yet.
- #
- # use Plugins::Service::CanHaveMethodSteps::Middleware
-
+ use Plugins::Service::CanHaveMethodSteps::Middleware
use Plugins::Service::CanHaveResultStep::Middleware
end
class self::Internals
include Core
@@ -98,17 +91,17 @@
use Plugins::Result::HasInspect::Concern
use Plugins::Common::HasConstructor::Concern
- use Plugins::Result::HasJsendStatusAndAttributes::Concern
+ use Plugins::Result::HasJSendStatusAndAttributes::Concern
end
middlewares :initialize do
use Plugins::Common::NormalizesEnv::Middleware
- use Plugins::Result::HasJsendStatusAndAttributes::Middleware
+ use Plugins::Result::HasJSendStatusAndAttributes::Middleware
end
middlewares :success? do
use Plugins::Common::NormalizesEnv::Middleware
end
@@ -145,9 +138,25 @@
use Plugins::Common::NormalizesEnv::Middleware
end
middlewares :to_kwargs do
use Plugins::Common::NormalizesEnv::Middleware
+ end
+
+ class self::Data
+ include Core
+ end
+
+ class self::Message
+ include Core
+ end
+
+ class self::Code
+ include Core
+ end
+
+ class self::Status
+ include Core
end
class self::Internals
include Core