Skip to content

Commit

Permalink
Bump version to 1.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardopereira committed Mar 23, 2017
1 parent 85fd3b5 commit 3b3d08e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Ably.podspec
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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 [email protected]: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 [email protected]: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.
Expand Down
4 changes: 2 additions & 2 deletions Source/ARTDefault.m
Original file line number Diff line number Diff line change
Expand Up @@ -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-";
Expand Down
2 changes: 1 addition & 1 deletion Source/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.9.0</string>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Spec/RealtimeClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down
2 changes: 1 addition & 1 deletion Spec/RealtimeClientConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions Spec/RestClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down Expand Up @@ -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())

Expand Down

0 comments on commit 3b3d08e

Please sign in to comment.