diff --git a/LeadKitAdditions.podspec b/LeadKitAdditions.podspec index 09ac005..31f42aa 100644 --- a/LeadKitAdditions.podspec +++ b/LeadKitAdditions.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| "LeadKitAdditions/Sources/Services/Network/DefaultNetworkService+ActivityIndicator+Extension.swift", ] - ss.dependency "LeadKit", '~> 0.5' # till 0.6 + ss.dependency "LeadKit", '0.6.0' ss.dependency "KeychainAccess", '3.0.2' ss.dependency "IDZSwiftCommonCrypto", '0.9.1' ss.dependency "InputMask", '2.2.5' @@ -31,7 +31,7 @@ Pod::Spec.new do |s| "LeadKitAdditions/Sources/Services/Network/DefaultNetworkService+ActivityIndicator.swift", ] - ss.dependency "LeadKit/Core-iOS-Extension", '~> 0.5' + ss.dependency "LeadKit/Core-iOS-Extension", '0.6.0' ss.dependency "KeychainAccess", '3.0.2' ss.dependency "IDZSwiftCommonCrypto", '0.9.1' ss.dependency "InputMask", '2.2.5' diff --git a/LeadKitAdditions/LeadKitAdditions.xcodeproj/project.pbxproj b/LeadKitAdditions/LeadKitAdditions.xcodeproj/project.pbxproj index 0b469fa..4dda8e6 100644 --- a/LeadKitAdditions/LeadKitAdditions.xcodeproj/project.pbxproj +++ b/LeadKitAdditions/LeadKitAdditions.xcodeproj/project.pbxproj @@ -425,7 +425,7 @@ CAE698DA1E968820000394B0 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0830; + LastUpgradeCheck = 0900; ORGANIZATIONNAME = TouchInstinct; TargetAttributes = { CAE698E21E968820000394B0 = { @@ -670,7 +670,9 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; @@ -678,7 +680,11 @@ CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -724,7 +730,9 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; @@ -732,7 +740,11 @@ CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; diff --git a/LeadKitAdditions/Podfile b/LeadKitAdditions/Podfile index 880980c..ecec0e1 100644 --- a/LeadKitAdditions/Podfile +++ b/LeadKitAdditions/Podfile @@ -2,10 +2,10 @@ source "https://github.com/CocoaPods/Specs.git" source "https://github.com/TouchInstinct/Podspecs.git" abstract_target 'LeadKitAdditions' do - pod 'KeychainAccess', '3.0.2' + pod 'KeychainAccess', '3.1.0' pod 'IDZSwiftCommonCrypto' pod 'SwiftValidator', '4.0.0' - pod 'InputMask', '2.2.5' + pod 'InputMask', '2.2.6' inhibit_all_warnings! @@ -14,7 +14,7 @@ abstract_target 'LeadKitAdditions' do use_frameworks! - pod "LeadKit", '0.5.1' + pod "LeadKit", '0.6.0' end target 'LeadKitAdditions iOS Extensions' do @@ -22,7 +22,7 @@ abstract_target 'LeadKitAdditions' do use_frameworks! - pod "LeadKit/Core-iOS-Extension", '0.5.1' + pod "LeadKit/Core-iOS-Extension", '0.6.0' end end diff --git a/LeadKitAdditions/Podfile.lock b/LeadKitAdditions/Podfile.lock index 67562d3..8773bf4 100644 --- a/LeadKitAdditions/Podfile.lock +++ b/LeadKitAdditions/Podfile.lock @@ -1,63 +1,63 @@ PODS: - Alamofire (4.5.1) - - CocoaLumberjack/Default (3.1.0) - - CocoaLumberjack/Swift (3.1.0): + - CocoaLumberjack/Default (3.3.0) + - CocoaLumberjack/Swift (3.3.0): - CocoaLumberjack/Default - - IDZSwiftCommonCrypto (0.9.3) - - InputMask (2.2.5) - - KeychainAccess (3.0.2) - - LeadKit (0.5.1): - - LeadKit/Core (= 0.5.1) - - LeadKit/Core (0.5.1): - - CocoaLumberjack/Swift (~> 3.1.0) - - ObjectMapper (~> 2.2) - - RxAlamofire (= 3.0.2) - - RxCocoa (= 3.4.0) - - RxSwift (= 3.4.0) - - TableKit (~> 2.3.1) + - IDZSwiftCommonCrypto (0.10.0) + - InputMask (2.2.6) + - KeychainAccess (3.1.0) + - LeadKit (0.6.0): + - LeadKit/Core (= 0.6.0) + - LeadKit/Core (0.6.0): + - CocoaLumberjack/Swift (~> 3.3.0) + - ObjectMapper (~> 3.0.0) + - RxAlamofire (= 4.0.0) + - RxCocoa (= 4.0.0) + - RxSwift (= 4.0.0) + - TableKit (~> 2.5.0) - UIScrollView-InfiniteScroll (~> 1.0.0) - - LeadKit/Core-iOS-Extension (0.5.1): - - CocoaLumberjack/Swift (~> 3.1.0) - - ObjectMapper (~> 2.2) - - RxAlamofire (= 3.0.2) - - RxCocoa (= 3.4.0) - - RxSwift (= 3.4.0) - - ObjectMapper (2.2.9) - - RxAlamofire (3.0.2): - - RxAlamofire/Core (= 3.0.2) - - RxAlamofire/Core (3.0.2): - - Alamofire (~> 4.0) - - RxSwift (~> 3.0) - - RxCocoa (3.4.0): - - RxSwift (~> 3.4) - - RxSwift (3.4.0) + - LeadKit/Core-iOS-Extension (0.6.0): + - CocoaLumberjack/Swift (~> 3.3.0) + - ObjectMapper (~> 3.0.0) + - RxAlamofire (= 4.0.0) + - RxCocoa (= 4.0.0) + - RxSwift (= 4.0.0) + - ObjectMapper (3.0.0) + - RxAlamofire (4.0.0): + - RxAlamofire/Core (= 4.0.0) + - RxAlamofire/Core (4.0.0): + - Alamofire (~> 4.5) + - RxSwift (~> 4.0) + - RxCocoa (4.0.0): + - RxSwift (~> 4.0) + - RxSwift (4.0.0) - SwiftValidator (4.0.0) - - TableKit (2.3.1) + - TableKit (2.5.0) - UIScrollView-InfiniteScroll (1.0.2) DEPENDENCIES: - IDZSwiftCommonCrypto - - InputMask (= 2.2.5) - - KeychainAccess (= 3.0.2) - - LeadKit (= 0.5.1) - - LeadKit/Core-iOS-Extension (= 0.5.1) + - InputMask (= 2.2.6) + - KeychainAccess (= 3.1.0) + - LeadKit (= 0.6.0) + - LeadKit/Core-iOS-Extension (= 0.6.0) - SwiftValidator (= 4.0.0) SPEC CHECKSUMS: Alamofire: 2d95912bf4c34f164fdfc335872e8c312acaea4a - CocoaLumberjack: 8311463ddf9ee86a06ef92a071dd656c89244500 - IDZSwiftCommonCrypto: 03ea02798d8cf2c2a08aa31b1b991e779fb163ed - InputMask: fe1da1c6bf39133d88c1f79c507bcb0bf7728d51 - KeychainAccess: a986406022dfc7c634c691ad3bec670cc6a32002 - LeadKit: a66ca7c85b3e33deb11b6544fa80f45c9f0044e4 - ObjectMapper: 63cfe41bc6f8e7c8f44344c49901b8ae7de14c52 - RxAlamofire: bc53604b29fd2d220cfaa490c736cc4500819f34 - RxCocoa: d14ef6b6029e1ddc6e966508c09289090de68ff9 - RxSwift: 3789a1af753002a14edecdb698a2424624296a9c + CocoaLumberjack: 3c8c74683302f9012bb168e1c4b7ae3c0b558431 + IDZSwiftCommonCrypto: 4eef2c46e262dfbcbc1fd76365e066336680ad7d + InputMask: 756ffc515121d07a9c81a605fa5c44e5ac5bde13 + KeychainAccess: 94c5540b32eabf7bc32bfb976a268e8ea05fd6da + LeadKit: a8b51716890f6d19e2b4e6e5217883d7834d4185 + ObjectMapper: 92230db59bf8f341a5c3a3cf0b9fbdde3cf0d87f + RxAlamofire: 6ea579ac53bf14cb4bc7049a3866e5a769989b1d + RxCocoa: d62846ca96495d862fa4c59ea7d87e5031d7340e + RxSwift: fd680d75283beb5e2559486f3c0ff852f0d35334 SwiftValidator: 2aa43104ac8baaaeaa297f1dc18371c063543fd9 - TableKit: 02e041b443f75fa3e9f1ee6024d4b256305bd904 + TableKit: 42d4dff2944f273cdeec2ef6352064eb6a9a355b UIScrollView-InfiniteScroll: c132d6d5851daff229ab4a1060ccf70a05a051c9 -PODFILE CHECKSUM: d1b7bb7e14885d8dcf5b620b2c33e20808742b65 +PODFILE CHECKSUM: 9c0c1a04355f00f95d5aebadbc3a981fcd55e150 COCOAPODS: 1.3.1 diff --git a/LeadKitAdditions/Sources/Services/Network/DefaultNetworkService.swift b/LeadKitAdditions/Sources/Services/Network/DefaultNetworkService.swift index 7082eb3..2b214b5 100644 --- a/LeadKitAdditions/Sources/Services/Network/DefaultNetworkService.swift +++ b/LeadKitAdditions/Sources/Services/Network/DefaultNetworkService.swift @@ -22,7 +22,6 @@ import Alamofire import LeadKit -import ObjectMapper import RxSwift /// Default implementation of network service, which trust any server and use default timeout interval