From bd415883e9b9648f27d882d55e9ff77a2a123bfe Mon Sep 17 00:00:00 2001 From: Pete Gautier Date: Fri, 1 Dec 2023 15:21:39 -0800 Subject: [PATCH] chore: capitalize module name --- Package.swift | 12 ++++++------ Sources/{momento => Momento}/CacheClient.swift | 0 Sources/{momento => Momento}/TopicClient.swift | 0 .../auth/CredentialProvider.swift | 0 .../config/CacheConfiguration.swift | 0 .../config/CacheConfigurations.swift | 0 .../config/TopicConfiguration.swift | 0 .../config/TopicConfigurations.swift | 0 .../config/logging/DefaultMomentoLogger.swift | 0 .../config/logging/LogProvider.swift | 0 .../config/logging/MomentoLoggerProtocol.swift | 0 .../config/transport/GrpcConfigurationProtocol.swift | 0 .../config/transport/TransportStrategy.swift | 0 Sources/{momento => Momento}/errors/Errors.swift | 0 .../internal/ControlClient.swift | 0 .../{momento => Momento}/internal/DataClient.swift | 0 .../{momento => Momento}/internal/PubsubClient.swift | 0 .../internal/protos/auth.grpc.swift | 0 .../internal/protos/auth.pb.swift | 0 .../{momento => Momento}/internal/protos/auth.proto | 0 .../internal/protos/cacheclient.grpc.swift | 0 .../internal/protos/cacheclient.pb.swift | 0 .../internal/protos/cacheclient.proto | 0 .../internal/protos/cacheping.grpc.swift | 0 .../internal/protos/cacheping.pb.swift | 0 .../internal/protos/cacheping.proto | 0 .../internal/protos/cachepubsub.grpc.swift | 0 .../internal/protos/cachepubsub.pb.swift | 0 .../internal/protos/cachepubsub.proto | 0 .../internal/protos/controlclient.grpc.swift | 0 .../internal/protos/controlclient.pb.swift | 0 .../internal/protos/controlclient.proto | 0 .../internal/protos/extensions.pb.swift | 0 .../internal/protos/extensions.proto | 0 .../internal/protos/leaderboard.grpc.swift | 0 .../internal/protos/leaderboard.pb.swift | 0 .../internal/protos/leaderboard.proto | 0 .../internal/protos/permissionmessages.pb.swift | 0 .../internal/protos/permissionmessages.proto | 0 .../internal/protos/token.grpc.swift | 0 .../internal/protos/token.pb.swift | 0 .../{momento => Momento}/internal/protos/token.proto | 0 .../internal/protos/vectorindex.grpc.swift | 0 .../internal/protos/vectorindex.pb.swift | 0 .../internal/protos/vectorindex.proto | 0 .../internal/protos/webhook.grpc.swift | 0 .../internal/protos/webhook.pb.swift | 0 .../internal/protos/webhook.proto | 0 .../internal/utils/Interceptors.swift | 0 .../internal/utils/Validators.swift | 0 .../messages/responses/ResponseBase.swift | 0 .../responses/cache/control/CacheCreate.swift | 0 .../responses/cache/control/CacheDelete.swift | 0 .../messages/responses/cache/control/CacheList.swift | 0 .../cache/data/list/CacheListConcatenateBack.swift | 0 .../cache/data/list/CacheListConcatenateFront.swift | 0 .../responses/cache/data/list/CacheListFetch.swift | 0 .../responses/cache/data/list/CacheListLength.swift | 0 .../responses/cache/data/list/CacheListPopBack.swift | 0 .../cache/data/list/CacheListPopFront.swift | 0 .../cache/data/list/CacheListPushBack.swift | 0 .../cache/data/list/CacheListPushFront.swift | 0 .../cache/data/list/CacheListRemoveValue.swift | 0 .../responses/cache/data/list/CacheListRetain.swift | 0 .../responses/cache/data/scalar/CacheGet.swift | 0 .../responses/cache/data/scalar/CacheSet.swift | 0 .../messages/responses/topics/TopicPublish.swift | 0 .../messages/responses/topics/TopicSubscribe.swift | 0 .../responses/topics/TopicSubscriptionItem.swift | 0 .../{momento => Momento}/utils/CollectionTtl.swift | 0 Tests/{momentoTests => MomentoTests}/authTests.swift | 4 ++-- .../{momentoTests => MomentoTests}/cacheTests.swift | 2 +- .../{momentoTests => MomentoTests}/configTests.swift | 2 +- Tests/{momentoTests => MomentoTests}/listTests.swift | 2 +- Tests/{momentoTests => MomentoTests}/testUtils.swift | 2 +- .../{momentoTests => MomentoTests}/topicsTests.swift | 2 +- 76 files changed, 13 insertions(+), 13 deletions(-) rename Sources/{momento => Momento}/CacheClient.swift (100%) rename Sources/{momento => Momento}/TopicClient.swift (100%) rename Sources/{momento => Momento}/auth/CredentialProvider.swift (100%) rename Sources/{momento => Momento}/config/CacheConfiguration.swift (100%) rename Sources/{momento => Momento}/config/CacheConfigurations.swift (100%) rename Sources/{momento => Momento}/config/TopicConfiguration.swift (100%) rename Sources/{momento => Momento}/config/TopicConfigurations.swift (100%) rename Sources/{momento => Momento}/config/logging/DefaultMomentoLogger.swift (100%) rename Sources/{momento => Momento}/config/logging/LogProvider.swift (100%) rename Sources/{momento => Momento}/config/logging/MomentoLoggerProtocol.swift (100%) rename Sources/{momento => Momento}/config/transport/GrpcConfigurationProtocol.swift (100%) rename Sources/{momento => Momento}/config/transport/TransportStrategy.swift (100%) rename Sources/{momento => Momento}/errors/Errors.swift (100%) rename Sources/{momento => Momento}/internal/ControlClient.swift (100%) rename Sources/{momento => Momento}/internal/DataClient.swift (100%) rename Sources/{momento => Momento}/internal/PubsubClient.swift (100%) rename Sources/{momento => Momento}/internal/protos/auth.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/auth.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/auth.proto (100%) rename Sources/{momento => Momento}/internal/protos/cacheclient.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/cacheclient.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/cacheclient.proto (100%) rename Sources/{momento => Momento}/internal/protos/cacheping.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/cacheping.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/cacheping.proto (100%) rename Sources/{momento => Momento}/internal/protos/cachepubsub.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/cachepubsub.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/cachepubsub.proto (100%) rename Sources/{momento => Momento}/internal/protos/controlclient.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/controlclient.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/controlclient.proto (100%) rename Sources/{momento => Momento}/internal/protos/extensions.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/extensions.proto (100%) rename Sources/{momento => Momento}/internal/protos/leaderboard.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/leaderboard.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/leaderboard.proto (100%) rename Sources/{momento => Momento}/internal/protos/permissionmessages.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/permissionmessages.proto (100%) rename Sources/{momento => Momento}/internal/protos/token.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/token.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/token.proto (100%) rename Sources/{momento => Momento}/internal/protos/vectorindex.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/vectorindex.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/vectorindex.proto (100%) rename Sources/{momento => Momento}/internal/protos/webhook.grpc.swift (100%) rename Sources/{momento => Momento}/internal/protos/webhook.pb.swift (100%) rename Sources/{momento => Momento}/internal/protos/webhook.proto (100%) rename Sources/{momento => Momento}/internal/utils/Interceptors.swift (100%) rename Sources/{momento => Momento}/internal/utils/Validators.swift (100%) rename Sources/{momento => Momento}/messages/responses/ResponseBase.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/control/CacheCreate.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/control/CacheDelete.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/control/CacheList.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListConcatenateBack.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListConcatenateFront.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListFetch.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListLength.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListPopBack.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListPopFront.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListPushBack.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListPushFront.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListRemoveValue.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/list/CacheListRetain.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/scalar/CacheGet.swift (100%) rename Sources/{momento => Momento}/messages/responses/cache/data/scalar/CacheSet.swift (100%) rename Sources/{momento => Momento}/messages/responses/topics/TopicPublish.swift (100%) rename Sources/{momento => Momento}/messages/responses/topics/TopicSubscribe.swift (100%) rename Sources/{momento => Momento}/messages/responses/topics/TopicSubscriptionItem.swift (100%) rename Sources/{momento => Momento}/utils/CollectionTtl.swift (100%) rename Tests/{momentoTests => MomentoTests}/authTests.swift (97%) rename Tests/{momentoTests => MomentoTests}/cacheTests.swift (99%) rename Tests/{momentoTests => MomentoTests}/configTests.swift (98%) rename Tests/{momentoTests => MomentoTests}/listTests.swift (99%) rename Tests/{momentoTests => MomentoTests}/testUtils.swift (98%) rename Tests/{momentoTests => MomentoTests}/topicsTests.swift (99%) diff --git a/Package.swift b/Package.swift index 54322a0..a74f94c 100644 --- a/Package.swift +++ b/Package.swift @@ -4,12 +4,12 @@ import PackageDescription let package = Package( - name: "momento", + name: "Momento", products: [ // Products define the executables and libraries a package produces, making them visible to other packages. .library( - name: "momento", - targets: ["momento"]), + name: "Momento", + targets: ["Momento"]), ], dependencies: [ .package(url: "https://github.com/apple/swift-protobuf.git", from: "1.6.0"), @@ -19,7 +19,7 @@ let package = Package( // Targets are the basic building blocks of a package, defining a module or a test suite. // Targets can depend on other targets in this package and products from dependencies. .target( - name: "momento", + name: "Momento", dependencies: [ .product(name: "SwiftProtobuf", package: "swift-protobuf"), .product(name: "GRPC", package: "grpc-swift")], @@ -38,8 +38,8 @@ let package = Package( ] ), .testTarget( - name: "momentoTests", - dependencies: ["momento", .product(name: "SwiftProtobuf", package: "swift-protobuf"), .product(name: "GRPC", package: "grpc-swift")] + name: "MomentoTests", + dependencies: ["Momento", .product(name: "SwiftProtobuf", package: "swift-protobuf"), .product(name: "GRPC", package: "grpc-swift")] ) ] ) diff --git a/Sources/momento/CacheClient.swift b/Sources/Momento/CacheClient.swift similarity index 100% rename from Sources/momento/CacheClient.swift rename to Sources/Momento/CacheClient.swift diff --git a/Sources/momento/TopicClient.swift b/Sources/Momento/TopicClient.swift similarity index 100% rename from Sources/momento/TopicClient.swift rename to Sources/Momento/TopicClient.swift diff --git a/Sources/momento/auth/CredentialProvider.swift b/Sources/Momento/auth/CredentialProvider.swift similarity index 100% rename from Sources/momento/auth/CredentialProvider.swift rename to Sources/Momento/auth/CredentialProvider.swift diff --git a/Sources/momento/config/CacheConfiguration.swift b/Sources/Momento/config/CacheConfiguration.swift similarity index 100% rename from Sources/momento/config/CacheConfiguration.swift rename to Sources/Momento/config/CacheConfiguration.swift diff --git a/Sources/momento/config/CacheConfigurations.swift b/Sources/Momento/config/CacheConfigurations.swift similarity index 100% rename from Sources/momento/config/CacheConfigurations.swift rename to Sources/Momento/config/CacheConfigurations.swift diff --git a/Sources/momento/config/TopicConfiguration.swift b/Sources/Momento/config/TopicConfiguration.swift similarity index 100% rename from Sources/momento/config/TopicConfiguration.swift rename to Sources/Momento/config/TopicConfiguration.swift diff --git a/Sources/momento/config/TopicConfigurations.swift b/Sources/Momento/config/TopicConfigurations.swift similarity index 100% rename from Sources/momento/config/TopicConfigurations.swift rename to Sources/Momento/config/TopicConfigurations.swift diff --git a/Sources/momento/config/logging/DefaultMomentoLogger.swift b/Sources/Momento/config/logging/DefaultMomentoLogger.swift similarity index 100% rename from Sources/momento/config/logging/DefaultMomentoLogger.swift rename to Sources/Momento/config/logging/DefaultMomentoLogger.swift diff --git a/Sources/momento/config/logging/LogProvider.swift b/Sources/Momento/config/logging/LogProvider.swift similarity index 100% rename from Sources/momento/config/logging/LogProvider.swift rename to Sources/Momento/config/logging/LogProvider.swift diff --git a/Sources/momento/config/logging/MomentoLoggerProtocol.swift b/Sources/Momento/config/logging/MomentoLoggerProtocol.swift similarity index 100% rename from Sources/momento/config/logging/MomentoLoggerProtocol.swift rename to Sources/Momento/config/logging/MomentoLoggerProtocol.swift diff --git a/Sources/momento/config/transport/GrpcConfigurationProtocol.swift b/Sources/Momento/config/transport/GrpcConfigurationProtocol.swift similarity index 100% rename from Sources/momento/config/transport/GrpcConfigurationProtocol.swift rename to Sources/Momento/config/transport/GrpcConfigurationProtocol.swift diff --git a/Sources/momento/config/transport/TransportStrategy.swift b/Sources/Momento/config/transport/TransportStrategy.swift similarity index 100% rename from Sources/momento/config/transport/TransportStrategy.swift rename to Sources/Momento/config/transport/TransportStrategy.swift diff --git a/Sources/momento/errors/Errors.swift b/Sources/Momento/errors/Errors.swift similarity index 100% rename from Sources/momento/errors/Errors.swift rename to Sources/Momento/errors/Errors.swift diff --git a/Sources/momento/internal/ControlClient.swift b/Sources/Momento/internal/ControlClient.swift similarity index 100% rename from Sources/momento/internal/ControlClient.swift rename to Sources/Momento/internal/ControlClient.swift diff --git a/Sources/momento/internal/DataClient.swift b/Sources/Momento/internal/DataClient.swift similarity index 100% rename from Sources/momento/internal/DataClient.swift rename to Sources/Momento/internal/DataClient.swift diff --git a/Sources/momento/internal/PubsubClient.swift b/Sources/Momento/internal/PubsubClient.swift similarity index 100% rename from Sources/momento/internal/PubsubClient.swift rename to Sources/Momento/internal/PubsubClient.swift diff --git a/Sources/momento/internal/protos/auth.grpc.swift b/Sources/Momento/internal/protos/auth.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/auth.grpc.swift rename to Sources/Momento/internal/protos/auth.grpc.swift diff --git a/Sources/momento/internal/protos/auth.pb.swift b/Sources/Momento/internal/protos/auth.pb.swift similarity index 100% rename from Sources/momento/internal/protos/auth.pb.swift rename to Sources/Momento/internal/protos/auth.pb.swift diff --git a/Sources/momento/internal/protos/auth.proto b/Sources/Momento/internal/protos/auth.proto similarity index 100% rename from Sources/momento/internal/protos/auth.proto rename to Sources/Momento/internal/protos/auth.proto diff --git a/Sources/momento/internal/protos/cacheclient.grpc.swift b/Sources/Momento/internal/protos/cacheclient.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/cacheclient.grpc.swift rename to Sources/Momento/internal/protos/cacheclient.grpc.swift diff --git a/Sources/momento/internal/protos/cacheclient.pb.swift b/Sources/Momento/internal/protos/cacheclient.pb.swift similarity index 100% rename from Sources/momento/internal/protos/cacheclient.pb.swift rename to Sources/Momento/internal/protos/cacheclient.pb.swift diff --git a/Sources/momento/internal/protos/cacheclient.proto b/Sources/Momento/internal/protos/cacheclient.proto similarity index 100% rename from Sources/momento/internal/protos/cacheclient.proto rename to Sources/Momento/internal/protos/cacheclient.proto diff --git a/Sources/momento/internal/protos/cacheping.grpc.swift b/Sources/Momento/internal/protos/cacheping.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/cacheping.grpc.swift rename to Sources/Momento/internal/protos/cacheping.grpc.swift diff --git a/Sources/momento/internal/protos/cacheping.pb.swift b/Sources/Momento/internal/protos/cacheping.pb.swift similarity index 100% rename from Sources/momento/internal/protos/cacheping.pb.swift rename to Sources/Momento/internal/protos/cacheping.pb.swift diff --git a/Sources/momento/internal/protos/cacheping.proto b/Sources/Momento/internal/protos/cacheping.proto similarity index 100% rename from Sources/momento/internal/protos/cacheping.proto rename to Sources/Momento/internal/protos/cacheping.proto diff --git a/Sources/momento/internal/protos/cachepubsub.grpc.swift b/Sources/Momento/internal/protos/cachepubsub.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/cachepubsub.grpc.swift rename to Sources/Momento/internal/protos/cachepubsub.grpc.swift diff --git a/Sources/momento/internal/protos/cachepubsub.pb.swift b/Sources/Momento/internal/protos/cachepubsub.pb.swift similarity index 100% rename from Sources/momento/internal/protos/cachepubsub.pb.swift rename to Sources/Momento/internal/protos/cachepubsub.pb.swift diff --git a/Sources/momento/internal/protos/cachepubsub.proto b/Sources/Momento/internal/protos/cachepubsub.proto similarity index 100% rename from Sources/momento/internal/protos/cachepubsub.proto rename to Sources/Momento/internal/protos/cachepubsub.proto diff --git a/Sources/momento/internal/protos/controlclient.grpc.swift b/Sources/Momento/internal/protos/controlclient.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/controlclient.grpc.swift rename to Sources/Momento/internal/protos/controlclient.grpc.swift diff --git a/Sources/momento/internal/protos/controlclient.pb.swift b/Sources/Momento/internal/protos/controlclient.pb.swift similarity index 100% rename from Sources/momento/internal/protos/controlclient.pb.swift rename to Sources/Momento/internal/protos/controlclient.pb.swift diff --git a/Sources/momento/internal/protos/controlclient.proto b/Sources/Momento/internal/protos/controlclient.proto similarity index 100% rename from Sources/momento/internal/protos/controlclient.proto rename to Sources/Momento/internal/protos/controlclient.proto diff --git a/Sources/momento/internal/protos/extensions.pb.swift b/Sources/Momento/internal/protos/extensions.pb.swift similarity index 100% rename from Sources/momento/internal/protos/extensions.pb.swift rename to Sources/Momento/internal/protos/extensions.pb.swift diff --git a/Sources/momento/internal/protos/extensions.proto b/Sources/Momento/internal/protos/extensions.proto similarity index 100% rename from Sources/momento/internal/protos/extensions.proto rename to Sources/Momento/internal/protos/extensions.proto diff --git a/Sources/momento/internal/protos/leaderboard.grpc.swift b/Sources/Momento/internal/protos/leaderboard.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/leaderboard.grpc.swift rename to Sources/Momento/internal/protos/leaderboard.grpc.swift diff --git a/Sources/momento/internal/protos/leaderboard.pb.swift b/Sources/Momento/internal/protos/leaderboard.pb.swift similarity index 100% rename from Sources/momento/internal/protos/leaderboard.pb.swift rename to Sources/Momento/internal/protos/leaderboard.pb.swift diff --git a/Sources/momento/internal/protos/leaderboard.proto b/Sources/Momento/internal/protos/leaderboard.proto similarity index 100% rename from Sources/momento/internal/protos/leaderboard.proto rename to Sources/Momento/internal/protos/leaderboard.proto diff --git a/Sources/momento/internal/protos/permissionmessages.pb.swift b/Sources/Momento/internal/protos/permissionmessages.pb.swift similarity index 100% rename from Sources/momento/internal/protos/permissionmessages.pb.swift rename to Sources/Momento/internal/protos/permissionmessages.pb.swift diff --git a/Sources/momento/internal/protos/permissionmessages.proto b/Sources/Momento/internal/protos/permissionmessages.proto similarity index 100% rename from Sources/momento/internal/protos/permissionmessages.proto rename to Sources/Momento/internal/protos/permissionmessages.proto diff --git a/Sources/momento/internal/protos/token.grpc.swift b/Sources/Momento/internal/protos/token.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/token.grpc.swift rename to Sources/Momento/internal/protos/token.grpc.swift diff --git a/Sources/momento/internal/protos/token.pb.swift b/Sources/Momento/internal/protos/token.pb.swift similarity index 100% rename from Sources/momento/internal/protos/token.pb.swift rename to Sources/Momento/internal/protos/token.pb.swift diff --git a/Sources/momento/internal/protos/token.proto b/Sources/Momento/internal/protos/token.proto similarity index 100% rename from Sources/momento/internal/protos/token.proto rename to Sources/Momento/internal/protos/token.proto diff --git a/Sources/momento/internal/protos/vectorindex.grpc.swift b/Sources/Momento/internal/protos/vectorindex.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/vectorindex.grpc.swift rename to Sources/Momento/internal/protos/vectorindex.grpc.swift diff --git a/Sources/momento/internal/protos/vectorindex.pb.swift b/Sources/Momento/internal/protos/vectorindex.pb.swift similarity index 100% rename from Sources/momento/internal/protos/vectorindex.pb.swift rename to Sources/Momento/internal/protos/vectorindex.pb.swift diff --git a/Sources/momento/internal/protos/vectorindex.proto b/Sources/Momento/internal/protos/vectorindex.proto similarity index 100% rename from Sources/momento/internal/protos/vectorindex.proto rename to Sources/Momento/internal/protos/vectorindex.proto diff --git a/Sources/momento/internal/protos/webhook.grpc.swift b/Sources/Momento/internal/protos/webhook.grpc.swift similarity index 100% rename from Sources/momento/internal/protos/webhook.grpc.swift rename to Sources/Momento/internal/protos/webhook.grpc.swift diff --git a/Sources/momento/internal/protos/webhook.pb.swift b/Sources/Momento/internal/protos/webhook.pb.swift similarity index 100% rename from Sources/momento/internal/protos/webhook.pb.swift rename to Sources/Momento/internal/protos/webhook.pb.swift diff --git a/Sources/momento/internal/protos/webhook.proto b/Sources/Momento/internal/protos/webhook.proto similarity index 100% rename from Sources/momento/internal/protos/webhook.proto rename to Sources/Momento/internal/protos/webhook.proto diff --git a/Sources/momento/internal/utils/Interceptors.swift b/Sources/Momento/internal/utils/Interceptors.swift similarity index 100% rename from Sources/momento/internal/utils/Interceptors.swift rename to Sources/Momento/internal/utils/Interceptors.swift diff --git a/Sources/momento/internal/utils/Validators.swift b/Sources/Momento/internal/utils/Validators.swift similarity index 100% rename from Sources/momento/internal/utils/Validators.swift rename to Sources/Momento/internal/utils/Validators.swift diff --git a/Sources/momento/messages/responses/ResponseBase.swift b/Sources/Momento/messages/responses/ResponseBase.swift similarity index 100% rename from Sources/momento/messages/responses/ResponseBase.swift rename to Sources/Momento/messages/responses/ResponseBase.swift diff --git a/Sources/momento/messages/responses/cache/control/CacheCreate.swift b/Sources/Momento/messages/responses/cache/control/CacheCreate.swift similarity index 100% rename from Sources/momento/messages/responses/cache/control/CacheCreate.swift rename to Sources/Momento/messages/responses/cache/control/CacheCreate.swift diff --git a/Sources/momento/messages/responses/cache/control/CacheDelete.swift b/Sources/Momento/messages/responses/cache/control/CacheDelete.swift similarity index 100% rename from Sources/momento/messages/responses/cache/control/CacheDelete.swift rename to Sources/Momento/messages/responses/cache/control/CacheDelete.swift diff --git a/Sources/momento/messages/responses/cache/control/CacheList.swift b/Sources/Momento/messages/responses/cache/control/CacheList.swift similarity index 100% rename from Sources/momento/messages/responses/cache/control/CacheList.swift rename to Sources/Momento/messages/responses/cache/control/CacheList.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListConcatenateBack.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListConcatenateBack.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListConcatenateBack.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListConcatenateBack.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListConcatenateFront.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListConcatenateFront.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListConcatenateFront.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListConcatenateFront.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListFetch.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListFetch.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListFetch.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListFetch.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListLength.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListLength.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListLength.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListLength.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListPopBack.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListPopBack.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListPopBack.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListPopBack.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListPopFront.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListPopFront.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListPopFront.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListPopFront.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListPushBack.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListPushBack.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListPushBack.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListPushBack.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListPushFront.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListPushFront.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListPushFront.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListPushFront.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListRemoveValue.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListRemoveValue.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListRemoveValue.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListRemoveValue.swift diff --git a/Sources/momento/messages/responses/cache/data/list/CacheListRetain.swift b/Sources/Momento/messages/responses/cache/data/list/CacheListRetain.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/list/CacheListRetain.swift rename to Sources/Momento/messages/responses/cache/data/list/CacheListRetain.swift diff --git a/Sources/momento/messages/responses/cache/data/scalar/CacheGet.swift b/Sources/Momento/messages/responses/cache/data/scalar/CacheGet.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/scalar/CacheGet.swift rename to Sources/Momento/messages/responses/cache/data/scalar/CacheGet.swift diff --git a/Sources/momento/messages/responses/cache/data/scalar/CacheSet.swift b/Sources/Momento/messages/responses/cache/data/scalar/CacheSet.swift similarity index 100% rename from Sources/momento/messages/responses/cache/data/scalar/CacheSet.swift rename to Sources/Momento/messages/responses/cache/data/scalar/CacheSet.swift diff --git a/Sources/momento/messages/responses/topics/TopicPublish.swift b/Sources/Momento/messages/responses/topics/TopicPublish.swift similarity index 100% rename from Sources/momento/messages/responses/topics/TopicPublish.swift rename to Sources/Momento/messages/responses/topics/TopicPublish.swift diff --git a/Sources/momento/messages/responses/topics/TopicSubscribe.swift b/Sources/Momento/messages/responses/topics/TopicSubscribe.swift similarity index 100% rename from Sources/momento/messages/responses/topics/TopicSubscribe.swift rename to Sources/Momento/messages/responses/topics/TopicSubscribe.swift diff --git a/Sources/momento/messages/responses/topics/TopicSubscriptionItem.swift b/Sources/Momento/messages/responses/topics/TopicSubscriptionItem.swift similarity index 100% rename from Sources/momento/messages/responses/topics/TopicSubscriptionItem.swift rename to Sources/Momento/messages/responses/topics/TopicSubscriptionItem.swift diff --git a/Sources/momento/utils/CollectionTtl.swift b/Sources/Momento/utils/CollectionTtl.swift similarity index 100% rename from Sources/momento/utils/CollectionTtl.swift rename to Sources/Momento/utils/CollectionTtl.swift diff --git a/Tests/momentoTests/authTests.swift b/Tests/MomentoTests/authTests.swift similarity index 97% rename from Tests/momentoTests/authTests.swift rename to Tests/MomentoTests/authTests.swift index 425cbcf..2b9dd41 100644 --- a/Tests/momentoTests/authTests.swift +++ b/Tests/MomentoTests/authTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import momento +@testable import Momento // All of the below are fake mock data and are unusable to access Momento services let testLegacyToken = "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyQHRlc3QuY29tIiwiY3AiOiJjb250cm9sLnRlc3QuY29tIiwiYyI6ImNhY2hlLnRlc3QuY29tIn0.c0Z8Ipetl6raCNHSHs7Mpq3qtWkFy4aLvGhIFR4CoR0OnBdGbdjN-4E58bAabrSGhRA8-B2PHzgDd4JF4clAzg" @@ -39,7 +39,7 @@ final class authTests: XCTestCase { testV1Token.startIndex...testV1Token.index(testV1Token.startIndex, offsetBy: testV1Token.count - 2) ]) do { - let credentialProvider = try CredentialProvider.fromString(apiKey: truncatedV1Token) + let _ = try CredentialProvider.fromString(apiKey: truncatedV1Token) } catch CredentialProviderError.badToken { XCTAssertTrue(true) return diff --git a/Tests/momentoTests/cacheTests.swift b/Tests/MomentoTests/cacheTests.swift similarity index 99% rename from Tests/momentoTests/cacheTests.swift rename to Tests/MomentoTests/cacheTests.swift index 80e5b56..fc6325a 100644 --- a/Tests/momentoTests/cacheTests.swift +++ b/Tests/MomentoTests/cacheTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import momento +@testable import Momento final class cacheTests: XCTestCase { private var integrationTestCacheName: String! diff --git a/Tests/momentoTests/configTests.swift b/Tests/MomentoTests/configTests.swift similarity index 98% rename from Tests/momentoTests/configTests.swift rename to Tests/MomentoTests/configTests.swift index e801ca3..65b3642 100644 --- a/Tests/momentoTests/configTests.swift +++ b/Tests/MomentoTests/configTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import momento +@testable import Momento final class configTests: XCTestCase { private var integrationTestCacheName: String! diff --git a/Tests/momentoTests/listTests.swift b/Tests/MomentoTests/listTests.swift similarity index 99% rename from Tests/momentoTests/listTests.swift rename to Tests/MomentoTests/listTests.swift index e7c90e1..a05f922 100644 --- a/Tests/momentoTests/listTests.swift +++ b/Tests/MomentoTests/listTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import momento +@testable import Momento final class listTests: XCTestCase { private var integrationTestCacheName: String! diff --git a/Tests/momentoTests/testUtils.swift b/Tests/MomentoTests/testUtils.swift similarity index 98% rename from Tests/momentoTests/testUtils.swift rename to Tests/MomentoTests/testUtils.swift index 04c5571..009ce0e 100644 --- a/Tests/momentoTests/testUtils.swift +++ b/Tests/MomentoTests/testUtils.swift @@ -1,5 +1,5 @@ import Foundation -@testable import momento +@testable import Momento let apiKeyEnvVarName = "TEST_API_KEY" diff --git a/Tests/momentoTests/topicsTests.swift b/Tests/MomentoTests/topicsTests.swift similarity index 99% rename from Tests/momentoTests/topicsTests.swift rename to Tests/MomentoTests/topicsTests.swift index 1c80888..fbb7509 100644 --- a/Tests/momentoTests/topicsTests.swift +++ b/Tests/MomentoTests/topicsTests.swift @@ -1,5 +1,5 @@ import XCTest -@testable import momento +@testable import Momento final class topicsTests: XCTestCase { private var integrationTestCacheName: String!