Pod::Spec.new do |s|
  s.name             = 'MendeleySDK'
  s.version          = '2.0'
  s.summary          = 'Objective-C client for the Mendeley Open API.'
  s.homepage         = 'https://github.com/shazino/MendeleySDK'
  s.license          = 'MIT'
  s.author           = { 'shazino' => 'contact@shazino.com' }
  s.social_media_url = 'https://twitter.com/shazino'
  s.source           = { :git => "https://github.com/shazino/MendeleySDK.git", :tag => '2.0' }

  s.source_files = 'MendeleySDK'
  s.requires_arc = true

  s.ios.deployment_target = '5.0'
  s.ios.frameworks        = 'Security'

  s.osx.deployment_target = '10.7'

  s.dependency 'AFOAuth2Client', '~> 0.1.2'

  s.prefix_header_contents = <<-EOS
  #import <Availability.h>

  #if __IPHONE_OS_VERSION_MIN_REQUIRED
    #import <SystemConfiguration/SystemConfiguration.h>
    #import <MobileCoreServices/MobileCoreServices.h>
    #import <Security/Security.h>
  #else
    #import <SystemConfiguration/SystemConfiguration.h>
    #import <CoreServices/CoreServices.h>
    #import <Security/Security.h>
  #endif
EOS

end

Pod::Spec.new do |s|
  s.name             = 'MendeleySDK'
  s.version          = '2.0'
  s.summary          = 'Objective-C client for the Mendeley API.'
  s.homepage         = 'https://github.com/shazino/MendeleySDK'
  s.license          = 'MIT'
  s.author           = { 'shazino' => 'contact@shazino.com' }
  s.social_media_url = 'https://twitter.com/shazino'
  s.source           = { :git => "https://github.com/shazino/MendeleySDK.git", :tag => '2.0' }

  s.source_files = 'MendeleySDK'
  s.requires_arc = true

  s.ios.deployment_target = '5.0'
  s.ios.frameworks        = 'Security'

  s.osx.deployment_target = '10.7'

  s.dependency 'AFOAuth2Client', '~> 0.1.2'

  s.prefix_header_contents = <<-EOS
  #import <Availability.h>

  #if __IPHONE_OS_VERSION_MIN_REQUIRED
    #import <SystemConfiguration/SystemConfiguration.h>
    #import <MobileCoreServices/MobileCoreServices.h>
    #import <Security/Security.h>
  #else
    #import <SystemConfiguration/SystemConfiguration.h>
    #import <CoreServices/CoreServices.h>
    #import <Security/Security.h>
  #endif
EOS

end

Update pod description (drop deprecated “Open” API)
Update pod description (drop deprecated “Open” API)
