mirror of
https://github.com/drewmccormack/ensembles.git
synced 2026-02-27 18:24:06 +01:00
57 lines
1.8 KiB
Ruby
57 lines
1.8 KiB
Ruby
Pod::Spec.new do |s|
|
|
|
|
s.name = "Ensembles"
|
|
s.version = "1.1.1"
|
|
s.summary = "A peer-to-peer synchronization framework for Core Data."
|
|
|
|
s.description = <<-DESC
|
|
Ensembles extends Apple's Core Data framework to add
|
|
peer-to-peer synchronization for Mac OS and iOS.
|
|
Multiple SQLite persistent stores can be coupled together
|
|
via a file synchronization platform like iCloud or Dropbox.
|
|
The framework can be readily extended to support any
|
|
service capable of moving files between devices, including
|
|
custom servers.
|
|
DESC
|
|
|
|
s.homepage = "https://github.com/drewmccormack/ensembles"
|
|
s.license = {
|
|
:type => 'MIT',
|
|
:file => 'LICENCE.txt'
|
|
}
|
|
s.author = { "Drew McCormack" => "drewmccormack@mac.com" }
|
|
|
|
s.ios.deployment_target = '6.0'
|
|
s.osx.deployment_target = '10.7'
|
|
|
|
s.source = {
|
|
:git => 'https://github.com/drewmccormack/ensembles.git',
|
|
:tag => s.version.to_s,
|
|
:submodules => true
|
|
}
|
|
|
|
s.requires_arc = true
|
|
|
|
s.default_subspec = 'Core'
|
|
|
|
s.subspec 'Core' do |ss|
|
|
ss.source_files = 'Framework/**/*.{h,m}'
|
|
ss.exclude_files = 'Framework/Tests', 'Framework/Extensions/**/*.{h,m}'
|
|
ss.resources = 'Framework/Resources/*'
|
|
ss.frameworks = 'CoreData'
|
|
end
|
|
|
|
s.subspec 'Dropbox' do |ss|
|
|
ss.dependency 'Ensembles/Core'
|
|
ss.ios.dependency 'Dropbox-iOS-SDK'
|
|
ss.osx.dependency 'Dropbox-OSX-SDK'
|
|
ss.source_files = 'Framework/Extensions/CDEDropboxCloudFileSystem.{h,m}', 'Vendor/DropboxSDK/DropboxSDK/Classes/**/*.h'
|
|
end
|
|
|
|
s.subspec 'Node' do |ss|
|
|
ss.dependency 'Ensembles/Core'
|
|
ss.source_files = 'Framework/Extensions/CDENodeCloudFileSystem.{h,m}'
|
|
end
|
|
|
|
end
|