Updated versions.

This commit is contained in:
Erik C. Thauvin 2021-03-21 18:19:44 -07:00
parent 8eb6847aad
commit e60303773a
5 changed files with 67 additions and 46 deletions

View file

@ -0,0 +1 @@
future-release=1.1.0

27
.gitignore vendored
View file

@ -2,17 +2,7 @@
!.vscode/launch.json !.vscode/launch.json
!.vscode/settings.json !.vscode/settings.json
!.vscode/tasks.json !.vscode/tasks.json
.classpath **/*.class
.DS_Store
.gradle
.kobalt
.nb-gradle
.project
.settings
.vscode/*
*.code-workspace
*.iws
*.sublime-*
**/.idea/**/dataSources.ids **/.idea/**/dataSources.ids
**/.idea/**/dataSources.local.xml **/.idea/**/dataSources.local.xml
**/.idea/**/dataSources/ **/.idea/**/dataSources/
@ -27,7 +17,17 @@
**/.idea/**/uiDesigner.xml **/.idea/**/uiDesigner.xml
**/.idea/**/usage.statistics.xml **/.idea/**/usage.statistics.xml
**/.idea/**/workspace.xml **/.idea/**/workspace.xml
**/*.class *.code-workspace
*.iws
*.sublime-*
.DS_Store
.classpath
.gradle
.kobalt
.nb-gradle
.project
.settings
.vscode/*
/bin /bin
/build /build
/deploy /deploy
@ -40,7 +40,8 @@
/project.properties /project.properties
/target /target
/test-output /test-output
Thumbs.db
ehthumbs.db ehthumbs.db
kobaltBuild kobaltBuild
kobaltw*-test kobaltw*-test
Thumbs.db pom.xml.asc

View file

@ -1,6 +1,19 @@
# Change Log # Changelog
## [1.1.0](https://github.com/ethauvin/pinboard-poster/tree/1.1.0) (2021-03-21)
[Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/1.0.1...1.1.0)
**Implemented enhancements:**
- Use HttpLoggingInterceptor instead of manually logging. [\#3](https://github.com/ethauvin/pinboard-poster/issues/3)
**Fixed bugs:**
- executeMethod should trap IO execeptions [\#2](https://github.com/ethauvin/pinboard-poster/issues/2)
## [1.0.1](https://github.com/ethauvin/pinboard-poster/tree/1.0.1) (2019-05-27) ## [1.0.1](https://github.com/ethauvin/pinboard-poster/tree/1.0.1) (2019-05-27)
[Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/1.0.0...1.0.1) [Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/1.0.0...1.0.1)
**Implemented enhancements:** **Implemented enhancements:**
@ -8,15 +21,21 @@
- Implement better error reporting. [\#1](https://github.com/ethauvin/pinboard-poster/issues/1) - Implement better error reporting. [\#1](https://github.com/ethauvin/pinboard-poster/issues/1)
## [1.0.0](https://github.com/ethauvin/pinboard-poster/tree/1.0.0) (2018-06-26) ## [1.0.0](https://github.com/ethauvin/pinboard-poster/tree/1.0.0) (2018-06-26)
[Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/0.9.3...1.0.0) [Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/0.9.3...1.0.0)
## [0.9.3](https://github.com/ethauvin/pinboard-poster/tree/0.9.3) (2017-11-09) ## [0.9.3](https://github.com/ethauvin/pinboard-poster/tree/0.9.3) (2017-11-09)
[Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/0.9.2...0.9.3) [Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/0.9.2...0.9.3)
## [0.9.2](https://github.com/ethauvin/pinboard-poster/tree/0.9.2) (2017-11-08) ## [0.9.2](https://github.com/ethauvin/pinboard-poster/tree/0.9.2) (2017-11-08)
[Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/0.9.1...0.9.2) [Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/0.9.1...0.9.2)
## [0.9.1](https://github.com/ethauvin/pinboard-poster/tree/0.9.1) (2017-05-18) ## [0.9.1](https://github.com/ethauvin/pinboard-poster/tree/0.9.1) (2017-05-18)
[Full Changelog](https://github.com/ethauvin/pinboard-poster/compare/2ee3568e40114e19b0956ea7d12c071d5c49b0d5...0.9.1)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

View file

@ -31,21 +31,7 @@ poster.deletePin("http:///www.example.com/bar");
Your API authentication token is available on the [Pinboard settings page](https://pinboard.in/settings/password). Your API authentication token is available on the [Pinboard settings page](https://pinboard.in/settings/password).
## Usage with Maven and Gradle ## Usage with Gradle, Maven, etc.
### Maven
To install and run from Maven, configure an artifact as follows:
```xml
<dependency>
<groupId>net.thauvin.erik</groupId>
<artifactId>pinboard-poster</artifactId>
<version>1.0.1</version>
</dependency>
```
### Gradle
To install and run from Gradle, add the following to the build.gradle file: To install and run from Gradle, add the following to the build.gradle file:
@ -57,6 +43,8 @@ dependencies {
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/java/build.gradle) [View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/java/build.gradle)
[View Kotlin DSL Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/kotlin/build.gradle.kts) [View Kotlin DSL Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/kotlin/build.gradle.kts)
Instructions for using with Maven, Ivy, etc. can be found on [Maven Central](https://search.maven.org/artifact/net.thauvin.erik/pinboard-poster/1.1.0/jar)
## Adding ## Adding
The `addPin` function support all of the [Pinboard API parameters](https://pinboard.in/api/#posts_add): The `addPin` function support all of the [Pinboard API parameters](https://pinboard.in/api/#posts_add):

44
pom.xml
View file

@ -1,23 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>net.thauvin.erik</groupId> <groupId>net.thauvin.erik</groupId>
<artifactId>pinboard-poster</artifactId> <artifactId>pinboard-poster</artifactId>
<version>1.0.1</version> <version>1.1.0</version>
<dependencies>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.14.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>1.3.31</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>pinboard-poster</name> <name>pinboard-poster</name>
<description>Pinboard Poster for Kotlin/Java</description> <description>Pinboard Poster for Kotlin/Java</description>
<url>https://github.com/ethauvin/pinboard-poster</url> <url>https://github.com/ethauvin/pinboard-poster</url>
@ -32,10 +23,11 @@
<id>ethauvin</id> <id>ethauvin</id>
<name>Erik C. Thauvin</name> <name>Erik C. Thauvin</name>
<email>erik@thauvin.net</email> <email>erik@thauvin.net</email>
<url>https://erik.thauvin.net/</url>
</developer> </developer>
</developers> </developers>
<scm> <scm>
<connection>scm:git:https://github.com/ethauvin/pinboard-poster.git</connection> <connection>scm:git:git://github.com/ethauvin/pinboard-poster.git</connection>
<developerConnection>scm:git:git@github.com:ethauvin/pinboard-poster.git</developerConnection> <developerConnection>scm:git:git@github.com:ethauvin/pinboard-poster.git</developerConnection>
<url>https://github.com/ethauvin/pinboard-poster</url> <url>https://github.com/ethauvin/pinboard-poster</url>
</scm> </scm>
@ -43,4 +35,24 @@
<system>GitHub</system> <system>GitHub</system>
<url>https://github.com/ethauvin/pinboard-poster/issues</url> <url>https://github.com/ethauvin/pinboard-poster/issues</url>
</issueManagement> </issueManagement>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.4.31</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.9.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>4.9.1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project> </project>