Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(DataStore): Combine support for all APIs #524

Merged
merged 5 commits into from
Jun 11, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Amplify.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
FAB2C9A52384B21C008EE879 /* MockAWSAuthService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2125E2A72321DCDD00B3DEB5 /* MockAWSAuthService.swift */; };
FAB2C9A62384B229008EE879 /* AWSPluginsTestCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = FA131AE023610B6A0008381C /* AWSPluginsTestCommon.h */; settings = {ATTRIBUTES = (Public, ); }; };
FAB3CA15238D9BE400F59BD0 /* DefaultLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAB3CA14238D9BE400F59BD0 /* DefaultLogger.swift */; };
FAB4B6E42485B31C0069B398 /* MockDataStoreResponders.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAB4B6E32485B31C0069B398 /* MockDataStoreResponders.swift */; };
FAB9D811233BF5F600928AA9 /* AmplifyOperationContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAB9D810233BF5F600928AA9 /* AmplifyOperationContext.swift */; };
FAC0A29B22B3DEEE00B50912 /* HubPayload.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAC0A29A22B3DEEE00B50912 /* HubPayload.swift */; };
FAC0A2AD22B43FE700B50912 /* HubCategory+ClientBehavior.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAC0A2AC22B43FE700B50912 /* HubCategory+ClientBehavior.swift */; };
Expand Down Expand Up @@ -1214,6 +1215,7 @@
FAB2C99A2384B108008EE879 /* AWSPluginsTestCommon.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AWSPluginsTestCommon.framework; sourceTree = BUILT_PRODUCTS_DIR; };
FAB2C9DD2384E034008EE879 /* Starscream.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Starscream.framework; path = "../../../Library/Developer/Xcode/DerivedData/APICategoryPlugin-exvfngtmuctecdgobxqxqwwvmwgo/Build/Products/Debug-iphonesimulator/Starscream/Starscream.framework"; sourceTree = "<group>"; };
FAB3CA14238D9BE400F59BD0 /* DefaultLogger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DefaultLogger.swift; path = Amplify/Categories/Logging/DefaultLogger.swift; sourceTree = SOURCE_ROOT; };
FAB4B6E32485B31C0069B398 /* MockDataStoreResponders.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockDataStoreResponders.swift; sourceTree = "<group>"; };
FAB9D810233BF5F600928AA9 /* AmplifyOperationContext.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AmplifyOperationContext.swift; sourceTree = "<group>"; };
FAC0A29A22B3DEEE00B50912 /* HubPayload.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HubPayload.swift; sourceTree = "<group>"; };
FAC0A2AC22B43FE700B50912 /* HubCategory+ClientBehavior.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "HubCategory+ClientBehavior.swift"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2861,13 +2863,14 @@
FAC2355E227A056600424678 /* MockAnalyticsCategoryPlugin.swift */,
FAC23557227A056600424678 /* MockAPICategoryPlugin.swift */,
FA1846ED23998E43009B9D01 /* MockAPIResponders.swift */,
B4F3E9F924314ECC00F23296 /* MockAuthCategoryPlugin.swift */,
FAD3937E23820DAE00463F5E /* MockDataStoreCategoryPlugin.swift */,
FAB4B6E32485B31C0069B398 /* MockDataStoreResponders.swift */,
FAC23589227A45D500424678 /* MockHubCategoryPlugin.swift */,
FAC0A2BB22B4603800B50912 /* MockLoggingCategoryPlugin.swift */,
B4BD6B3623708C6700A1F0A7 /* MockPredictionsCategoryPlugin.swift */,
FA4A955E239ADEBD008E876E /* MockResponder.swift */,
FAC23553227A056600424678 /* MockStorageCategoryPlugin.swift */,
B4F3E9F924314ECC00F23296 /* MockAuthCategoryPlugin.swift */,
);
path = Mocks;
sourceTree = "<group>";
Expand Down Expand Up @@ -4395,6 +4398,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FAB4B6E42485B31C0069B398 /* MockDataStoreResponders.swift in Sources */,
B9FAA116238799D3009414B4 /* Author.swift in Sources */,
B9521833237E21BA00F53237 /* Comment+Schema.swift in Sources */,
FA176ED7238503C200C5C5F9 /* HubListenerTestUtilities.swift in Sources */,
Expand Down
30 changes: 30 additions & 0 deletions AmplifyCombineSupport.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#
# Be sure to run `pod spec lint AWSS3StoragePlugin.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see https://guides.cocoapods.org/syntax/podspec.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|
AMPLIFY_VERSION = '1.0.0'

s.name = 'AmplifyCombineSupport'
s.version = AMPLIFY_VERSION
s.summary = 'Amazon Web Services Amplify for iOS.'

s.description = 'AWS Amplify for iOS provides a declarative library for application development using cloud services'

s.homepage = 'https://aws.amazon.com/amplify/'
s.license = 'Apache License, Version 2.0'
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :git => 'https://github.com/aws-amplify/amplify-ios.git', :tag => s.version}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

our tags are prefixed with v, I fixed this for the other podspecs in this PR: #538

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this callout, will fix.


s.platform = :ios, '13.0'
s.swift_version = '5.0'

s.dependency 'Amplify', AMPLIFY_VERSION

s.source_files = 'AmplifyCombineSupport/**/*.swift'

end
Loading