Skip to content

Commit

Permalink
Merge branch 'release/2.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
danthorpe committed Mar 25, 2016
2 parents dd9044c + 0f97500 commit f8644c9
Show file tree
Hide file tree
Showing 14 changed files with 98 additions and 93 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.5.0
1. [[YDB-84](https://github.com/danthorpe/YapDatabaseExtensions/pull/85)]: Updates to Swift 2.2

No significant changes, just updated for Swift 2.2 :)

# 2.4.0
1. [[YDB-73](https://github.com/danthorpe/YapDatabaseExtensions/pull/73), [YDB-77](https://github.com/danthorpe/YapDatabaseExtensions/pull/77)]: Improvements to README and documentation. Thanks [@cdzombak](https://github.com/cdzombak)!
2. [[YDB-74](https://github.com/danthorpe/YapDatabaseExtensions/pull/74)]: Improvements to CI & automation.
Expand Down
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "danthorpe/ValueCoding" == 1.2.0
github "danthorpe/ValueCoding"
github "yapstudios/YapDatabase"
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github "CocoaLumberjack/CocoaLumberjack" "2.2.0"
github "danthorpe/ValueCoding" "1.2.0"
github "danthorpe/ValueCoding" "1.3.0"
github "yapstudios/YapDatabase" "2.8.3"
24 changes: 12 additions & 12 deletions Tests/Shared/ObjectWithNoMetadataTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class Functional_Write_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {

func test__connection__async_write_item() {
var result: TypeUnderTest!
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
connection.asyncWrite(item) { tmp in
result = tmp
expectation.fulfill()
Expand All @@ -312,7 +312,7 @@ class Functional_Write_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {

func test__connection__async_write_items() {
var result: [TypeUnderTest] = []
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
connection.asyncWrite(items) { received in
result = received
expectation.fulfill()
Expand Down Expand Up @@ -352,7 +352,7 @@ class Functional_Remove_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__connection_async_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
connection.asyncRemove(item) {
expectation.fulfill()
Expand All @@ -363,7 +363,7 @@ class Functional_Remove_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__connection_async_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
connection.asyncRemove(items) {
expectation.fulfill()
Expand Down Expand Up @@ -664,7 +664,7 @@ class Persistable_Write_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__item_persistable__write_async_using_connection() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
var result: TypeUnderTest! = nil

item.asyncWrite(connection) { tmp in
Expand All @@ -677,7 +677,7 @@ class Persistable_Write_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__item_persistable__write_using_opertion() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")

let operation = item.writeOperation(connection)
operation.completionBlock = {
Expand All @@ -703,7 +703,7 @@ class Persistable_Write_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__items_persistable__write_async_using_connection() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
var result: [TypeUnderTest] = []

items.asyncWrite(connection) { tmp in
Expand All @@ -716,7 +716,7 @@ class Persistable_Write_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__items_persistable__write_using_opertion() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")

let operation = items.writeOperation(connection)
operation.completionBlock = {
Expand Down Expand Up @@ -748,7 +748,7 @@ class Persistable_Remove_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__connection_async_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
item.asyncRemove(connection) {
expectation.fulfill()
Expand All @@ -759,7 +759,7 @@ class Persistable_Remove_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__connection_operation_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
let operation = item.removeOperation(connection)
operation.completionBlock = {
Expand All @@ -786,7 +786,7 @@ class Persistable_Remove_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__connection_async_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
items.asyncRemove(connection) {
expectation.fulfill()
Expand All @@ -797,7 +797,7 @@ class Persistable_Remove_ObjectWithNoMetadataTests: ObjectWithNoMetadataTests {
}

func test__connection_operation_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
let operation = items.removeOperation(connection)
operation.completionBlock = {
Expand Down
24 changes: 12 additions & 12 deletions Tests/Shared/ObjectWithObjectMetadataTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class Functional_Write_ObjectWithObjectMetadataTests: ObjectWithObjectMetadataTe

func test__connection__async_write_item() {
var result: TypeUnderTest!
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
connection.asyncWrite(item) { tmp in
result = tmp
expectation.fulfill()
Expand All @@ -314,7 +314,7 @@ class Functional_Write_ObjectWithObjectMetadataTests: ObjectWithObjectMetadataTe

func test__connection__async_write_items() {
var result: [TypeUnderTest] = []
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
connection.asyncWrite(items) { received in
result = received
expectation.fulfill()
Expand Down Expand Up @@ -354,7 +354,7 @@ class Functional_Remove_ObjectWithObjectMetadataTests: ObjectWithObjectMetadataT
}

func test__connection_async_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
connection.asyncRemove(item) {
expectation.fulfill()
Expand All @@ -365,7 +365,7 @@ class Functional_Remove_ObjectWithObjectMetadataTests: ObjectWithObjectMetadataT
}

func test__connection_async_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
connection.asyncRemove(items) {
expectation.fulfill()
Expand Down Expand Up @@ -666,7 +666,7 @@ class Persistable_Write_ObjectWithObjectMetadataTests: ObjectWithObjectMetadataT
}

func test__item_persistable__write_async_using_connection() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
var result: TypeUnderTest! = nil

item.asyncWrite(connection) { tmp in
Expand All @@ -679,7 +679,7 @@ class Persistable_Write_ObjectWithObjectMetadataTests: ObjectWithObjectMetadataT
}

func test__item_persistable__write_using_opertion() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")

let operation = item.writeOperation(connection)
operation.completionBlock = {
Expand All @@ -705,7 +705,7 @@ class Persistable_Write_ObjectWithObjectMetadataTests: ObjectWithObjectMetadataT
}

func test__items_persistable__write_async_using_connection() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
var result: [TypeUnderTest] = []

items.asyncWrite(connection) { tmp in
Expand All @@ -718,7 +718,7 @@ class Persistable_Write_ObjectWithObjectMetadataTests: ObjectWithObjectMetadataT
}

func test__items_persistable__write_using_opertion() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")

let operation = items.writeOperation(connection)
operation.completionBlock = {
Expand Down Expand Up @@ -750,7 +750,7 @@ class Persistable_Remove_ObjectWithObjectMetadataTests: ObjectWithObjectMetadata
}

func test__connection_async_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
item.asyncRemove(connection) {
expectation.fulfill()
Expand All @@ -761,7 +761,7 @@ class Persistable_Remove_ObjectWithObjectMetadataTests: ObjectWithObjectMetadata
}

func test__connection_operation_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
let operation = item.removeOperation(connection)
operation.completionBlock = {
Expand All @@ -788,7 +788,7 @@ class Persistable_Remove_ObjectWithObjectMetadataTests: ObjectWithObjectMetadata
}

func test__connection_async_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
items.asyncRemove(connection) {
expectation.fulfill()
Expand All @@ -799,7 +799,7 @@ class Persistable_Remove_ObjectWithObjectMetadataTests: ObjectWithObjectMetadata
}

func test__connection_operation_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
let operation = items.removeOperation(connection)
operation.completionBlock = {
Expand Down
24 changes: 12 additions & 12 deletions Tests/Shared/ObjectWithValueMetadataTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class Functional_Write_ObjectWithValueMetadataTests: ObjectWithValueMetadataTest

func test__connection__async_write_item() {
var result: TypeUnderTest!
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
connection.asyncWrite(item) { tmp in
result = tmp
expectation.fulfill()
Expand All @@ -314,7 +314,7 @@ class Functional_Write_ObjectWithValueMetadataTests: ObjectWithValueMetadataTest

func test__connection__async_write_items() {
var result: [TypeUnderTest] = []
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
connection.asyncWrite(items) { received in
result = received
expectation.fulfill()
Expand Down Expand Up @@ -354,7 +354,7 @@ class Functional_Remove_ObjectWithValueMetadataTests: ObjectWithValueMetadataTes
}

func test__connection_async_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
connection.asyncRemove(item) {
expectation.fulfill()
Expand All @@ -365,7 +365,7 @@ class Functional_Remove_ObjectWithValueMetadataTests: ObjectWithValueMetadataTes
}

func test__connection_async_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
connection.asyncRemove(items) {
expectation.fulfill()
Expand Down Expand Up @@ -666,7 +666,7 @@ class Persistable_Write_ObjectWithValueMetadataTests: ObjectWithValueMetadataTes
}

func test__item_persistable__write_async_using_connection() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
var result: TypeUnderTest! = nil

item.asyncWrite(connection) { tmp in
Expand All @@ -679,7 +679,7 @@ class Persistable_Write_ObjectWithValueMetadataTests: ObjectWithValueMetadataTes
}

func test__item_persistable__write_using_opertion() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")

let operation = item.writeOperation(connection)
operation.completionBlock = {
Expand All @@ -705,7 +705,7 @@ class Persistable_Write_ObjectWithValueMetadataTests: ObjectWithValueMetadataTes
}

func test__items_persistable__write_async_using_connection() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
var result: [TypeUnderTest] = []

items.asyncWrite(connection) { tmp in
Expand All @@ -718,7 +718,7 @@ class Persistable_Write_ObjectWithValueMetadataTests: ObjectWithValueMetadataTes
}

func test__items_persistable__write_using_opertion() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")

let operation = items.writeOperation(connection)
operation.completionBlock = {
Expand Down Expand Up @@ -750,7 +750,7 @@ class Persistable_Remove_ObjectWithValueMetadataTests: ObjectWithValueMetadataTe
}

func test__connection_async_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
item.asyncRemove(connection) {
expectation.fulfill()
Expand All @@ -761,7 +761,7 @@ class Persistable_Remove_ObjectWithValueMetadataTests: ObjectWithValueMetadataTe
}

func test__connection_operation_remove_item() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingSingle()
let operation = item.removeOperation(connection)
operation.completionBlock = {
Expand All @@ -788,7 +788,7 @@ class Persistable_Remove_ObjectWithValueMetadataTests: ObjectWithValueMetadataTe
}

func test__connection_async_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
items.asyncRemove(connection) {
expectation.fulfill()
Expand All @@ -799,7 +799,7 @@ class Persistable_Remove_ObjectWithValueMetadataTests: ObjectWithValueMetadataTe
}

func test__connection_operation_remove_items() {
let expectation = expectationWithDescription("Test: \(__FUNCTION__)")
let expectation = expectationWithDescription("Test: \(#function)")
configureForReadingMultiple()
let operation = items.removeOperation(connection)
operation.completionBlock = {
Expand Down
Loading

0 comments on commit f8644c9

Please sign in to comment.