-
Notifications
You must be signed in to change notification settings - Fork 15
/
YapDatabaseExtensions.podspec
48 lines (40 loc) · 1.53 KB
/
YapDatabaseExtensions.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Pod::Spec.new do |s|
s.name = "YapDatabaseExtensions"
s.version = "2.6.0"
s.summary = "Helpers for using value types with YapDatabase."
s.description = <<-DESC
Defines APIs to conveniently read, write and remove objects and values
to or from YapDatabse. See ValueCoding for value type support.
DESC
s.homepage = "https://github.com/danthorpe/YapDatabaseExtensions"
s.license = 'MIT'
s.author = { "Daniel Thorpe" => "@danthorpe" }
s.source = { :git => "https://github.com/danthorpe/YapDatabaseExtensions.git", :tag => s.version.to_s }
s.module_name = 'YapDatabaseExtensions'
s.social_media_url = 'https://twitter.com/danthorpe'
s.requires_arc = true
s.default_subspec = 'Persitable'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.dependency 'ValueCoding', '~> 1.5'
s.dependency 'YapDatabase', '2.9.2'
# Ensure the correct version of Swift is used
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '2.3' }
s.subspec 'Core' do |ss|
ss.source_files = [
'Sources/YapDatabaseExtensions.swift',
'Sources/YapDB.swift'
]
end
s.subspec 'Functional' do |ss|
ss.dependency 'YapDatabaseExtensions/Core'
ss.source_files = 'Sources/Functional_*.swift'
end
s.subspec 'Persitable' do |ss|
ss.dependency 'YapDatabaseExtensions/Functional'
ss.source_files = [
'Sources/Read.swift',
'Sources/Persistable_*.swift'
]
end
end