Skip to content

Commit

Permalink
Rename AblyRealtime to Ably (#490)
Browse files Browse the repository at this point in the history
* Rename AblyRealtime to Ably

* Bump version to 0.8.7

* Update README
  • Loading branch information
ricardopereira authored Oct 12, 2016
1 parent c00d4cc commit bed0664
Show file tree
Hide file tree
Showing 27 changed files with 42 additions and 48 deletions.
6 changes: 3 additions & 3 deletions AblyRealtime.podspec → Ably.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "AblyRealtime"
s.version = "0.8.6"
s.name = "Ably"
s.version = "0.8.7"
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 All @@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.platform = :ios, '8.0'
s.requires_arc = true
s.source_files = 'Source/*.{h,m}'
s.module_map = 'Source/AblyRealtime.modulemap'
s.module_map = 'Source/Ably.modulemap'
s.dependency 'SocketRocket', '0.5.1'
s.dependency 'msgpack', '0.1.8'
end
16 changes: 8 additions & 8 deletions Ably.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
856AAC991B6E312F00B07119 /* RestClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 856AAC981B6E312F00B07119 /* RestClient.swift */; };
856AAC9B1B6E326E00B07119 /* ably-common in Resources */ = {isa = PBXBuildFile; fileRef = 856AAC9A1B6E326E00B07119 /* ably-common */; };
85B2C2191B6FE8DE00EA5254 /* CompatibilityMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 85B2C2181B6FE8DE00EA5254 /* CompatibilityMacros.h */; settings = {ATTRIBUTES = (Public, ); }; };
85F0A60B1B6D039F00EFF45A /* AblyRealtime.h in Headers */ = {isa = PBXBuildFile; fileRef = 85F0A60A1B6D039F00EFF45A /* AblyRealtime.h */; settings = {ATTRIBUTES = (Public, ); }; };
960D07931A45F1D800ED8C8C /* ARTCrypto.h in Headers */ = {isa = PBXBuildFile; fileRef = 960D07911A45F1D800ED8C8C /* ARTCrypto.h */; settings = {ATTRIBUTES = (Public, ); }; };
960D07941A45F1D800ED8C8C /* ARTCrypto.m in Sources */ = {isa = PBXBuildFile; fileRef = 960D07921A45F1D800ED8C8C /* ARTCrypto.m */; };
960D07971A46FFC300ED8C8C /* ARTRest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 960D07951A46FFC300ED8C8C /* ARTRest+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
Expand Down Expand Up @@ -124,6 +123,7 @@
D746AE531BBD85C5003ECEF8 /* ARTChannels.h in Headers */ = {isa = PBXBuildFile; fileRef = D746AE511BBD85C5003ECEF8 /* ARTChannels.h */; settings = {ATTRIBUTES = (Public, ); }; };
D746AE541BBD85C5003ECEF8 /* ARTChannels.m in Sources */ = {isa = PBXBuildFile; fileRef = D746AE521BBD85C5003ECEF8 /* ARTChannels.m */; };
D74EFAEB1C4D09B500CFF98E /* RealtimeClientChannel.swift in Sources */ = {isa = PBXBuildFile; fileRef = D74EFAEA1C4D09B500CFF98E /* RealtimeClientChannel.swift */; };
D7534C321D79E5C20054C182 /* Ably.h in Headers */ = {isa = PBXBuildFile; fileRef = D7534C311D79E5C20054C182 /* Ably.h */; settings = {ATTRIBUTES = (Public, ); }; };
D7588AF31BFF91B800BB8279 /* ARTURLSessionServerTrust.h in Headers */ = {isa = PBXBuildFile; fileRef = D7588AF11BFF91B800BB8279 /* ARTURLSessionServerTrust.h */; settings = {ATTRIBUTES = (Private, ); }; };
D7588AF41BFF91B800BB8279 /* ARTURLSessionServerTrust.m in Sources */ = {isa = PBXBuildFile; fileRef = D7588AF21BFF91B800BB8279 /* ARTURLSessionServerTrust.m */; };
D77394031C6F6FFE00F5478F /* ARTProtocolMessage+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D77394021C6F6FFE00F5478F /* ARTProtocolMessage+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
Expand Down Expand Up @@ -277,8 +277,7 @@
856AAC981B6E312F00B07119 /* RestClient.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RestClient.swift; sourceTree = "<group>"; };
856AAC9A1B6E326E00B07119 /* ably-common */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "ably-common"; sourceTree = SOURCE_ROOT; };
85B2C2181B6FE8DE00EA5254 /* CompatibilityMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CompatibilityMacros.h; sourceTree = "<group>"; };
85F0A60A1B6D039F00EFF45A /* AblyRealtime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AblyRealtime.h; sourceTree = "<group>"; };
85F0A60C1B6D03B700EFF45A /* AblyRealtime.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = AblyRealtime.modulemap; sourceTree = "<group>"; };
85F0A60C1B6D03B700EFF45A /* Ably.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = Ably.modulemap; sourceTree = "<group>"; };
8E47A9003C0672038EF96704 /* Pods-Ably.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Ably.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Ably/Pods-Ably.debug.xcconfig"; sourceTree = "<group>"; };
960D07911A45F1D800ED8C8C /* ARTCrypto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ARTCrypto.h; sourceTree = "<group>"; };
960D07921A45F1D800ED8C8C /* ARTCrypto.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ARTCrypto.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -357,6 +356,7 @@
D746AE521BBD85C5003ECEF8 /* ARTChannels.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ARTChannels.m; sourceTree = "<group>"; };
D746AE551BBD8622003ECEF8 /* ARTChannels+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ARTChannels+Private.h"; sourceTree = "<group>"; };
D74EFAEA1C4D09B500CFF98E /* RealtimeClientChannel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealtimeClientChannel.swift; sourceTree = "<group>"; };
D7534C311D79E5C20054C182 /* Ably.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Ably.h; sourceTree = "<group>"; };
D7588AF11BFF91B800BB8279 /* ARTURLSessionServerTrust.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ARTURLSessionServerTrust.h; sourceTree = "<group>"; };
D7588AF21BFF91B800BB8279 /* ARTURLSessionServerTrust.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ARTURLSessionServerTrust.m; sourceTree = "<group>"; };
D77394021C6F6FFE00F5478F /* ARTProtocolMessage+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ARTProtocolMessage+Private.h"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -551,7 +551,7 @@
96BF61331A35B2AB004CF2B3 /* Source */ = {
isa = PBXGroup;
children = (
85F0A60A1B6D039F00EFF45A /* AblyRealtime.h */,
D7534C311D79E5C20054C182 /* Ably.h */,
85B2C2181B6FE8DE00EA5254 /* CompatibilityMacros.h */,
1CD8DC9D1B1C7315007EAF36 /* ARTDefault.h */,
D7DC8AF01C6A9FFC005AF165 /* ARTDefault+Private.h */,
Expand All @@ -569,7 +569,7 @@
96BF61341A35B2AB004CF2B3 /* Supporting Files */ = {
isa = PBXGroup;
children = (
85F0A60C1B6D03B700EFF45A /* AblyRealtime.modulemap */,
85F0A60C1B6D03B700EFF45A /* Ably.modulemap */,
1C118A5B1AE63D89006AD19E /* Info.plist */,
);
name = "Supporting Files";
Expand Down Expand Up @@ -780,13 +780,13 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
85F0A60B1B6D039F00EFF45A /* AblyRealtime.h in Headers */,
96BF61531A35B39C004CF2B3 /* ARTRest.h in Headers */,
EB91213E1CA0AD6600BA0A40 /* ARTMsgPackEncoder.h in Headers */,
96A507BD1A3791490077CDF8 /* ARTRealtime.h in Headers */,
EB5E058D1C77027600A48B39 /* ARTCrypto+Private.h in Headers */,
D7DC8AF11C6AA0C8005AF165 /* ARTDefault+Private.h in Headers */,
961343D81A42E0B7006DC822 /* ARTClientOptions.h in Headers */,
D7534C321D79E5C20054C182 /* Ably.h in Headers */,
96BF615E1A35C1C8004CF2B3 /* ARTTypes.h in Headers */,
EB503C881C7E4A090053AF00 /* ARTClientOptions+Private.h in Headers */,
EB2D84F71CD75CCE00F23CDA /* ARTReachability.h in Headers */,
Expand Down Expand Up @@ -1378,7 +1378,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = mh_dylib;
MODULEMAP_FILE = Source/AblyRealtime.modulemap;
MODULEMAP_FILE = Source/Ably.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = "io.ably.$(PRODUCT_NAME)";
PRODUCT_NAME = "$(TARGET_NAME)";
SEPARATE_STRIP = YES;
Expand All @@ -1399,7 +1399,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACH_O_TYPE = mh_dylib;
MODULEMAP_FILE = Source/AblyRealtime.modulemap;
MODULEMAP_FILE = Source/Ably.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = "io.ably.$(PRODUCT_NAME)";
PRODUCT_NAME = "$(TARGET_NAME)";
SEPARATE_STRIP = YES;
Expand Down
2 changes: 1 addition & 1 deletion Examples/Tests/Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use_frameworks!

pod 'AblyRealtime', :path => '../..'
pod 'Ably', :path => '../..'

target 'Tests' do

Expand Down
10 changes: 5 additions & 5 deletions Examples/Tests/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
PODS:
- AblyRealtime (0.8.6):
- Ably (0.8.7):
- msgpack (= 0.1.8)
- SocketRocket (= 0.5.1)
- msgpack (0.1.8)
- SocketRocket (0.5.1)

DEPENDENCIES:
- AblyRealtime (from `../..`)
- Ably (from `../..`)

EXTERNAL SOURCES:
AblyRealtime:
Ably:
:path: "../.."

SPEC CHECKSUMS:
AblyRealtime: 1f512af9778d805f6d2700e8d19952a22128e4a3
Ably: faaabeef80b7023bb724829cfd35d658d016ec08
msgpack: 97491d2ea799408f4694f2c7d7fd79baf77853dd
SocketRocket: d57c7159b83c3c6655745cd15302aa24b6bae531

PODFILE CHECKSUM: b1ac4836d4341cd6951b4de8c66d11495d7c97fb
PODFILE CHECKSUM: 6af34bf7f91045b23539816c1d0cfe253bec5ea5

COCOAPODS: 1.0.1
2 changes: 1 addition & 1 deletion Examples/Tests/TestsTests/TestsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import XCTest
import AblyRealtime
import Ably
@testable import Tests


Expand Down
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
platform :ios, '8.0'
use_frameworks!
podspec :path => 'AblyRealtime.podspec'
podspec :path => 'Ably.podspec'

def project_pods
pod 'SocketRocket', '0.5.1'
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +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 'AblyRealtime', '~> 0.8'

# For Xcode 7.2 and older
pod 'AblyRealtime', :git => 'https://github.com/ably/ably-ios.git', :tag => '0.8-swift2.1'
pod 'Ably', '~> 0.8'

And then install the dependency:

Expand All @@ -31,9 +28,6 @@ Add this line to your application's Cartfile:
# For Xcode 7.3 and newer
github "ably/ably-ios" ~> 0.8

# For Xcode 7.2 and older
github "ably/ably-ios" == "0.8-swift2.1"

And then run `carthage update` to build the framework and drag the built Ably.framework into your Xcode project.

### Manual installation
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions Source/AblyRealtime.modulemap → Source/Ably.modulemap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
framework module AblyRealtime {
umbrella header "AblyRealtime.h"
framework module Ably {
umbrella header "Ably.h"

export *
module * { export * }
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.8.6</string>
<string>0.8.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Spec/Auth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 г. Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Nimble
import Quick
import Aspects
Expand Down
2 changes: 1 addition & 1 deletion Spec/Crypto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Nimble
import Quick
import SwiftyJSON
Expand Down
2 changes: 1 addition & 1 deletion Spec/ReadmeExamples.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

import AblyRealtime
import Ably
import Foundation
import Quick
import Nimble
Expand Down
2 changes: 1 addition & 1 deletion Spec/RealtimeClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Quick
import Nimble

Expand Down
2 changes: 1 addition & 1 deletion Spec/RealtimeClientChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Quick
import Nimble
import Aspects
Expand Down
2 changes: 1 addition & 1 deletion Spec/RealtimeClientChannels.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Quick
import Nimble

Expand Down
4 changes: 2 additions & 2 deletions Spec/RealtimeClientConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2015 Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Quick
import Nimble
import SwiftyJSON
Expand Down 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.8.6"))
expect(query).to(haveParam("lib", withValue: "ios-0.8.7"))
}
else {
XCTFail("MockTransport isn't working")
Expand Down
2 changes: 1 addition & 1 deletion Spec/RealtimeClientPresence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Quick
import Nimble
import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Spec/RestClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2015 г. Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Nimble
import Quick

Expand Down
2 changes: 1 addition & 1 deletion Spec/RestClientChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 г. Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Nimble
import Quick
import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Spec/RestClientChannels.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 г. Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Nimble
import Quick
import Aspects
Expand Down
2 changes: 1 addition & 1 deletion Spec/RestClientPresence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Quick
import Nimble

Expand Down
2 changes: 1 addition & 1 deletion Spec/RestClientStats.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 г. Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Nimble
import Quick
import SwiftyJSON
Expand Down
2 changes: 1 addition & 1 deletion Spec/Stats.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 г. Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Nimble
import Quick
import SwiftyJSON
Expand Down
4 changes: 2 additions & 2 deletions Spec/TestUtilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2015 г. Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Foundation
import XCTest
import Quick
Expand All @@ -15,7 +15,7 @@ import SwiftyJSON
import SocketRocket
import Aspects

import AblyRealtime.Private
import Ably.Private

enum CryptoTest: String {
case aes128 = "crypto-data-128"
Expand Down
2 changes: 1 addition & 1 deletion Spec/Utilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Ably. All rights reserved.
//

import AblyRealtime
import Ably
import Nimble
import Quick
import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Tests/ARTReadmeExamples.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import <Foundation/Foundation.h>
#import <XCTest/XCTest.h>
#import "ARTTestUtil.h"
#import "AblyRealtime.h"
#import "Ably.h"

@interface ARTReadmeExamples : XCTestCase
@end
Expand Down

0 comments on commit bed0664

Please sign in to comment.