mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
Bump AFNetworking Podspec dependency and submodule reference to 1.2.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'RestKit'
|
||||
s.version = '0.20.0'
|
||||
s.version = '0.20.1dev'
|
||||
s.summary = 'RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X.'
|
||||
s.homepage = 'http://www.restkit.org'
|
||||
s.author = { 'Blake Watters' => 'blakewatters@gmail.com' }
|
||||
@@ -44,7 +44,7 @@ EOS
|
||||
ns.ios.frameworks = 'CFNetwork', 'Security', 'MobileCoreServices', 'SystemConfiguration'
|
||||
ns.osx.frameworks = 'CoreServices', 'Security', 'SystemConfiguration'
|
||||
ns.dependency 'SOCKit'
|
||||
ns.dependency 'AFNetworking', '1.1.0'
|
||||
ns.dependency 'AFNetworking', '1.2.0'
|
||||
ns.dependency 'RestKit/ObjectMapping'
|
||||
ns.dependency 'RestKit/Support'
|
||||
end
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
{
|
||||
NSString *unicode = [NSString stringWithFormat:@"%CNo ser ni%Co, ser b%Cfalo%C%C", (unichar)0x00A1, (unichar)0x00F1, (unichar)0x00FA, (unichar)0x2026, (unichar)0x0021];
|
||||
NSDictionary *dictionary = [NSDictionary dictionaryWithObject:unicode forKey:@"utf8"];
|
||||
NSString *validUnicode = @"utf8=%C2%A1No%20ser%20ni%C3%B1o,%20ser%20b%C3%BAfalo%E2%80%A6%21";
|
||||
NSString *validUnicode = @"utf8=%C2%A1No%20ser%20ni%C3%B1o%2C%20ser%20b%C3%BAfalo%E2%80%A6%21";
|
||||
NSString *encodedString = RKURLEncodedStringFromDictionaryWithEncoding(dictionary, NSUTF8StringEncoding);
|
||||
expect(encodedString).to.equal(validUnicode);
|
||||
}
|
||||
|
||||
2
Vendor/AFNetworking
vendored
2
Vendor/AFNetworking
vendored
Submodule Vendor/AFNetworking updated: 121ef7afa8...feb55db859
Reference in New Issue
Block a user