From 1d14dc0b4ae1917fd23c4c362e9805c509078ad4 Mon Sep 17 00:00:00 2001 From: Tosh Meston Date: Tue, 7 Apr 2020 17:59:23 -0700 Subject: [PATCH 1/5] Updated the podspec to 'AFNetworking/NSURLSession', '~> 4.0' --- AFNetworkActivityLogger.podspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AFNetworkActivityLogger.podspec b/AFNetworkActivityLogger.podspec index 47dae0b..75d4b1d 100644 --- a/AFNetworkActivityLogger.podspec +++ b/AFNetworkActivityLogger.podspec @@ -1,8 +1,8 @@ Pod::Spec.new do |s| s.name = 'AFNetworkActivityLogger' - s.version = '3.0.0' + s.version = '4.0.0' s.license = 'MIT' - s.summary = 'AFNetworking 3.0 Extension for Network Request Logging' + s.summary = 'AFNetworking 4.0 Extension for Network Request Logging' s.homepage = 'https://github.com/AFNetworking/AFNetworkActivityLogger' s.authors = { 'Mattt Thompson' => 'm@mattt.me' } s.source = { :git => 'https://github.com/AFNetworking/AFNetworkActivityLogger.git', :tag => s.version } @@ -13,5 +13,5 @@ Pod::Spec.new do |s| s.watchos.deployment_target = '2.0' s.tvos.deployment_target = '9.0' - s.dependency 'AFNetworking/NSURLSession', '~> 3.0' + s.dependency 'AFNetworking/NSURLSession', '~> 4.0' end From b951676489766b03dff444e953512d99475d1345 Mon Sep 17 00:00:00 2001 From: Tosh Meston Date: Tue, 7 Apr 2020 18:02:04 -0700 Subject: [PATCH 2/5] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c12d29..944aa0c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ +This is a fork of AFNetworkActivityLogger with an updated podspec to work with AFNetworking 4.0. + # AFNetworkActivityLogger -`AFNetworkActivityLogger` is an extension for [AFNetworking](http://github.com/AFNetworking/AFNetworking/) 3.0 that logs network requests as they are sent and received. +`AFNetworkActivityLogger` is an extension for [AFNetworking](http://github.com/AFNetworking/AFNetworking/) 4.0 that logs network requests as they are sent and received. > `AFNetworkActivityLogger` listens `AFNetworkingTaskDidStartNotification` and `AFNetworkingTaskDidFinishNotification` notifications, which are posted by AFNetworking as session tasks are started and finish. For further customization of logging output, users are encouraged to implement desired functionality by creating new objects that conform to `AFNetworkActivityLoggerProtocol`. From 9e8bbb46b9301e30cf3783a67f04788a5a6f3b41 Mon Sep 17 00:00:00 2001 From: Tosh Meston Date: Tue, 7 Apr 2020 18:06:07 -0700 Subject: [PATCH 3/5] Updated podspec deployment targets to match AFNetworking 4.0's. --- AFNetworkActivityLogger.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AFNetworkActivityLogger.podspec b/AFNetworkActivityLogger.podspec index 75d4b1d..30141a1 100644 --- a/AFNetworkActivityLogger.podspec +++ b/AFNetworkActivityLogger.podspec @@ -8,8 +8,8 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/AFNetworking/AFNetworkActivityLogger.git', :tag => s.version } s.source_files = 'AFNetworkActivityLogger' s.requires_arc = true - s.ios.deployment_target = '7.0' - s.osx.deployment_target = '10.9' + s.ios.deployment_target = '9.0' + s.osx.deployment_target = '10.10' s.watchos.deployment_target = '2.0' s.tvos.deployment_target = '9.0' From 08bec8d80655b2228b95da8bf5fb323c3f6fdcd2 Mon Sep 17 00:00:00 2001 From: Tosh Meston Date: Tue, 7 Apr 2020 18:23:37 -0700 Subject: [PATCH 4/5] Updated version in README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 944aa0c..69de435 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,10 @@ -This is a fork of AFNetworkActivityLogger with an updated podspec to work with AFNetworking 4.0. - # AFNetworkActivityLogger `AFNetworkActivityLogger` is an extension for [AFNetworking](http://github.com/AFNetworking/AFNetworking/) 4.0 that logs network requests as they are sent and received. > `AFNetworkActivityLogger` listens `AFNetworkingTaskDidStartNotification` and `AFNetworkingTaskDidFinishNotification` notifications, which are posted by AFNetworking as session tasks are started and finish. For further customization of logging output, users are encouraged to implement desired functionality by creating new objects that conform to `AFNetworkActivityLoggerProtocol`. -## 2.x -> 3.x Migration +## 2.x -> 4.x Migration 3.0.0 featured the following breaking API changes: * The log `level` property is now found on the individual unique loggers, rather than the shared logger. This allows for more advanced customization options for logging level. From 94a4e207281805fddbe2bdf5271520782799dde0 Mon Sep 17 00:00:00 2001 From: Tosh Meston Date: Tue, 7 Apr 2020 20:21:19 -0700 Subject: [PATCH 5/5] Removed failing xcode7.3 from test matrix. --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0880eaa..fde381d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,10 +19,6 @@ matrix: env: FASTLANE_ENV=osx - osx_image: xcode8.3 env: FASTLANE_ENV=ios10_xcode8 - - osx_image: xcode7.3 - env: FASTLANE_ENV=ios9_xcode7 - - osx_image: xcode7.3 - env: FASTLANE_ENV=ios8_xcode7 before_install: # Force bundler 1.12.5 because version 1.13 has issues, see https://github.com/fastlane/fastlane/issues/6065#issuecomment-246044617 - gem uninstall bundler -v '>1.12.5' --force --executables || echo "bundler >1.12.5 is not installed"