Skip to content

Commit 037b796

Browse files
committed
v0.16.0
1 parent d11b914 commit 037b796

28 files changed

+75
-76
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<!-- for main -->
2-
3-
[![Download](https://img.shields.io/badge/Download-0.15.1-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.15.1/jar)
2+
<!--
3+
[![Download](https://img.shields.io/badge/Download-0.16.0-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.16.0/jar)
44
[![Apache license](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache2.0)
55
[![Build Status Ubuntu](https://github.com/robstoll/kbox/workflows/Ubuntu/badge.svg?event=push)](https://github.com/robstoll/kbox/actions?query=workflow%3AUbuntu+branch%3Amain)
66
[![Build Status Windows](https://github.com/robstoll/kbox/workflows/Windows/badge.svg?event=push)](https://github.com/robstoll/kbox/actions?query=workflow%3AWindows+branch%3Amain)
77
[![SonarCloud Status](https://sonarcloud.io/api/project_badges/measure?project=robstoll_kbox&metric=alert_status)](https://sonarcloud.io/dashboard?id=robstoll_kbox)
88
9-
9+
-->
1010
<!-- for a specific release -->
11-
<!--
12-
[![Download](https://img.shields.io/badge/Download-0.15.1-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.15.1/jar)
11+
12+
[![Download](https://img.shields.io/badge/Download-0.16.0-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.16.0/jar)
1313
[![Apache license](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache2.0)
14-
-->
14+
1515

1616
# KBox
1717
KBox is a very small but useful utility library for Kotlin (JVM, Android and JS).
@@ -66,7 +66,7 @@ KBox is published to maven central.
6666
```
6767
repositories { mavenCentral() }
6868
dependencies {
69-
implementation("ch.tutteli.kbox:kbox-jvm:0.15.1")
69+
implementation("ch.tutteli.kbox:kbox-jvm:0.16.0")
7070
}
7171
```
7272

build.gradle.kts

+10-11
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import java.nio.file.StandardCopyOption
44

55
buildscript {
66
// needs to be defined in here because otherwise tutteli-publish plugin does not have this information when applied
7-
rootProject.version = "0.16.0-SNAPSHOT"
7+
rootProject.version = "0.16.0"
88
rootProject.group = "ch.tutteli.kbox"
99
rootProject.description = "A utility library for Kotlin "
1010
}
@@ -176,15 +176,11 @@ project.afterEvaluate {
176176
/*
177177
Release & deploy a commit
178178
--------------------------------
179-
1. generate dokka
180-
a) gr dokka
181-
b) check if output/links are still good (use intellij's http server via -> right click -> open in -> browser)
182-
183-
2. update main:
179+
1. update main:
184180
185181
Either use the following commands or the manual steps below
186182
187-
export KBOX_PREVIOUS_VERSION=0.15.1
183+
export KBOX_PREVIOUS_VERSION=0.16.0
188184
export KBOX_VERSION=0.16.0
189185
find ./ -name "*.md" | xargs perl -0777 -i \
190186
-pe "s@$KBOX_PREVIOUS_VERSION@$KBOX_VERSION@g;" \
@@ -197,17 +193,20 @@ perl -0777 -i \
197193
-pe "s@$KBOX_PREVIOUS_VERSION@$KBOX_VERSION@g;" \
198194
-pe 's/(<!-- for main -->\n)\n([\S\s]*?)(\n<!-- for a specific release -->\n)<!--\n([\S\s]*?)-->\n(\n# KBox)/$1<!--\n$2-->$3\n$4\n$5/;' \
199195
./README.md
200-
git commit -a -m "v$KBOX_VERSION"
201-
git tag "v$KBOX_VERSION"
202196
203197
alternatively the manual steps:
204198
a) search for X.Y.Z-SNAPSHOT and replace with X.Y.Z
205199
b) adjust badges in readme
206200
c) commit (modified build.gradle and README.md)
207201
202+
2. generate dokka
203+
a) gr dokka
204+
b) check if output/links are still good (use intellij's http server via -> right click -> open in -> browser)
205+
208206
3. prepare release on github
209-
a) git tag vX.Y.Z
210-
b) git push origin vX.Y.Z
207+
a) git commit -a -m "v$KBOX_VERSION"
208+
b) git tag "v$KBOX_VERSION"
209+
c) git push origin "v$KBOX_VERSION"
211210
212211
3. deploy to maven central:
213212
(assumes you have an alias named gr pointing to ./gradlew)

docs/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Download](https://img.shields.io/badge/Download-0.15.1-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.15.1/jar)
1+
[![Download](https://img.shields.io/badge/Download-0.16.0-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.16.0/jar)
22
[![Apache license](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache2.0)
33

44
# KBox
@@ -11,7 +11,7 @@ KBox is published to maven central.
1111
```
1212
repositories { mavenCentral() }
1313
dependencies {
14-
implementation("ch.tutteli.kbox:kbox-jvm:0.15.1")
14+
implementation("ch.tutteli.kbox:kbox-jvm:0.16.0")
1515
}
1616
```
1717

docs/kdoc/kbox/ch.tutteli.kbox/-default-peeking-iterator/-default-peeking-iterator.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ <h1 class="cover"><span>Default</span><wbr></wbr><span>Peeking</span><wbr></wbr>
3131
</div>
3232
</div>
3333
<h2 class="">Sources</h2>
34-
<div class="table" data-togglable="Sources"><a data-name="1724277880%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L6" id="1724277880%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
34+
<div class="table" data-togglable="Sources"><a data-name="1724277880%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L6" id="1724277880%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
3535
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
3636
<div class="main-subrow keyValue ">
37-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L6">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1724277880%2FSource%2F788909594"></span>
37+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L6">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1724277880%2FSource%2F788909594"></span>
3838
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
3939
</span></span></div>
4040
<div></div>

docs/kdoc/kbox/ch.tutteli.kbox/-default-peeking-iterator/has-next.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ <h1 class="cover"><span>has</span><wbr></wbr><span><span>Next</span></span></h1>
3131
</div>
3232
</div>
3333
<h2 class="">Sources</h2>
34-
<div class="table" data-togglable="Sources"><a data-name="1811049330%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L9" id="1811049330%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
34+
<div class="table" data-togglable="Sources"><a data-name="1811049330%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L9" id="1811049330%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
3535
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
3636
<div class="main-subrow keyValue ">
37-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L9">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1811049330%2FSource%2F788909594"></span>
37+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L9">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1811049330%2FSource%2F788909594"></span>
3838
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
3939
</span></span></div>
4040
<div></div>

docs/kdoc/kbox/ch.tutteli.kbox/-default-peeking-iterator/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ <h2 class="">Properties</h2>
127127
</div>
128128
</div>
129129
<h2 class="">Sources</h2>
130-
<div class="table" data-togglable="Sources"><a data-name="920904900%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L3" id="920904900%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
130+
<div class="table" data-togglable="Sources"><a data-name="920904900%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L3" id="920904900%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
131131
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
132132
<div class="main-subrow keyValue ">
133-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L3">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="920904900%2FSource%2F788909594"></span>
133+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L3">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="920904900%2FSource%2F788909594"></span>
134134
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
135135
</span></span></div>
136136
<div></div>

docs/kdoc/kbox/ch.tutteli.kbox/-default-peeking-iterator/next.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ <h1 class="cover"><span><span>next</span></span></h1>
3131
</div>
3232
</div>
3333
<h2 class="">Sources</h2>
34-
<div class="table" data-togglable="Sources"><a data-name="1920489384%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L12" id="1920489384%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
34+
<div class="table" data-togglable="Sources"><a data-name="1920489384%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L12" id="1920489384%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
3535
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
3636
<div class="main-subrow keyValue ">
37-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L12">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1920489384%2FSource%2F788909594"></span>
37+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L12">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1920489384%2FSource%2F788909594"></span>
3838
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
3939
</span></span></div>
4040
<div></div>

docs/kdoc/kbox/ch.tutteli.kbox/-jvm-synchronized/-jvm-synchronized.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ <h1 class="cover"><span>Jvm</span><wbr></wbr><span><span>Synchronized</span></sp
3535
</div>
3636
</div>
3737
<h2 class="">Sources</h2>
38-
<div class="table" data-togglable="Sources"><a data-name="1995633595%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8" id="1995633595%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
38+
<div class="table" data-togglable="Sources"><a data-name="1995633595%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8" id="1995633595%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
3939
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
4040
<div class="main-subrow keyValue ">
41-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1995633595%2FSource%2F788909594"></span>
41+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1995633595%2FSource%2F788909594"></span>
4242
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
4343
</span></span></div>
4444
<div></div>
4545
</div>
4646
</div>
47-
<a data-name="1995633595%2FSource%2F371682492" anchor-label="https://github.com/robstoll/kbox/tree/main/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8" id="1995633595%2FSource%2F371682492" data-filterable-set=":dokkaHtml/jsMain"></a>
47+
<a data-name="1995633595%2FSource%2F371682492" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8" id="1995633595%2FSource%2F371682492" data-filterable-set=":dokkaHtml/jsMain"></a>
4848
<div class="table-row" data-filterable-current=":dokkaHtml/jsMain" data-filterable-set=":dokkaHtml/jsMain">
4949
<div class="main-subrow keyValue ">
50-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8">js source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1995633595%2FSource%2F371682492"></span>
50+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8">js source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1995633595%2FSource%2F371682492"></span>
5151
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
5252
</span></span></div>
5353
<div></div>

docs/kdoc/kbox/ch.tutteli.kbox/-jvm-synchronized/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ <h2 class="tabbedcontent">Constructors</h2>
4646
</div>
4747
</div>
4848
<h2 class="">Sources</h2>
49-
<div class="table" data-togglable="Sources"><a data-name="1868863381%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3" id="1868863381%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
49+
<div class="table" data-togglable="Sources"><a data-name="1868863381%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3" id="1868863381%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
5050
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
5151
<div class="main-subrow keyValue ">
52-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1868863381%2FSource%2F788909594"></span>
52+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1868863381%2FSource%2F788909594"></span>
5353
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
5454
</span></span></div>
5555
<div></div>
5656
</div>
5757
</div>
58-
<a data-name="1868863381%2FSource%2F371682492" anchor-label="https://github.com/robstoll/kbox/tree/main/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3" id="1868863381%2FSource%2F371682492" data-filterable-set=":dokkaHtml/jsMain"></a>
58+
<a data-name="1868863381%2FSource%2F371682492" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3" id="1868863381%2FSource%2F371682492" data-filterable-set=":dokkaHtml/jsMain"></a>
5959
<div class="table-row" data-filterable-current=":dokkaHtml/jsMain" data-filterable-set=":dokkaHtml/jsMain">
6060
<div class="main-subrow keyValue ">
61-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3">js source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1868863381%2FSource%2F371682492"></span>
61+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3">js source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1868863381%2FSource%2F371682492"></span>
6262
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
6363
</span></span></div>
6464
<div></div>

docs/kdoc/kbox/ch.tutteli.kbox/-peeking-iterator/-companion/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ <h2 class="tabbedcontent">Extensions</h2>
5151
</div>
5252
</div>
5353
<h2 class="">Sources</h2>
54-
<div class="table" data-togglable="Sources"><a data-name="1226867703%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/PeekingIterator.kt#L14" id="1226867703%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
54+
<div class="table" data-togglable="Sources"><a data-name="1226867703%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/PeekingIterator.kt#L14" id="1226867703%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
5555
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
5656
<div class="main-subrow keyValue ">
57-
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/PeekingIterator.kt#L14">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1226867703%2FSource%2F788909594"></span>
57+
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/PeekingIterator.kt#L14">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1226867703%2FSource%2F788909594"></span>
5858
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
5959
</span></span></div>
6060
<div></div>

0 commit comments

Comments
 (0)