-
Notifications
You must be signed in to change notification settings - Fork 104
/
JWT.podspec
32 lines (29 loc) · 961 Bytes
/
JWT.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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' => '[email protected]' }
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