Skip to content

Commit

Permalink
Prepare 0.4.6 (#111)
Browse files Browse the repository at this point in the history
* bump to 0.4.6

* fix project file
  • Loading branch information
humdrum authored Aug 31, 2023
1 parent 13334a3 commit 1d9958f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Sources/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

import Foundation

let yorkieVersion = "0.4.4"
let yorkieVersion = "0.4.6"
16 changes: 0 additions & 16 deletions Tests/Unit/Util/Helper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,6 @@ class TextView {
}
}

private extension String {
func substring(from: Int, to: Int) -> String {
guard from <= to, from < self.count, from >= 0 else {
return ""
}

let adaptedTo = min(to, self.count - 1)

let start = index(self.startIndex, offsetBy: from)
let end = index(self.startIndex, offsetBy: adaptedTo)
let range = start ... end

return String(self[range])
}
}

/**
* `buildIndexTree` builds an index tree from the given element node.
*/
Expand Down
2 changes: 2 additions & 0 deletions Yorkie.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
9A3CF3E9296583050024E3DD /* StyleOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A3CF3E8296583050024E3DD /* StyleOperation.swift */; };
9A3CF3ED29666AB30024E3DD /* JSONTextTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A3CF3EC29666AB30024E3DD /* JSONTextTest.swift */; };
9A3CF3EF2966A7370024E3DD /* CRDTTextTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A3CF3EE2966A7370024E3DD /* CRDTTextTests.swift */; };
9A4BC6042AA08D6A00A9D436 /* String+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEA2DA4928F6938700431B61 /* String+Extensions.swift */; };
9A4DC737292273D200C89478 /* CRDTCounter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A4DC736292273D200C89478 /* CRDTCounter.swift */; };
9A4DC73A292273F900C89478 /* CRDTCountTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A4DC738292273E400C89478 /* CRDTCountTests.swift */; };
9A4DC73C2922741200C89478 /* IncreaseOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A4DC73B2922741200C89478 /* IncreaseOperation.swift */; };
Expand Down Expand Up @@ -885,6 +886,7 @@
CE8BB74028FE2F000020F62A /* ChangeContextTests.swift in Sources */,
CE8ED31F28F566DE009A5419 /* RemoveOperationTests.swift in Sources */,
CE8BB74128FE2F030020F62A /* CheckpointTests.swift in Sources */,
9A4BC6042AA08D6A00A9D436 /* String+Extensions.swift in Sources */,
9A3CF3EF2966A7370024E3DD /* CRDTTextTests.swift in Sources */,
CEC631DA28F02BFD00915A85 /* CRDTRootTests.swift in Sources */,
CE7B998B28E694FC00D56198 /* ElementRHTTests.swift in Sources */,
Expand Down

0 comments on commit 1d9958f

Please sign in to comment.