From eb2db413ff87c5e5386aa9bfb687c58b477cb91f Mon Sep 17 00:00:00 2001 From: Ben Deming <1142036+bendeming@users.noreply.github.com> Date: Tue, 15 Oct 2019 21:10:07 -0700 Subject: [PATCH] Remove remaining remnants of Fabric * References to files deleted in this PR were removed in #1378 * Remove Fabric reference in fauxpas config * Built custom, standard integrations * Ran StripeiOS target tests * Built static target and static framework --- FauxPasConfig/main.fauxpas.json | 2 +- Stripe/FABKitProtocol.h | 46 --------------------------------- Stripe/Fabric+FABKits.h | 25 ------------------ 3 files changed, 1 insertion(+), 72 deletions(-) delete mode 100644 Stripe/FABKitProtocol.h delete mode 100644 Stripe/Fabric+FABKits.h diff --git a/FauxPasConfig/main.fauxpas.json b/FauxPasConfig/main.fauxpas.json index 2b649fe669b..befeec26f00 100644 --- a/FauxPasConfig/main.fauxpas.json +++ b/FauxPasConfig/main.fauxpas.json @@ -788,7 +788,7 @@ "UnprefixedClass": { // Regexes for ignored file paths (Array of regular expression // strings) - "ignoredFileRegexes": ["Fabric.h"] + //"ignoredFileRegexes": null }, // Options for rule: Unprefixed category method "UnprefixedCategoryMethod": { diff --git a/Stripe/FABKitProtocol.h b/Stripe/FABKitProtocol.h deleted file mode 100644 index 53e0656de04..00000000000 --- a/Stripe/FABKitProtocol.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// FABKitProtocol.h -// -// Copyright (c) 2015 Twitter. All rights reserved. -// - -#import - -/** - * Protocol that a class in a Fabric Kit must conform to to provide information to Fabric at runtime. - */ -@protocol FABKit - -@required - -/** - * Required. The globally unique identifier of the Kit. - * We encourage the use of reverse-DNS notation. - * Example: @"io.fabric.sdk.ios" - */ -+ (NSString *)bundleIdentifier; - -/** - * Required. Must return the current version of the Kit that is being used at runtime. - * We encourage the use of semantic versioning (http://semver.org/), without prefixing the version with a "v". - * This is commonly referred to as the "marketing version". - * Example: @"1.2.3" - */ -+ (NSString *)kitDisplayVersion; - -@optional - -/** - * The build version of the kit. Should be monotonically increasing and unique. - * Example: 137 - */ -+ (NSString *)kitBuildVersion; - -/** - * Perform any necessary initialization. - * This method will be invoked on the Kit when the user calls +[Fabric initializeKits]. - * @note This method being called does not necessarily imply that the developer has started using the Kit yet. - */ -+ (void)initializeIfNeeded; - -@end diff --git a/Stripe/Fabric+FABKits.h b/Stripe/Fabric+FABKits.h deleted file mode 100644 index 927e4da1758..00000000000 --- a/Stripe/Fabric+FABKits.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// Fabric+FABKits.h -// -// Copyright (c) 2015 Twitter. All rights reserved. -// - -#import "Fabric.h" - -@protocol FABKit; -// Use this category for methods that kits can call on Fabric. -@interface Fabric (FABKits) - -/** - * Returns a dictionary containing the kit configuration info for the provided kit. - * The configuration information is parsed from the application's Info.plist. This - * method is primarily intended to be used by kits to retrieve their configuration. - * - * @param kitClass The class of the kit whose configuration should be returned. - * It should conform to the FABKit protocol. - * - * @return A dictionary containing kit specific configuration information or nil if none exists. - */ -+ (nonnull NSDictionary *)configurationDictionaryForKitClass:(nonnull Class)kitClass; - -@end