<commit_before>Pod::Spec.new do |s|
  s.name = 'Countly'
  s.version = '20.04'
  s.license = { :type => 'MIT', :file => 'LICENSE.md' }
  s.summary  = 'Countly is an innovative, real-time, open source mobile analytics platform.'
  s.homepage = 'https://github.com/Countly/countly-sdk-ios'
  s.social_media_url = 'https://twitter.com/gocountly'
  s.author = {'Countly' => '<EMAIL>'}
  s.source = { :git => 'https://github.com/Countly/countly-sdk-ios.git', :tag => s.version.to_s }
  s.source_files = '*.{h,m}'
  s.public_header_files = 'Countly.h', 'CountlyUserDetails.h', 'CountlyConfig.h'
  s.preserve_path = 'countly_dsym_uploader.sh'
  s.requires_arc = true
  s.default_subspecs = :none
  s.ios.deployment_target = '8.0'
  s.osx.deployment_target = '10.10'
  s.watchos.deployment_target = '2.0'
  s.tvos.deployment_target = '9.0'

  s.subspec 'NotificationService' do |ns|
    ns.source_files = 'CountlyNotificationService.{m,h}'
  end

end
<commit_msg>Refactored podspec for core subspec approach<commit_after>Pod::Spec.new do |s|
  s.name = 'Countly'
  s.version = '20.04'
  s.license = { :type => 'MIT', :file => 'LICENSE.md' }
  s.summary  = 'Countly is an innovative, real-time, open source mobile analytics platform.'
  s.homepage = 'https://github.com/Countly/countly-sdk-ios'
  s.social_media_url = 'https://twitter.com/gocountly'
  s.author = {'Countly' => '<EMAIL>'}
  s.source = { :git => 'https://github.com/Countly/countly-sdk-ios.git', :tag => s.version.to_s }

  s.requires_arc = true
  s.default_subspecs = 'Core'
  s.ios.deployment_target = '8.0'
  s.osx.deployment_target = '10.10'
  s.watchos.deployment_target = '2.0'
  s.tvos.deployment_target = '9.0'

  s.subspec 'Core' do |core|
    core.source_files = '*.{h,m}'
    core.public_header_files = 'Countly.h', 'CountlyUserDetails.h', 'CountlyConfig.h'
    core.preserve_path = 'countly_dsym_uploader.sh'
  end

  s.subspec 'NotificationService' do |ns|
    ns.source_files = 'CountlyNotificationService.{m,h}'
  end

end

{'fraction_non_alphanumeric': 0.17051153460381144, 'fraction_numerical': 0.014042126379137413, 'mean_word_length': 3.842233009708738, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 6, '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': '5473564', 'n_tokens_mistral': 803, 'n_tokens_neox': 786, 'n_words': 136}