Update specs.
This commit is contained in:
parent
508207741f
commit
65791312a4
|
@ -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"
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue