From 24cddee17c0523a5fedb17ce0e6cac48f9e58617 Mon Sep 17 00:00:00 2001 From: Alex Zarochintsev Date: Wed, 29 Mar 2017 16:46:40 +0300 Subject: [PATCH 1/5] Create .gitignore file. --- .gitignore | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..09dfede --- /dev/null +++ b/.gitignore @@ -0,0 +1,63 @@ +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## Build generated +build/ +DerivedData/ + +## Various settings +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata/ + +## Other +*.moved-aside +*.xccheckout +*.xcscmblueprint + +## Obj-C/Swift specific +*.hmap +*.ipa +*.dSYM.zip +*.dSYM + +# CocoaPods +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +# Pods/ + +# Carthage +# +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build + +# fastlane +# +# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the +# screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots +fastlane/test_output + +# Code Injection +# +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + +iOSInjectionProject/ From f2a29e8222fd438e5f1888a4d75d7c228e677eff Mon Sep 17 00:00:00 2001 From: Alex Zarochintsev Date: Wed, 29 Mar 2017 16:47:43 +0300 Subject: [PATCH 2/5] Fixing acceptable content types. --- AFJSONRPCClient/AFJSONRPCClient.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFJSONRPCClient/AFJSONRPCClient.m b/AFJSONRPCClient/AFJSONRPCClient.m index 1c98687..d8788dd 100755 --- a/AFJSONRPCClient/AFJSONRPCClient.m +++ b/AFJSONRPCClient/AFJSONRPCClient.m @@ -73,7 +73,7 @@ - (id)initWithEndpointURL:(NSURL *)URL { self.requestSerializer = [AFJSONRequestSerializer serializer]; [self.requestSerializer setValue:@"application/json" forHTTPHeaderField:@"Accept"]; - self.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"application/json", @"application/json-rpc", @"application/jsonrequest", nil]; + self.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"application/json", @"application/json-rpc", @"application/jsonrequest", @"text/html", nil]; self.endpointURL = URL; From f4d9dd89eae6b491501c724910b32b334d6f4ca5 Mon Sep 17 00:00:00 2001 From: Alex Zarochintsev Date: Wed, 29 Mar 2017 16:48:37 +0300 Subject: [PATCH 3/5] Update AFJSONRPCClient.podspec --- AFJSONRPCClient.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AFJSONRPCClient.podspec b/AFJSONRPCClient.podspec index 36d3d3a..fc3b959 100644 --- a/AFJSONRPCClient.podspec +++ b/AFJSONRPCClient.podspec @@ -1,13 +1,13 @@ Pod::Spec.new do |s| s.name = 'AFJSONRPCClient' - s.version = '2.1.1' + s.version = '2.1.2' s.homepage = 'https://github.com/AFNetworking/AFJSONRPCClient' s.social_media_url = "https://twitter.com/AFNetworking" s.authors = { 'wiistriker' => 'wiistriker@gmail.com', 'Mattt Thompson' => 'm@mattt.me' } s.license = 'MIT' s.summary = 'A JSON-RPC client build on AFNetworking.' s.source = { :git => 'https://github.com/AFNetworking/AFJSONRPCClient.git', - :tag => '2.1.1' } + :tag => '2.1.2' } s.source_files = 'AFJSONRPCClient' s.requires_arc = true From 3853c52811608233437f2c566b4c684faef023ad Mon Sep 17 00:00:00 2001 From: Alex Zarochintsev Date: Wed, 12 Apr 2017 21:32:00 +0300 Subject: [PATCH 4/5] set ios deployment target. --- AFJSONRPCClient.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFJSONRPCClient.podspec b/AFJSONRPCClient.podspec index fc3b959..28a52c0 100644 --- a/AFJSONRPCClient.podspec +++ b/AFJSONRPCClient.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.source_files = 'AFJSONRPCClient' s.requires_arc = true - s.ios.deployment_target = '6.0' + s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.8' s.dependency 'AFNetworking', '~> 2.1' From cb9b7432e96ff86d933938b748e0c9656766dc41 Mon Sep 17 00:00:00 2001 From: Alex Zarochintsev Date: Wed, 12 Apr 2017 21:36:15 +0300 Subject: [PATCH 5/5] fix --- AFJSONRPCClient.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFJSONRPCClient.podspec b/AFJSONRPCClient.podspec index 28a52c0..9f2908b 100644 --- a/AFJSONRPCClient.podspec +++ b/AFJSONRPCClient.podspec @@ -6,7 +6,7 @@ Pod::Spec.new do |s| s.authors = { 'wiistriker' => 'wiistriker@gmail.com', 'Mattt Thompson' => 'm@mattt.me' } s.license = 'MIT' s.summary = 'A JSON-RPC client build on AFNetworking.' - s.source = { :git => 'https://github.com/AFNetworking/AFJSONRPCClient.git', + s.source = { :git => 'https://github.com/zarochintsev/AFJSONRPCClient.git', :tag => '2.1.2' } s.source_files = 'AFJSONRPCClient' s.requires_arc = true