Closed tomblench closed 6 years ago
Fix incorrect behaviour when fetching version number for user-agent string
Bundle(for:) is not supported on Linux (https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/Bundle.swift), and we don't expect it to be supported any time soon.
Bundle(for:)
Instead, define the version number in CouchDBClient and hardcode the first part of the user-agent as "SwiftCloudant".
All existing tests pass
Once merged, fix instructions in https://github.com/cloudant/cloudant-sync/blob/master/releasing-swift.md regarding version number updates.
See #170
What
Fix incorrect behaviour when fetching version number for user-agent string
How
Bundle(for:)
is not supported on Linux (https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/Bundle.swift), and we don't expect it to be supported any time soon.Instead, define the version number in CouchDBClient and hardcode the first part of the user-agent as "SwiftCloudant".
Testing
All existing tests pass
TODO
Once merged, fix instructions in https://github.com/cloudant/cloudant-sync/blob/master/releasing-swift.md regarding version number updates.
Issues
See #170