Pod::Spec.new do |s|
  s.name         = 'POSRx'
  s.version      = '0.14.4'
  s.license      = 'MIT'
  s.summary      = 'Utilities around ReactiveCocoa.'
  s.homepage     = 'https://github.com/pavelosipov/POSRx'
  s.authors      = { 'Pavel Osipov' => 'posipov84@gmail.com' }
  s.source       = { :git => 'https://github.com/pavelosipov/POSRx.git', :tag => '0.14.4' }
  s.requires_arc = true
  s.ios.deployment_target = '7.0'
  s.osx.deployment_target = '10.8'

  s.subspec 'Utils' do |su|
    su.source_files = 'POSRx/Utils/**/*.{h,m}'
  end

  s.subspec 'Scheduling' do |ss|
    ss.source_files = 'POSRx/Scheduling/**/*.{h,m}'
    ss.dependency 'POSRx/Utils'
    ss.dependency 'Aspects'
    ss.dependency 'ReactiveCocoa', '< 3.0'
  end

  s.subspec 'Networking' do |sn|
    sn.source_files = ['POSRx/Networking/**/*.{h,m}', 'POSRx/POSRx.h']
    sn.dependency 'POSRx/Scheduling'
  end

end

Pod::Spec.new do |s|
  s.name         = 'POSRx'
  s.version      = '0.14.5'
  s.license      = 'MIT'
  s.summary      = 'Utilities around ReactiveCocoa.'
  s.homepage     = 'https://github.com/pavelosipov/POSRx'
  s.authors      = { 'Pavel Osipov' => 'posipov84@gmail.com' }
  s.source       = { :git => 'https://github.com/pavelosipov/POSRx.git', :tag => '0.14.5' }
  s.requires_arc = true
  s.ios.deployment_target = '7.0'
  s.osx.deployment_target = '10.8'

  s.subspec 'Utils' do |su|
    su.source_files = 'POSRx/Utils/**/*.{h,m}'
  end

  s.subspec 'Scheduling' do |ss|
    ss.source_files = 'POSRx/Scheduling/**/*.{h,m}'
    ss.dependency 'POSRx/Utils'
    ss.dependency 'Aspects'
    ss.dependency 'ReactiveCocoa', '< 3.0'
  end

  s.subspec 'Networking' do |sn|
    sn.source_files = ['POSRx/Networking/**/*.{h,m}', 'POSRx/POSRx.h']
    sn.dependency 'POSRx/Scheduling'
  end

end

Add POS_ENABLE_RUNTIME_CHECKS macros for turning on/off runtime checks.
Add POS_ENABLE_RUNTIME_CHECKS macros for turning on/off runtime checks.
