forked from orlandos-nl/MongoKitten
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MongoKitten.podspec
45 lines (37 loc) · 1.49 KB
/
MongoKitten.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
Pod::Spec.new do |s|
s.ios.deployment_target = '11.0'
s.name = 'MongoKitten'
s.version = '5.1.3'
s.summary = 'A pure swift, native MongoDB driver'
s.description = <<-DESC
High and low level APIs for interacting with MongoDB databases. Supports codable, transactions and all async.
DESC
s.swift_version = '4.2'
s.homepage = 'https://github.com/OpenKitten/MongoKitten'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { 'joannis' => '[email protected]' }
s.source = { :git => 'https://github.com/OpenKitten/MongoKitten.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/joannisorlandos'
s.dependency 'BSON', '>= 6.0.2'
s.default_subspecs = 'Core', 'GridFS', 'Mobile'
s.subspec '_MongoKittenCrypto' do |sub|
sub.source_files = 'Sources/_MongoKittenCrypto/**/*'
end
s.subspec 'GridFS' do |sub|
sub.source_files = 'Sources/GridFS/**/*'
sub.dependency 'MongoKitten/Core'
end
s.subspec 'Networking' do |sub|
sub.ios.deployment_target = '12.0'
sub.dependency 'SwiftNIOTransportServices', '>= 0.5'
sub.dependency 'MongoKitten/Core'
end
s.subspec 'Mobile' do |sub|
sub.dependency 'mongo_embedded', '>= 4.0.4'
sub.dependency 'MongoKitten/Core'
end
s.subspec 'Core' do |sub|
sub.source_files = 'Sources/MongoKitten/**/*'
sub.dependency 'MongoKitten/_MongoKittenCrypto'
end
end