From 08656ccec99d5e978736f1eb276a13f0f38a440b Mon Sep 17 00:00:00 2001 From: Joachim Bondo Date: Wed, 14 Mar 2018 14:49:47 +0100 Subject: [PATCH 1/3] Remove redundant date/copyright information --- Package.swift | 2 -- Sources/Changeset.Edit.swift | 1 - Sources/Changeset.swift | 1 - Sources/UIKit+Changeset.swift | 1 - Tests/ChangesetTests.swift | 1 - 5 files changed, 6 deletions(-) diff --git a/Package.swift b/Package.swift index 541f006..9fa3b6d 100644 --- a/Package.swift +++ b/Package.swift @@ -2,8 +2,6 @@ // Package.swift // Changeset // -// Copyright (c) 2015-16 Joachim Bondo. All rights reserved. -// import PackageDescription diff --git a/Sources/Changeset.Edit.swift b/Sources/Changeset.Edit.swift index 777fa27..ac34972 100644 --- a/Sources/Changeset.Edit.swift +++ b/Sources/Changeset.Edit.swift @@ -1,6 +1,5 @@ // // Changeset.Edit.swift -// Copyright (c) 2015-17 Joachim Bondo. All rights reserved. // /// Defines an atomic edit on a `Collection` of `Equatable` where we can do basic arithmetic on the `IndexDistance`. diff --git a/Sources/Changeset.swift b/Sources/Changeset.swift index 5adfb36..290efa1 100644 --- a/Sources/Changeset.swift +++ b/Sources/Changeset.swift @@ -1,6 +1,5 @@ // // Changeset.swift -// Copyright (c) 2015-17 Joachim Bondo. All rights reserved. // /** A `Changeset` describes the edits required to go from one set of data to another. diff --git a/Sources/UIKit+Changeset.swift b/Sources/UIKit+Changeset.swift index 6da8a2a..0887f25 100644 --- a/Sources/UIKit+Changeset.swift +++ b/Sources/UIKit+Changeset.swift @@ -1,6 +1,5 @@ // // UIKit+Changeset.swift -// Copyright (c) 2016 Joachim Bondo. All rights reserved. // #if os(iOS) diff --git a/Tests/ChangesetTests.swift b/Tests/ChangesetTests.swift index dd45809..dcc7243 100644 --- a/Tests/ChangesetTests.swift +++ b/Tests/ChangesetTests.swift @@ -1,4 +1,3 @@ - // // ChangesetTests.swift // Changeset From 87a903036d30e05e94b59abc118b26935e28896c Mon Sep 17 00:00:00 2001 From: Joachim Bondo Date: Wed, 14 Mar 2018 14:50:20 +0100 Subject: [PATCH 2/3] Update year --- LICENSE.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 39106de..c1a3338 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # The MIT License -Copyright © 2015-17 [Joachim Bondo](mailto:joachim@bondo.net) +Copyright © 2015-18 [Joachim Bondo](mailto:joachim@bondo.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/README.md b/README.md index e7dafca..5a03ddf 100644 --- a/README.md +++ b/README.md @@ -94,4 +94,4 @@ This uses the extensions mentioned above to animate transitions based on the edi ## License This project is available under [The MIT License](http://opensource.org/licenses/MIT). -Copyright © 2015-17, [Joachim Bondo](mailto:joachim@bondo.net). See [LICENSE](LICENSE.md) file. +Copyright © 2015-18, [Joachim Bondo](mailto:joachim@bondo.net). See [LICENSE](LICENSE.md) file. From 00b4894d1dca4eb3cdb7b664595c61ffb42711fc Mon Sep 17 00:00:00 2001 From: Joachim Bondo Date: Wed, 14 Mar 2018 15:05:06 +0100 Subject: [PATCH 3/3] Update to version 3.1 --- CHANGELOG.md | 5 +++++ Changeset.podspec | 2 +- Sources/Info.plist | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04da0f8..a3eba1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This project uses [semantic versioning](http://semver.org/). Change log is also reflected under [Releases](https://github.com/osteslag/Changeset/releases) on GitHub, inspired by [Keep a CHANGELOG](http://keepachangelog.com). +## [3.1]: 2018-03-14(π) Custom Comparator +### Added +- Support custom comparator function for comparing collection elements (defaults to `==`) + ## [3.0]: 2017-11-03 Swift 4.0 ### Changed - Update to Swift 4; most noticeably, `String` is now a `Collection` @@ -68,6 +72,7 @@ This project uses [semantic versioning](http://semver.org/). Change log is also ## [1.0]: 2015-12-29 Initial Release +[3.1]: https://github.com/osteslag/Changeset/compare/v3.0...v3.1 [3.0]: https://github.com/osteslag/Changeset/compare/v2.1.2...v3.0 [2.1.2]: https://github.com/osteslag/Changeset/compare/v2.1.1...v2.1.2 [2.1.1]: https://github.com/osteslag/Changeset/compare/v2.1...v2.1.1 diff --git a/Changeset.podspec b/Changeset.podspec index f7957fc..4d62f5d 100644 --- a/Changeset.podspec +++ b/Changeset.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'Changeset' - spec.version = '3.0' + spec.version = '3.1' spec.license = { :type => 'MIT', :file => 'LICENSE.md' } spec.homepage = 'https://github.com/osteslag/Changeset' spec.author = { 'Joachim Bondo' => 'joachim@bondo.net' } diff --git a/Sources/Info.plist b/Sources/Info.plist index 21baa19..19c1e8d 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.0 + 3.1 CFBundleSignature ???? CFBundleVersion