yourkarma/JWT

View on GitHub
JWT.podspec

Summary

Maintainability
Test Coverage
class VersionFile
  class << self
    def version
      File.new(self.filepath).gets.rstrip
    end
    def filepath
      './VERSION'
    end
  end
end

Pod::Spec.new do |s|
  s.name         = 'JWT'
  s.version      = "#{VersionFile.version}"
  s.summary      = 'A JSON Web Token implementation in Objective-C.'
  s.homepage     = "https://github.com/yourkarma/#{s.name}"
  s.license      = { :type => 'MIT', :file => 'LICENSE' }
  s.author       = { 'Klaas Pieter Annema' => 'klaaspieter@annema.me' }
  s.source       = { :git => "https://github.com/yourkarma/#{s.name}.git", :tag => s.version.to_s }


  s.ios.deployment_target = '6.0'
  s.osx.deployment_target = '10.8'
  s.tvos.deployment_target = '9.0'
  s.watchos.deployment_target = '7.4'
  s.source_files = 'Sources/**/*.{h,m}'
  s.private_header_files = 'Sources/**/*Subclass.{hm}'
  s.module_name = s.name
  s.requires_arc = true
  s.framework    = 'Security'
  s.dependency 'Base64', '~> 1.1.2'
end