<commit_before>Pod::Spec.new do |s|
  s.name              = "Operations"
  s.version           = "2.4.0"
  s.summary           = "Powerful NSOperation subclasses in Swift."
  s.description       = <<-DESC
  
A Swift framework inspired by Apple's WWDC 2015
session Advanced NSOperations: https://developer.apple.com/videos/wwdc/2015/?id=226

                       DESC
  s.homepage          = "https://github.com/danthorpe/Operations"
  s.license           = 'MIT'
  s.author            = { "<NAME>" => "@danthorpe" }
  s.source            = { :git => "https://github.com/danthorpe/Operations.git", :tag => s.version.to_s }
  s.module_name       = 'Operations'
  s.documentation_url = 'http://docs.danthorpe.me/operations/2.4.0/index.html'
  s.social_media_url  = 'https://twitter.com/danthorpe'
  s.requires_arc      = true
  s.default_subspec   = 'App'
  s.ios.deployment_target = "8.0"
  s.osx.deployment_target = "10.10"

  # Creates a framework suitable for an iOS or Mac OS application
  s.subspec 'App' do |ss|
    ss.source_files      = [
      'Operations/Core/Shared', 
      'Operations/Core/iOS',       
      'Operations/Features/Shared',
      'Operations/Features/iOS'      
    ]
    ss.osx.exclude_files = [
      'Operations/Core/iOS',
      'Operations/Features/iOS'
    ]
  end

  s.subspec '+AddressBook' do |ss|
    ss.dependency 'Operations/App'
    ss.source_files = [
      'Operations/Extras/AddressBook/iOS',
      'Operations/Extras/Contacts/Shared',
      'Operations/Extras/Contacts/iOS'
    ]
    ss.osx.exclude_files = [
      'Operations/Extras/AddressBook/iOS',
      'Operations/Extras/Contacts/iOS'
    ]
  end

  # Creates a framework suitable for an (iOS or watchOS) Extension
  s.subspec 'Extension' do |ss|
    ss.source_files = [
      'Operations/Core/Shared', 
      'Operations/Core/iOS',       
      'Operations/Features/Shared',
      'Operations/Features/iOS'      
    ]  
    ss.osx.exclude_files = [
      'Operations/Core/iOS',
      'Operations/Features/iOS'
    ]      
    ss.exclude_files = [
      'Operations/Core/iOS/BackgroundObserver.swift',
      'Operations/Core/iOS/NetworkObserver.swift',
      'Operations/Features/iOS/RemoteNotificationCondition.swift',
      'Operations/Features/iOS/UserNotificationCondition.swift',
      'Operations/Features/iOS/LocationCapability.swift',      
      'Operations/Features/iOS/CalendarCapability.swift',            
      'Operations/Features/iOS/HealthCapability.swift',
      'Operations/Features/iOS/ReachabilityCondition.swift',
      'Operations/Features/iOS/LocationOperations.swift',
      'Operations/Features/iOS/WebpageOperation.swift',
    ]
  end

  # Creates a framework suitable for an iOS watchOS 2 app

  s.subspec 'watchOS' do |ss|
    ss.platform = :watchos
    ss.source_files = [
      'Operations/Core/Shared',
      'Operations/Core/iOS',
      'Operations/Features/Shared',
      'Operations/Features/iOS'
    ]
    ss.exclude_files = [
      'Operations/Core/iOS/BackgroundObserver.swift',
      'Operations/Core/iOS/NetworkObserver.swift',
      'Operations/Core/iOS/AlertOperation.swift',
      'Operations/Core/iOS/UIOperation.swift',
      'Operations/Features/Shared/CloudCapability.swift',
      'Operations/Features/iOS/PhotosCapability.swift',
      'Operations/Features/iOS/RemoteNotificationCondition.swift',
      'Operations/Features/iOS/UserConfirmationCondition.swift',
      'Operations/Features/iOS/UserNotificationCondition.swift',
      'Operations/Features/iOS/LocationCapability.swift',
      'Operations/Features/Shared/ReachabilityCondition.swift',
      'Operations/Features/Shared/CloudKitOperation.swift',
      'Operations/Features/iOS/LocationOperations.swift',
      'Operations/Features/Shared/ReachableOperation.swift',
      'Operations/Features/iOS/WebpageOperation.swift',
      'Operations/Features/Shared/Reachability.swift',
    ]
  end
  
#  Creates a framework suitable for a tvOS app

  s.subspec 'tvOS' do |ss|
    ss.platform = :tvos
    ss.source_files = [
      'Operations/Core/Shared',
      'Operations/Core/iOS',
      'Operations/Features/Shared',
      'Operations/Features/iOS'
    ]
    ss.exclude_files = [
      'Operations/Features/Shared/CalendarCapability.swift',
      'Operations/Features/Shared/CloudCapability.swift',      
      'Operations/Features/iOS/PassbookCapability.swift',
      'Operations/Features/iOS/PhotosCapability.swift',
      'Operations/Features/iOS/RemoteNotificationCondition.swift',
      'Operations/Features/iOS/UserNotificationCondition.swift',
      'Operations/Features/iOS/HealthCapability.swift',
      'Operations/Features/iOS/LocationCapability.swift',
      'Operations/Features/iOS/LocationOperations.swift',
      'Operations/Features/iOS/WebpageOperation.swift',
    ]
  end

end
<commit_msg>[OPR-112]: Reorganizes podspec for readability.<commit_after>Pod::Spec.new do |s|
  s.name              = "Operations"
  s.version           = "2.4.0"
  s.summary           = "Powerful NSOperation subclasses in Swift."
  s.description       = <<-DESC
  
A Swift framework inspired by Apple's WWDC 2015
session Advanced NSOperations: https://developer.apple.com/videos/wwdc/2015/?id=226

                       DESC
  s.homepage          = "https://github.com/danthorpe/Operations"
  s.license           = 'MIT'
  s.author            = { "<NAME>" => "@danthorpe" }
  s.source            = { :git => "https://github.com/danthorpe/Operations.git", :tag => s.version.to_s }
  s.module_name       = 'Operations'
  s.documentation_url = 'http://docs.danthorpe.me/operations/2.4.0/index.html'
  s.social_media_url  = 'https://twitter.com/danthorpe'
  s.requires_arc      = true
  s.default_subspec   = 'App'
  s.ios.deployment_target = "8.0"
  s.osx.deployment_target = "10.10"

  # Creates a framework suitable for an iOS or Mac OS application
  s.subspec 'App' do |ss|
    ss.source_files      = [
      'Operations/Core/Shared', 
      'Operations/Core/iOS',       
      'Operations/Features/Shared',
      'Operations/Features/iOS'      
    ]
    ss.osx.exclude_files = [
      'Operations/Core/iOS',
      'Operations/Features/iOS'
    ]
  end

  s.subspec '+AddressBook' do |ss|
    ss.dependency 'Operations/App'
    ss.source_files = [
      'Operations/Extras/AddressBook/iOS',
      'Operations/Extras/Contacts/Shared',
      'Operations/Extras/Contacts/iOS'
    ]
    ss.osx.exclude_files = [
      'Operations/Extras/AddressBook/iOS',
      'Operations/Extras/Contacts/iOS'
    ]
  end

  # Creates a framework suitable for an (iOS or watchOS) Extension
  s.subspec 'Extension' do |ss|
    ss.source_files = [
      'Operations/Core/Shared', 
      'Operations/Core/iOS',       
      'Operations/Features/Shared',
      'Operations/Features/iOS'      
    ]  
    ss.osx.exclude_files = [
      'Operations/Core/iOS',
      'Operations/Features/iOS'
    ]      
    ss.exclude_files = [
      'Operations/Core/iOS/BackgroundObserver.swift',
      'Operations/Core/iOS/NetworkObserver.swift',
      'Operations/Features/iOS/RemoteNotificationCondition.swift',
      'Operations/Features/iOS/UserNotificationCondition.swift',
      'Operations/Features/iOS/LocationCapability.swift',      
      'Operations/Features/iOS/CalendarCapability.swift',            
      'Operations/Features/iOS/HealthCapability.swift',
      'Operations/Features/iOS/ReachabilityCondition.swift',
      'Operations/Features/iOS/LocationOperations.swift',
      'Operations/Features/iOS/WebpageOperation.swift',
    ]
  end

  # Creates a framework suitable for an iOS watchOS 2 app

  s.subspec 'watchOS' do |ss|
    ss.platform = :watchos
    ss.source_files = [
      'Operations/Core/Shared',
      'Operations/Core/iOS',
      'Operations/Features/Shared',
      'Operations/Features/iOS'
    ]
    ss.exclude_files = [
      'Operations/Core/iOS/BackgroundObserver.swift',
      'Operations/Core/iOS/NetworkObserver.swift',
      'Operations/Core/iOS/AlertOperation.swift',
      'Operations/Core/iOS/UIOperation.swift',
      'Operations/Features/iOS/LocationCapability.swift',
      'Operations/Features/iOS/LocationOperations.swift',
      'Operations/Features/iOS/PhotosCapability.swift',
      'Operations/Features/iOS/RemoteNotificationCondition.swift',
      'Operations/Features/iOS/UserConfirmationCondition.swift',
      'Operations/Features/iOS/UserNotificationCondition.swift',
      'Operations/Features/iOS/WebpageOperation.swift',
      'Operations/Features/Shared/CloudCapability.swift',
      'Operations/Features/Shared/ReachabilityCondition.swift',
      'Operations/Features/Shared/CloudKitOperation.swift',
      'Operations/Features/Shared/ReachableOperation.swift',
      'Operations/Features/Shared/Reachability.swift',
    ]
  end
  
#  Creates a framework suitable for a tvOS app

  s.subspec 'tvOS' do |ss|
    ss.platform = :tvos
    ss.source_files = [
      'Operations/Core/Shared',
      'Operations/Core/iOS',
      'Operations/Features/Shared',
      'Operations/Features/iOS'
    ]
    ss.exclude_files = [
      'Operations/Features/iOS/HealthCapability.swift',
      'Operations/Features/iOS/LocationCapability.swift',
      'Operations/Features/iOS/LocationOperations.swift',      
      'Operations/Features/iOS/PassbookCapability.swift',
      'Operations/Features/iOS/PhotosCapability.swift',
      'Operations/Features/iOS/RemoteNotificationCondition.swift',
      'Operations/Features/iOS/UserNotificationCondition.swift',
      'Operations/Features/iOS/WebpageOperation.swift',
      'Operations/Features/Shared/CalendarCapability.swift',
      'Operations/Features/Shared/CloudCapability.swift',      
    ]
  end

end

{'fraction_non_alphanumeric': 0.12440537745604964, 'fraction_numerical': 0.005274043433298862, 'mean_word_length': 2.824041122973507, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 8, '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': '4074042', 'n_tokens_mistral': 3117, 'n_tokens_neox': 3011, 'n_words': 398}