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/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/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/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. 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/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 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