|
|
@@ -1,12 +1,12 @@
|
|
|
Pod::Spec.new do |s|
|
|
|
s.name = 'FMDB'
|
|
|
- s.version = '2.3'
|
|
|
+ s.version = '2.4'
|
|
|
s.summary = 'A Cocoa / Objective-C wrapper around SQLite.'
|
|
|
s.homepage = 'https://github.com/ccgus/fmdb'
|
|
|
s.license = 'MIT'
|
|
|
s.author = { 'August Mueller' => 'gus@flyingmeat.com' }
|
|
|
- s.source = { :git => 'https://github.com/ccgus/fmdb.git',
|
|
|
- :tag => 'v2.3' }
|
|
|
+ s.source = { :git => 'https://github.com/ccgus/fmdb.git', :tag => s.version.to_s }
|
|
|
+ s.requires_arc = true
|
|
|
|
|
|
s.default_subspec = 'standard'
|
|
|
|
|
|
@@ -21,12 +21,19 @@ Pod::Spec.new do |s|
|
|
|
ss.dependency 'FMDB/common'
|
|
|
end
|
|
|
|
|
|
- # use a custom built version of sqlite3, with FTS4 enabled
|
|
|
+ # use a custom built version of sqlite3
|
|
|
s.subspec 'standalone' do |ss|
|
|
|
- ss.dependency 'sqlite3/fts'
|
|
|
+ ss.dependency 'sqlite3'
|
|
|
ss.dependency 'FMDB/common'
|
|
|
end
|
|
|
|
|
|
+ # use a custom built version of sqlite3 with FTS4 enabled and FTS4 unicode61 tokenizer support
|
|
|
+ s.subspec 'fts' do |ss|
|
|
|
+ ss.source_files = 'src/extra/fts3/*.{h,m}'
|
|
|
+ ss.dependency 'FMDB/common'
|
|
|
+ ss.dependency 'sqlite3/unicode61'
|
|
|
+ end
|
|
|
+
|
|
|
# use SQLCipher and enable -DSQLITE_HAS_CODEC flag
|
|
|
s.subspec 'SQLCipher' do |ss|
|
|
|
ss.dependency 'SQLCipher'
|
|
|
@@ -34,5 +41,4 @@ Pod::Spec.new do |s|
|
|
|
ss.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC' }
|
|
|
end
|
|
|
|
|
|
- s.requires_arc = true
|
|
|
end
|