From 3b3d08ee222beca0641949021c76d09c1be986b9 Mon Sep 17 00:00:00 2001 From: Ricardo Pereira Date: Thu, 23 Mar 2017 17:53:49 +0000 Subject: [PATCH] Bump version to 1.0.0. --- Ably.podspec | 2 +- README.md | 6 +++--- Source/ARTDefault.m | 4 ++-- Source/Info.plist | 2 +- Spec/RealtimeClient.swift | 2 +- Spec/RealtimeClientConnection.swift | 2 +- Spec/RestClient.swift | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Ably.podspec b/Ably.podspec index 3b0b6c427..e5f187f55 100644 --- a/Ably.podspec +++ b/Ably.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Ably" - s.version = "0.9.0" + s.version = "1.0.0" s.summary = "iOS client for Ably" s.description = <<-DESC iOS client library for ably.io, the realtime messaging service, written in Objective-C and ready for Swift 2.0. diff --git a/README.md b/README.md index cbd2f4d21..f5628e2a2 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can install Ably for iOS through CocoaPods, Carthage or manually. Add this line to your application's Podfile: # For Xcode 7.3 and newer - pod 'Ably', '~> 0.9' + pod 'Ably', '~> 1.0' And then install the dependency: @@ -26,13 +26,13 @@ And then install the dependency: Add this line to your application's Cartfile: # For Xcode 7.3 and newer - github "ably/ably-ios" ~> 0.9 + github "ably/ably-ios" ~> 1.0 And then run `carthage update` to build the framework and drag the built Ably.framework into your Xcode project. ### Manual installation -1. Get the code from GitHub [from the release page](https://github.com/ably/ably-ios/releases/tag/0.9.0), or clone it to get the latest, unstable and possibly underdocumented version: `git clone git@github.com:ably/ably-ios.git` +1. Get the code from GitHub [from the release page](https://github.com/ably/ably-ios/releases/tag/1.0.0), or clone it to get the latest, unstable and possibly underdocumented version: `git clone git@github.com:ably/ably-ios.git` 2. Drag the directory `ably-ios/ably-ios` into your project as a group. 3. Ably depends on [SocketRocket](https://github.com/facebook/SocketRocket) 0.5.1; get it [from the releases page](https://github.com/facebook/SocketRocket/releases/tag/0.5.1) and follow [its manual installation instructions](https://github.com/facebook/SocketRocket#installing-ios). 4. Ably also depends on [msgpack](https://github.com/rvi/msgpack-objective-C) 0.1.8; get it [from the releases page](https://github.com/rvi/msgpack-objective-C/releases/tag/0.1.8) and link it into your project. diff --git a/Source/ARTDefault.m b/Source/ARTDefault.m index 1d3e33ceb..e2c983871 100644 --- a/Source/ARTDefault.m +++ b/Source/ARTDefault.m @@ -12,8 +12,8 @@ @implementation ARTDefault NSString *const ARTDefault_restHost = @"rest.ably.io"; NSString *const ARTDefault_realtimeHost = @"realtime.ably.io"; -NSString *const ARTDefault_version = @"0.9"; -NSString *const ARTDefault_libraryVersion = @"0.9.0"; +NSString *const ARTDefault_version = @"1.0"; +NSString *const ARTDefault_libraryVersion = @"1.0.0"; NSString *const ARTDefault_ablyBundleId = @"io.ably.Ably"; NSString *const ARTDefault_bundleVersionKey = @"CFBundleShortVersionString"; NSString *const ARTDefault_platform = @"ios-"; diff --git a/Source/Info.plist b/Source/Info.plist index 3df65d7b1..4fafadafe 100644 --- a/Source/Info.plist +++ b/Source/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion diff --git a/Spec/RealtimeClient.swift b/Spec/RealtimeClient.swift index f051d5aab..657aedafe 100644 --- a/Spec/RealtimeClient.swift +++ b/Spec/RealtimeClient.swift @@ -36,7 +36,7 @@ class RealtimeClient: QuickSpec { channel.publish(nil, data: "message") { error in expect(error).to(beNil()) let transport = client.transport as! TestProxyTransport - expect(transport.lastUrl!.query).to(haveParam("v", withValue: "0.9")) + expect(transport.lastUrl!.query).to(haveParam("v", withValue: "1.0")) done() } } diff --git a/Spec/RealtimeClientConnection.swift b/Spec/RealtimeClientConnection.swift index cad4b5909..e96468648 100644 --- a/Spec/RealtimeClientConnection.swift +++ b/Spec/RealtimeClientConnection.swift @@ -213,7 +213,7 @@ class RealtimeClientConnection: QuickSpec { done() case .Connected: if let transport = client.transport as? TestProxyTransport, let query = transport.lastUrl?.query { - expect(query).to(haveParam("lib", withValue: "ios-0.9.0")) + expect(query).to(haveParam("lib", withValue: "ios-1.0.0")) } else { XCTFail("MockTransport isn't working") diff --git a/Spec/RestClient.swift b/Spec/RestClient.swift index 1076ee176..5ca21f7ba 100644 --- a/Spec/RestClient.swift +++ b/Spec/RestClient.swift @@ -29,7 +29,7 @@ class RestClient: QuickSpec { channel.publish(nil, data: "message") { error in expect(error).to(beNil()) let version = testHTTPExecutor.requests.first!.allHTTPHeaderFields?["X-Ably-Version"] - expect(version).to(equal("0.9")) + expect(version).to(equal("1.0")) done() } } @@ -1280,7 +1280,7 @@ class RestClient: QuickSpec { let ablyBundleLibVersion = ARTDefault.libraryVersion() expect(headerLibVersion).to(equal(ablyBundleLibVersion)) - let patternToMatch = "ios-0.9." + let patternToMatch = "ios-1.0." let match = headerLibVersion?.hasPrefix(patternToMatch) expect(match).to(beTrue())