Skip to content

Commit

Permalink
Update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbruno committed Apr 10, 2020
1 parent 8711e2b commit c8436a9
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion RouterService.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '9.0'
s.source_files = 'Sources/RouterService/Sources/**/*'

s.dependency 'RouterServiceInterface'
s.dependency 'RouterServiceInterface', s.version.to_s

end
4 changes: 2 additions & 2 deletions Sources/RouterService/Sources/RouterService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation
import RouterServiceInterface
import UIKit

public final class RouterService: RouterServiceInterface.RouterServiceProtocol, RouterServiceRegistrationProtocol {
public final class RouterService: RouterServiceProtocol, RouterServiceRegistrationProtocol {

let store: StoreInterface
let failureHandler: () -> Void
Expand All @@ -17,7 +17,7 @@ public final class RouterService: RouterServiceInterface.RouterServiceProtocol,
self.failureHandler = failureHandler
register(dependencyFactory: { [unowned self] in
self
}, forType: RouterServiceInterface.RouterServiceProtocol.self)
}, forType: RouterServiceProtocol.self)
}

public func register<T>(
Expand Down

0 comments on commit c8436a9

Please sign in to comment.