<commit_before>Pod::Spec.new do |s|
    s.name = 'AlgoliaSearch-Client-Swift'
    s.module_name = 'AlgoliaSearch'
    s.version = '3.2'
    s.license = 'MIT'
    s.summary = 'Algolia Search API Client for iOS & OS X written in Swift.'
    s.homepage = 'https://github.com/algolia/algoliasearch-client-swift'
    s.author   = { 'Algolia' => '<EMAIL>' }
    s.source = { :git => 'https://github.com/algolia/algoliasearch-client-swift.git', :tag => s.version }

    s.ios.deployment_target = '7.0'
    s.osx.deployment_target = '10.10'

    # By default, do not require the offline Core.
    s.default_subspec = 'Online'

    # Online-only API client.
    s.subspec 'Online' do |online|
        # No additional dependency.
        # WARNING: Cocoapods complains when a subspec is empty, so we must define something additional here to keep
        # it satisfied.
        online.source_files = [
            'Source/*.swift',
            'Source/Helpers/*.swift',
        ]
    end

    # Offline-enabled API client.
    # NOTE: Disabled until release.
    s.subspec 'Offline' do |offline|
        offline.dependency 'AlgoliaSearchOfflineCore-iOS', '0.1'
        # Activate Core-dependent code.
        # WARNING: Specifying the preprocessor macro is not enough; it must be added to Swift flags as well.
        offline.pod_target_xcconfig = {
            'GCC_PREPROCESSOR_DEFINITIONS' => 'ALGOLIA_SDK=1',
            'OTHER_SWIFT_FLAGS' => '-DALGOLIA_SDK'
        }
        offline.source_files = 'Source/Offline/*.swift'
    end
end<commit_msg>Fix podspec<commit_after>Pod::Spec.new do |s|
    s.name = 'AlgoliaSearch-Client-Swift'
    s.module_name = 'AlgoliaSearch'
    s.version = '3.2'
    s.license = 'MIT'
    s.summary = 'Algolia Search API Client for iOS & OS X written in Swift.'
    s.homepage = 'https://github.com/algolia/algoliasearch-client-swift'
    s.author   = { 'Algolia' => '<EMAIL>' }
    s.source = { :git => 'https://github.com/algolia/algoliasearch-client-swift.git', :tag => s.version }

    s.ios.deployment_target = '8.0'

    # By default, do not require the offline Core.
    s.default_subspec = 'Online'

    # Online-only API client.
    s.subspec 'Online' do |online|
        online.ios.deployment_target = '8.0'
        online.osx.deployment_target = '10.10'
        # No additional dependency.
        # WARNING: Cocoapods complains when a subspec is empty, so we must define something additional here to keep
        # it satisfied.
        online.source_files = [
            'Source/*.swift',
            'Source/Helpers/*.swift',
        ]
    end

    # Offline-enabled API client.
    # NOTE: Disabled until release.
    s.subspec 'Offline' do |offline|
        offline.dependency 'AlgoliaSearchOfflineCore-iOS', '0.1'
        # Activate Core-dependent code.
        # WARNING: Specifying the preprocessor macro is not enough; it must be added to Swift flags as well.
        offline.pod_target_xcconfig = {
            'GCC_PREPROCESSOR_DEFINITIONS' => 'ALGOLIA_SDK=1',
            'OTHER_SWIFT_FLAGS' => '-DALGOLIA_SDK'
        }
        offline.source_files = [
            'Source/*.swift',
            'Source/Helpers/*.swift',
            'Source/Offline/*.swift'
        ]
    end
end
{'fraction_non_alphanumeric': 0.12043343653250774, 'fraction_numerical': 0.007430340557275541, 'mean_word_length': 2.3832460732984293, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6699217', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1053, 'n_words': 250}