GitHub user RobertWalsh opened a pull request:

    https://github.com/apache/usergrid/pull/502

    Updates to the Swift SDK.

    Many bug fixes found while creating additional test cases for the SDK.
    A few new test case classes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/RobertWalsh/usergrid master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/usergrid/pull/502.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #502
    
----
commit 645bef13dc119135de127d77997dc0d3de113927
Author: Robert Walsh <[email protected]>
Date:   2016-02-16T18:40:45Z

    Updates. See commit details.
    
    UsergridClient.getConnection methods now use a default value for queries in 
the method definition.
    
    Removed invalid method UsergridDevice.uuid.
    
    Added use of `guard` statement in favor of if/else in various parts of the 
code.
    
    UsergridUser.create() now copies the properties from the response over to 
the User that called it.
    
    UsergridUser.reauthenticate() now resets the UsergridClient.currentUser 
property if the calling User is in fact the same as the currentUser.
    
    UsergridUser.connectToDevice() and UsergridUser.disconnectFromDevice() 
methods fixed.
    
    UsergridUser.getConnectedDevice() methods added.
    
    UsergridClient.logoutUser() now determines if the user to logout is in fact 
the currentUser and if so now sets that to nil if need be.
    
    Decoding of UsergridClientConfig.authFallback is fixed.
    
    Updates to tests.

commit cba1364d4fb829b891d5688c0d41f60459851ef1
Author: Robert Walsh <[email protected]>
Date:   2016-02-16T18:43:56Z

    Merge branch 'apache/master'
    
    Upstream merge.

commit 684faa97dca2042d4d9e42d8aa920d8ca96ad1b3
Author: Robert Walsh <[email protected]>
Date:   2016-02-16T18:51:24Z

    Merge branch 'apache/master'

commit f2a4a10300b08c52efdbb6f98982d86e48dd119d
Author: Robert Walsh <[email protected]>
Date:   2016-02-16T21:52:56Z

    Fixed bug with UsergridAsset init with fileUrl.

commit 9f53f585ad29361405a5ce3091e25fb6bd355778
Author: Robert Walsh <[email protected]>
Date:   2016-02-16T21:58:52Z

    Updates.
    
    Moved more of the request response handling to background threads.
    
    Updated asset upload/download completion blocks to be more consistent with 
other completion blocks.
    
    Updated ReadMe to reflect changes to asset upload completion blocks.
    
    Added UsegridEntity.isEqualToEntity() function.
    
    UsergridUser.reauthenticate() now functions properly when the entity 
isEqualTo() the UsergridClient.currentUser.

commit 865560c063220c613b562cfd8778b9bc8dda01ce
Author: Robert Walsh <[email protected]>
Date:   2016-02-17T18:26:35Z

    Fixed UsergridClient.uploadAsset().
    
    While the UsergridClient.uploadAsset() was setting the requesting 
entities.asset it wasnt setting the fileMetaData.
    
    Also upon initialization of UsergridEntity objects the fileMetaData was not 
being set properly.  Now that is fixed.
    
    Also updated the UsergridAsset initialization functions to use filename 
instead of fileName for parameter names.

commit 47f86a9c4f354603feb2f59571657c9b868cdfe7
Author: Robert Walsh <[email protected]>
Date:   2016-02-18T17:22:42Z

    Moved podspec to the root of the repo

commit 891e0f277d28c0b6d73b615c473e3212e88d7cf0
Author: Robert Walsh <[email protected]>
Date:   2016-02-18T18:57:04Z

    Updated tests.

commit 5f15161a7d049338791321d5072fa34d80fa0d9e
Author: Robert Walsh <[email protected]>
Date:   2016-02-19T19:18:14Z

    Minor updates.

commit ebf43c7e6227e8b4df0e2ea4c8a956f133ad106e
Author: Robert Walsh <[email protected]>
Date:   2016-02-24T22:19:57Z

    Added new Asset test.

commit dd9ddb7304b31c26e6f20864c232f88d076121d1
Author: Robert Walsh <[email protected]>
Date:   2016-04-07T23:10:28Z

    See details.
    
    Added authMode.
    Fixed DEVICE_OSVERSION constant.
    UsergridQuery now always prefixes the query string with "select *".
    When registering the device for push notifications, "devices" is used 
instead of "device".

commit 9672e3a64573d3968dbf10eba1579409186fdeb6
Author: Robert Walsh <[email protected]>
Date:   2016-04-07T23:16:19Z

    Fixed macro used in tests that will be removed in Swift 3.

commit 2376ec1a137ceb8789c9bd90c26d05c8ddbba5ef
Author: Robert Walsh <[email protected]>
Date:   2016-04-13T21:49:49Z

    Fixed tests.

commit 6e2116880534865da3b4e068454006dbee87be06
Author: Robert Walsh <[email protected]>
Date:   2016-04-13T21:52:36Z

    Merge branch 'apache/master'

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to