mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
* Added pristine version of JSONEncoder.swift to the project * Renamed JSONEncoder and JSONDecoder and namespaced them under Database. Skip JSONSerialization steps of encoding and decoding * Added convenience decoding to DataSnapshot and encoding to DatabaseReference * Convert to 2 space indentation * Added ServerTimestamp - modelled on Firestore ditto * Added a ServerIncrement enum/property wrapper. Not too happy about the property wrapper API though * Fix ServerTimestamp Date decoding and encoding * Fix ServerTimestamp Date decoding and encoding * Added API for setting default decoder and encoder * Fix typo and linter error * Changed requirement for ServerIncrement generic parameter to be AdditiveArithmetic instead of Numeric. Added tests for server value coding. * Add test for alternative ServerIncrement API and demonstrate that this version of the API also models actual optionality * Test the default encoder and decoder * Added more tests derived from corresponding Firestore coding tests * Ran linter * Delete EncoderTests.swift Ooops, I added this file prematurely. * Added modified version of tests from apple/swift * Rename all but a few occurrences of 'json' and add a reference to the original file from apple/swift * Made it possible to decode Optional types * Updated copyright messages * Removed CodableErrors and force cast ServerValue.timestamp() based on feedback on PR * Changed completion handler to take a Result<Void, Error> * Add escaping to closure parameter * Fixed format * Change completion handler type to accept and Optional Error rather than a Result<Void, Error> * Remove ServerIncrement for now * Fix function signature error * Remove Swift 4 support. Remove default encoder/decoder configuration. Add FirebaseDatabaseSwift.podspec - I don't know if it's good though, as I don't use CocoaPods myself. * Update podspec with fixes from review * Run scripts/style.sh * Add -Beta to FirebaseDatabaseSwift library
38 lines
1.1 KiB
Ruby
38 lines
1.1 KiB
Ruby
#
|
|
# Be sure to run `pod lib lint FirebaseDatabaseSwift.podspec' to ensure this is a
|
|
# valid spec before submitting.
|
|
#
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = 'FirebaseDatabaseSwift'
|
|
s.version = '7.9.0-beta'
|
|
s.summary = 'Swift Extensions for Firebase Realtime Database'
|
|
|
|
s.description = <<-DESC
|
|
Simplify your iOS development, grow your user base, and monetize more effectively with Firebase.
|
|
DESC
|
|
|
|
s.homepage = 'https://developers.google.com/'
|
|
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
|
s.authors = 'Google, Inc.'
|
|
|
|
s.source = {
|
|
:git => 'https://github.com/Firebase/firebase-ios-sdk.git',
|
|
:tag => 'CocoaPods-' + s.version.to_s
|
|
}
|
|
|
|
s.swift_version = '5.1'
|
|
s.ios.deployment_target = '10.0'
|
|
s.osx.deployment_target = '10.12'
|
|
s.tvos.deployment_target = '10.0'
|
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
|
s.prefix_header_file = false
|
|
|
|
s.source_files = [
|
|
'FirebaseDatabaseSwift/Sources/**/*.swift',
|
|
]
|
|
|
|
s.dependency 'FirebaseDatabase', '~> 7.8'
|
|
end
|