Update specs.

This commit is contained in:
Yaroslav Zhurakovskiy 2017-07-12 12:11:31 +03:00
parent 508207741f
commit 65791312a4
2 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.platform = :ios, "8.0"
s.requires_arc = true
s.source = { :git => "https://github.com/yaroslav-zhurakovskiy/PainlessInjection.git"}
s.source = { :git => "https://github.com/yaroslav-zhurakovskiy/PainlessInjection.git", :tag => "v0.0.1"}
s.source_files = "PainlessInjection/PainlessInjection/*.swift"

View File

@ -31,7 +31,6 @@ public struct DefineDependencyStatement {
return self
}
@discardableResult
public func decorate(_ wrapper: (Dependency) -> Dependency) {
if let dependency = Container.dependencyForType(_type) {
Container.setDependency(wrapper(dependency), forType: _type)