Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Switching from MongoDb to Couchbase
  • Loading branch information
dariopellegrini committed Jun 11, 2019
1 parent f14b2d4 commit a1ce695
Show file tree
Hide file tree
Showing 12 changed files with 357 additions and 382 deletions.
6 changes: 2 additions & 4 deletions Podfile
Expand Up @@ -5,9 +5,7 @@ target 'StorageDone' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

pod 'StitchSDK', '~> 6.0.0'
pod 'StitchLocalMongoDBService', '~> 6.0.0'
pod 'RxSwift', '~> 4.0'
pod 'RxCocoa', '~> 4.0'
pod 'CouchbaseLite-Swift', '~> 2.5.0'
pod 'RxSwift'

end
78 changes: 9 additions & 69 deletions Podfile.lock
@@ -1,80 +1,20 @@
PODS:
- mongo-embedded-c-driver (1.13.0-4.0.4)
- mongo_embedded (4.0.4)
- mongoc_embedded (4.0.4):
- mongo-embedded-c-driver (~> 1.13.0-4.0.4)
- mongo_embedded (~> 4.0.4)
- MongoMobile (0.1.0):
- mongo_embedded (~> 4.0.4)
- mongoc_embedded (~> 4.0.4)
- MongoSwift (~> 0.1.0)
- MongoSwift (0.1.0):
- mongo-embedded-c-driver (~> 1.13.0-4.0.0)
- RxCocoa (4.5.0):
- RxSwift (>= 4.4.2, ~> 4.4)
- RxSwift (4.5.0)
- StitchCore (6.0.0):
- StitchCoreSDK (= 6.0.0)
- StitchCoreLocalMongoDBService (6.0.0):
- MongoMobile (= 0.1.0)
- StitchCoreSDK (= 6.0.0)
- StitchCoreRemoteMongoDBService (6.0.0):
- StitchCoreLocalMongoDBService (= 6.0.0)
- StitchCoreSDK (= 6.0.0)
- StitchCoreSDK (6.0.0):
- MongoSwift (= 0.1.0)
- StitchLocalMongoDBService (6.0.0):
- StitchCore (= 6.0.0)
- StitchCoreLocalMongoDBService (= 6.0.0)
- StitchRemoteMongoDBService (6.0.0):
- StitchCore (= 6.0.0)
- StitchCoreRemoteMongoDBService (= 6.0.0)
- StitchSDK (6.0.0):
- StitchSDK/StitchSDK (= 6.0.0)
- StitchSDK/StitchRemoteMongoDBService (6.0.0):
- StitchRemoteMongoDBService (= 6.0.0)
- StitchSDK/StitchSDK (6.0.0):
- StitchSDK/StitchRemoteMongoDBService
- CouchbaseLite-Swift (2.5.1)
- RxSwift (5.0.0)

DEPENDENCIES:
- RxCocoa (~> 4.0)
- RxSwift (~> 4.0)
- StitchLocalMongoDBService (~> 6.0.0)
- StitchSDK (~> 6.0.0)
- CouchbaseLite-Swift (~> 2.5.0)
- RxSwift

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- mongo-embedded-c-driver
- mongo_embedded
- mongoc_embedded
- MongoMobile
- MongoSwift
- RxCocoa
- CouchbaseLite-Swift
- RxSwift
- StitchCore
- StitchCoreLocalMongoDBService
- StitchCoreRemoteMongoDBService
- StitchCoreSDK
- StitchLocalMongoDBService
- StitchRemoteMongoDBService
- StitchSDK

SPEC CHECKSUMS:
mongo-embedded-c-driver: b46360baa15fc142baae80628822f26663220bde
mongo_embedded: e413134eb6b60544e7278add03007f8fe384a00c
mongoc_embedded: 41aadbb756b07070d6f0471192a84750cb42c580
MongoMobile: 988e8d2fd322761d6358570dde8a2b3d44801823
MongoSwift: e20f86eae1beb06bbba49c2d73bb570961cc4c85
RxCocoa: cbf70265dc65a981d4ac982e513c10cf23df24a0
RxSwift: f172070dfd1a93d70a9ab97a5a01166206e1c575
StitchCore: 6e51c5ae902c3104e702051079c008bb6ad932bd
StitchCoreLocalMongoDBService: 73b323302bb99083af8cd4575e9f8e076a42af91
StitchCoreRemoteMongoDBService: 725132e898507cca0a5f771391eaf6ab0b99a11c
StitchCoreSDK: dbdc54b237b764c36d4440c828131820d1fc6428
StitchLocalMongoDBService: ccf7b606792165c16e91bebd49fc44f0a843239d
StitchRemoteMongoDBService: f1578c76ab56566dc4ce9be1685cbb91075ead4a
StitchSDK: a606b89ac83976050c228e94ce8833c83ac576c1
CouchbaseLite-Swift: 89876f4656ef16945aea554127755ee40855af12
RxSwift: 8b0671caa829a763bbce7271095859121cbd895f

PODFILE CHECKSUM: e93129d1c9aac3fdb2e96cb8dc1d92f753c80d9c
PODFILE CHECKSUM: 7f632dfece1f2a682cd25e008328fd99b4a9fff8

COCOAPODS: 1.7.0
COCOAPODS: 1.5.3
6 changes: 2 additions & 4 deletions StorageDone.podspec
Expand Up @@ -70,10 +70,8 @@ Pod::Spec.new do |spec|
# spec.watchos.deployment_target = "2.0"
# spec.tvos.deployment_target = "9.0"

spec.dependency 'StitchSDK', '~> 6.0.0'
spec.dependency 'StitchLocalMongoDBService', '~> 6.0.0'
spec.dependency 'RxSwift', '~> 4.0'
spec.dependency 'RxCocoa', '~> 4.0'
spec.dependency 'CouchbaseLite-Swift', '~> 2.5.0'
spec.dependency 'RxSwift'

# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
Expand Down
56 changes: 28 additions & 28 deletions StorageDone.xcodeproj/project.pbxproj
Expand Up @@ -7,47 +7,50 @@
objects = {

/* Begin PBXBuildFile section */
6738DBA722AFB62F001E609C /* StorageDoneDatabase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6738DBA622AFB62F001E609C /* StorageDoneDatabase.swift */; };
6762AD9C22AFFAE800830AC8 /* DictionaryExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6762AD9B22AFFAE800830AC8 /* DictionaryExtensions.swift */; };
A39F3407229850ED0086608B /* StorageDone.h in Headers */ = {isa = PBXBuildFile; fileRef = A39F3405229850ED0086608B /* StorageDone.h */; settings = {ATTRIBUTES = (Public, ); }; };
A39F34172298596C0086608B /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = A39F34162298596C0086608B /* LICENSE */; };
A39F341C229860150086608B /* RxExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A39F3419229860140086608B /* RxExtensions.swift */; };
A39F341D229860150086608B /* Database.swift in Sources */ = {isa = PBXBuildFile; fileRef = A39F341B229860150086608B /* Database.swift */; };
A39F341E229860150086608B /* PrimaryKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = A39F3418229860140086608B /* PrimaryKey.swift */; };
A39F341F229860150086608B /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = A39F341A229860140086608B /* Operators.swift */; };
B260D564A6516167816A7107 /* Pods_StorageDone.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 68ECF6CEA2F8C88418901E32 /* Pods_StorageDone.framework */; };
BBF81DC8B18C45EAF9768928 /* Pods_StorageDone.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D8505C67D33317DABA911B8E /* Pods_StorageDone.framework */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
1EEB2EB7296ADA45C74445D5 /* Pods-StorageDone.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageDone.release.xcconfig"; path = "Target Support Files/Pods-StorageDone/Pods-StorageDone.release.xcconfig"; sourceTree = "<group>"; };
68ECF6CEA2F8C88418901E32 /* Pods_StorageDone.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StorageDone.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6738DBA622AFB62F001E609C /* StorageDoneDatabase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StorageDoneDatabase.swift; sourceTree = "<group>"; };
6762AD9B22AFFAE800830AC8 /* DictionaryExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DictionaryExtensions.swift; sourceTree = "<group>"; };
7D2E141BD39513FBE73599DB /* Pods-StorageDone.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageDone.debug.xcconfig"; path = "Pods/Target Support Files/Pods-StorageDone/Pods-StorageDone.debug.xcconfig"; sourceTree = "<group>"; };
A39F3402229850ED0086608B /* StorageDone.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = StorageDone.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A39F3405229850ED0086608B /* StorageDone.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StorageDone.h; sourceTree = "<group>"; };
A39F3406229850ED0086608B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A39F34162298596C0086608B /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
A39F3418229860140086608B /* PrimaryKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrimaryKey.swift; sourceTree = "<group>"; };
A39F3419229860140086608B /* RxExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RxExtensions.swift; sourceTree = "<group>"; };
A39F341A229860140086608B /* Operators.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Operators.swift; sourceTree = "<group>"; };
A39F341B229860150086608B /* Database.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Database.swift; sourceTree = "<group>"; };
AF3819B900F4EBAA69EA8A7D /* Pods-StorageDone.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageDone.debug.xcconfig"; path = "Target Support Files/Pods-StorageDone/Pods-StorageDone.debug.xcconfig"; sourceTree = "<group>"; };
D8505C67D33317DABA911B8E /* Pods_StorageDone.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StorageDone.framework; sourceTree = BUILT_PRODUCTS_DIR; };
FD8454F1229CF7A037FE039F /* Pods-StorageDone.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageDone.release.xcconfig"; path = "Pods/Target Support Files/Pods-StorageDone/Pods-StorageDone.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
A39F33FF229850ED0086608B /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
B260D564A6516167816A7107 /* Pods_StorageDone.framework in Frameworks */,
BBF81DC8B18C45EAF9768928 /* Pods_StorageDone.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
987A3F85FCC20854F95A1121 /* Frameworks */ = {
98057B9DA680ACB97B674B6E /* Pods */ = {
isa = PBXGroup;
children = (
68ECF6CEA2F8C88418901E32 /* Pods_StorageDone.framework */,
7D2E141BD39513FBE73599DB /* Pods-StorageDone.debug.xcconfig */,
FD8454F1229CF7A037FE039F /* Pods-StorageDone.release.xcconfig */,
);
name = Frameworks;
name = Pods;
sourceTree = "<group>";
};
A39F33F8229850ED0086608B = {
Expand All @@ -56,8 +59,8 @@
A39F34162298596C0086608B /* LICENSE */,
A39F3404229850ED0086608B /* StorageDone */,
A39F3403229850ED0086608B /* Products */,
CE43C49BDC1E16B004D2D2EF /* Pods */,
987A3F85FCC20854F95A1121 /* Frameworks */,
98057B9DA680ACB97B674B6E /* Pods */,
F4AC59631EE62C1D3631426C /* Frameworks */,
);
sourceTree = "<group>";
};
Expand All @@ -72,23 +75,23 @@
A39F3404229850ED0086608B /* StorageDone */ = {
isa = PBXGroup;
children = (
A39F341B229860150086608B /* Database.swift */,
A39F341A229860140086608B /* Operators.swift */,
A39F3418229860140086608B /* PrimaryKey.swift */,
A39F3419229860140086608B /* RxExtensions.swift */,
A39F3405229850ED0086608B /* StorageDone.h */,
A39F3406229850ED0086608B /* Info.plist */,
6738DBA622AFB62F001E609C /* StorageDoneDatabase.swift */,
6762AD9B22AFFAE800830AC8 /* DictionaryExtensions.swift */,
);
path = StorageDone;
sourceTree = "<group>";
};
CE43C49BDC1E16B004D2D2EF /* Pods */ = {
F4AC59631EE62C1D3631426C /* Frameworks */ = {
isa = PBXGroup;
children = (
AF3819B900F4EBAA69EA8A7D /* Pods-StorageDone.debug.xcconfig */,
1EEB2EB7296ADA45C74445D5 /* Pods-StorageDone.release.xcconfig */,
D8505C67D33317DABA911B8E /* Pods_StorageDone.framework */,
);
path = Pods;
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
Expand All @@ -109,7 +112,7 @@
isa = PBXNativeTarget;
buildConfigurationList = A39F340A229850ED0086608B /* Build configuration list for PBXNativeTarget "StorageDone" */;
buildPhases = (
79C3C3AB3DC9010A55F9E3A2 /* [CP] Check Pods Manifest.lock */,
588E1A05F2D0310F430A5D01 /* [CP] Check Pods Manifest.lock */,
A39F33FD229850ED0086608B /* Headers */,
A39F33FE229850ED0086608B /* Sources */,
A39F33FF229850ED0086608B /* Frameworks */,
Expand Down Expand Up @@ -168,20 +171,16 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
79C3C3AB3DC9010A55F9E3A2 /* [CP] Check Pods Manifest.lock */ = {
588E1A05F2D0310F430A5D01 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-StorageDone-checkManifestLockResult.txt",
);
Expand All @@ -197,7 +196,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A39F341D229860150086608B /* Database.swift in Sources */,
6762AD9C22AFFAE800830AC8 /* DictionaryExtensions.swift in Sources */,
6738DBA722AFB62F001E609C /* StorageDoneDatabase.swift in Sources */,
A39F341F229860150086608B /* Operators.swift in Sources */,
A39F341C229860150086608B /* RxExtensions.swift in Sources */,
A39F341E229860150086608B /* PrimaryKey.swift in Sources */,
Expand Down Expand Up @@ -331,13 +331,13 @@
};
A39F340B229850ED0086608B /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = AF3819B900F4EBAA69EA8A7D /* Pods-StorageDone.debug.xcconfig */;
baseConfigurationReference = 7D2E141BD39513FBE73599DB /* Pods-StorageDone.debug.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = SDK36A53QL;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -359,13 +359,13 @@
};
A39F340C229850ED0086608B /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1EEB2EB7296ADA45C74445D5 /* Pods-StorageDone.release.xcconfig */;
baseConfigurationReference = FD8454F1229CF7A037FE039F /* Pods-StorageDone.release.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = SDK36A53QL;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>StorageDone.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>2</integer>
</dict>
</dict>
</dict>
</plist>
Binary file not shown.
Binary file not shown.

0 comments on commit a1ce695

Please sign in to comment.