Commit Graph

351 Commits

Author SHA1 Message Date
Michael Bull
b9bf8f1eaf Update kotlin to 1.2.40 2018-04-22 23:29:32 +01:00
Michael Bull
6c0a24b019 Update README 2018-02-28 04:10:51 +00:00
Michael Bull
909462be86 Align artifact group with jitpack repository
Jitpack convention sets the artifact id as
com.github.michaelbull:kotlin-result, excluding "kotlin-result" from the
group name. This commit aligns the artifact's group name with their
convention.
2018-02-28 03:18:34 +00:00
Michael Bull
b812d938f9 Place generated docs in docs/javadoc
This matches the default behaviour of the javadoc task. See:
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.javadoc.Javadoc.html#org.gradle.api.tasks.javadoc.Javadoc:destinationDir
2018-02-28 03:15:24 +00:00
Michael Bull
667287f7d3 Update LICENSE 2018-02-28 02:17:37 +00:00
Michael Bull
2db3e0e3cf Move release plugin to new plugin dsl 2018-02-28 01:47:00 +00:00
Michael Bull
184b5f6dd8 [Gradle Release Plugin] - new version commit: '1.0.9-SNAPSHOT'. 2018-01-24 18:24:21 +00:00
Michael Bull
9ceff8ce1c [Gradle Release Plugin] - pre tag commit: '1.0.8'. 2018-01-24 18:24:09 +00:00
Michael Bull
a2aab06e91 Update version in README 2018-01-24 18:23:29 +00:00
Michael Bull
d35e7e9c51 Update kotlin 2018-01-24 18:22:11 +00:00
Michael Bull
410563b621 Add toResultOr
Acts as a factory function to convert nullable types to Result types
2018-01-24 18:20:39 +00:00
Michael Bull
c93ac7fb18 Correct link in README 2018-01-24 13:24:56 +00:00
Michael Bull
87942dd769 Simplify example section in README 2018-01-24 13:23:47 +00:00
Michael Bull
abf3716a71 Add example section to README 2018-01-24 13:21:01 +00:00
Michael Bull
9d7c5f07f7 Lift DomainMessage subtypes to top-level declarations in example 2018-01-24 13:03:48 +00:00
Michael Bull
687c4c9d7f Omit "this" prefix from method references
https://kotlinlang.org/docs/reference/whatsnew12.html#support-for--foo-as-a-shorthand-for-thisfoo
2018-01-24 12:58:26 +00:00
Michael Bull
631f81d8ae Fix mis-ordered modifier keywords
https://kotlinlang.org/docs/reference/coding-conventions.html#modifiers
2018-01-19 14:21:32 +00:00
Michael Bull
de239962da Update dependencies 2018-01-17 18:29:33 +00:00
Michael Bull
b42a1b11db [Gradle Release Plugin] - new version commit: '1.0.8-SNAPSHOT'. 2018-01-11 20:50:26 +00:00
Michael Bull
4d3030ebdc [Gradle Release Plugin] - pre tag commit: '1.0.7'. 2018-01-11 20:50:17 +00:00
Michael Bull
5ddae8ca11 Update README 2018-01-11 20:25:59 +00:00
Michael Bull
e8581976c3 Split up CustomerService.upsert in example app 2018-01-11 19:27:27 +00:00
Michael Bull
d2723009df Simplify endpoints in example app 2018-01-11 19:27:07 +00:00
Michael Bull
76870ef78a Catch Exception instead of Throwable in Result.of 2018-01-11 18:31:10 +00:00
Michael Bull
cfaa57dd1f Add example application 2018-01-11 18:30:41 +00:00
Michael Bull
389a87ffe2 Simplify editorconfig 2018-01-11 18:29:29 +00:00
Michael Bull
c2fc72d0cb Add zip functions 2018-01-11 18:28:31 +00:00
Michael Bull
e06ee4e525 [Gradle Release Plugin] - new version commit: '1.0.7-SNAPSHOT'. 2018-01-10 17:44:49 +00:00
Michael Bull
0267d9fb2b [Gradle Release Plugin] - pre tag commit: '1.0.6'. 2018-01-10 17:44:41 +00:00
Michael Bull
7f6d41e2d0 Update README 2018-01-10 17:44:12 +00:00
Michael Bull
c5a11a914e Simplify doc comments according to Kotlin Coding Conventions
https://kotlinlang.org/docs/reference/coding-conventions.html#documentation-comments
2018-01-10 16:04:40 +00:00
Michael Bull
c6be93142d Add lazy variants for {and,or,getOr,getErrorOr} 2018-01-10 13:27:02 +00:00
Michael Bull
17f46f3826 [Gradle Release Plugin] - new version commit: '1.0.6-SNAPSHOT'. 2017-12-17 00:17:10 +00:00
Michael Bull
9127027e48 [Gradle Release Plugin] - pre tag commit: '1.0.5'. 2017-12-17 00:17:02 +00:00
Michael Bull
dc9f0cc421 Update README 2017-12-17 00:16:48 +00:00
Michael Bull
44a4467595 Alias flatMap function to andThen 2017-12-17 00:16:03 +00:00
Michael Bull
b2d29d62b7 Improve javadoc 2017-12-17 00:14:27 +00:00
Michael Bull
3ec5fd3b96 [Gradle Release Plugin] - new version commit: '1.0.5-SNAPSHOT'. 2017-12-16 22:37:00 +00:00
Michael Bull
1254f51418 [Gradle Release Plugin] - pre tag commit: '1.0.4'. 2017-12-16 22:36:53 +00:00
Michael Bull
0a5a14cf42 Update README 2017-12-16 22:34:06 +00:00
Michael Bull
3e3b649193 Mark on{Success,Failure} as infix 2017-12-16 22:30:04 +00:00
Michael Bull
5dc5d3680e
Merge pull request #3 from kevinherron/inline-on-functions
Inline the onSuccess() and onFailure() functions
2017-12-16 22:26:39 +00:00
Kevin Herron
47fa20ca34 Inline the onSuccess() and onFailure() functions 2017-12-16 14:12:07 -08:00
Michael Bull
80c6410181 [Gradle Release Plugin] - new version commit: '1.0.4-SNAPSHOT'. 2017-12-16 19:52:45 +00:00
Michael Bull
d3db9c1f30 [Gradle Release Plugin] - pre tag commit: '1.0.3'. 2017-12-16 19:52:37 +00:00
Michael Bull
7b5ffefa8f Downgrade dokka
Version 0.9.15 is producing an error on CI:
- Could not find org.jetbrains.dokka:integration:0.9.15.
2017-12-16 19:50:00 +00:00
Michael Bull
c198328059 Update version in README 2017-12-16 19:31:18 +00:00
Michael Bull
9ddac98e0c Add multi-platform support
Converts the unit tests to use kotlin-test, allowing them to target both
the jvm and js platforms.
2017-12-16 19:30:54 +00:00
Michael Bull
416c0950b2 Update kotlin to 1.2.10 2017-12-16 19:26:01 +00:00
Michael Bull
64213f4b04 Update Gradle to 4.4 2017-12-16 19:23:33 +00:00