From 2f48a5e857caf4eecdafed2f68eddc10952df665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D1=82=D0=B0=D0=BB=D0=B8=D0=B8=CC=86=20=D0=9A?= =?UTF-8?q?=D0=BE=D1=80=D0=BE=D1=82=D0=BA=D0=B8=D0=B8=CC=86?= Date: Thu, 7 Jan 2021 22:37:44 +0300 Subject: [PATCH] Update podspecs --- README.md | 1 + ServiceContainerKit.podspec | 4 +++- ServiceInjects.podspec | 8 +++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e936b52..a49db8e 100644 --- a/README.md +++ b/README.md @@ -694,6 +694,7 @@ func testSecond() { // userService inject success } ``` + To inject a service from a provider with parameters, use `@ServiceParamsInject`. Parameters can be set immediately or later. Parameters can only be specified once, until they are set, the service will not be injected. diff --git a/ServiceContainerKit.podspec b/ServiceContainerKit.podspec index 09be671..f6a8acc 100644 --- a/ServiceContainerKit.podspec +++ b/ServiceContainerKit.podspec @@ -1,6 +1,8 @@ Pod::Spec.new do |s| + version = '3.0.0' + s.name = "ServiceContainerKit" - s.version = "3.0.0-rc1" + s.version = version s.summary = "Kit to create your own IoC Container or ServiceLocator." s.description = <<-DESC Written in Swift. diff --git a/ServiceInjects.podspec b/ServiceInjects.podspec index 5813d73..a506ba0 100644 --- a/ServiceInjects.podspec +++ b/ServiceInjects.podspec @@ -1,7 +1,9 @@ Pod::Spec.new do |s| + version = '3.0.0' + s.name = "ServiceInjects" - s.version = "3.0.0-rc1" - s.summary = "Simple services and entities injects" + s.version = version + s.summary = "Simple injects for services and entities" s.description = <<-DESC Written in Swift. ServiceInject used for injects services in presentation layer. @@ -20,7 +22,7 @@ Pod::Spec.new do |s| s.tvos.deployment_target = '10.0' s.watchos.deployment_target = '3.0' - s.dependency 'ServiceContainerKit', '3.0.0-rc1' + s.dependency 'ServiceContainerKit', version s.source_files = ['ServiceInjects/Sources/*.swift', 'ServiceInjects/Sources/*.h'] s.public_header_files = 'ServiceInjects/Sources/*.h'