Skip to content

Commit

Permalink
Merge pull request #7 from amadeus4dev/version_1.0.1
Browse files Browse the repository at this point in the history
fix documentation typos and publish a new version with signed jar
  • Loading branch information
anthonyroux authored May 30, 2018
2 parents 2e8e7fd + cdcd568 commit b235133
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To run the project locally, clone the repository and install the dependencies.
```
git clone https://github.com/amadeusdev/amadeus-java.git
cd amadeus-java
bundle
gradle
```

Make sure you have Gradle installed as well.
Expand All @@ -18,20 +18,20 @@ For example, for InteliJ follow [these instructions](https://projectlombok.org/s

### Running tests

To run tests, simply run `./gradlew tests`.
To run tests, simply run `./gradlew test`

We are trying to keep 100% coverage, so keep an eye on the `coverage` folder for an overview of the coverage.

### Building

To build the jar run `./gradlew clean build`.
To build the jar run `./gradlew clean build`

### Using a library locally

To use a library locally as a dependency, simply link to this library in your Gradle project by path:

```js
compile files('/path/to/libs/amadeus-java-1.0.0-SNAPSHOT.jar')
compile files('/path/to/libs/amadeus-java-1.0.1-SNAPSHOT.jar')
```

### Releasing
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ You can install the SDK via Maven or Gradle.
<dependency>
<groupId>com.amadeus</groupId>
<artifactId>amadeus-java</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</dependency>
```
#### Gradle
```js
compile "com.amadeus:amadeus-java:1.0.0"
compile "com.amadeus:amadeus-java:1.0.1"
```

## Getting Started

To send make your first API call you will need to [register for an Amadeus
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.amadeus
VERSION_NAME=1.0.0
VERSION_NAME=1.0.1

POM_URL=https://github.com/amadeus4dev/amadeus-java
POM_SCM_URL[email protected]:amadeus4dev/amadeus-java.git
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/amadeus/Amadeus.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class Amadeus extends HTTPClient {
/**
* The API version.
*/
public static final String VERSION = "1.0.0";
public static final String VERSION = "1.0.1";

/**
* <p>
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/amadeus/AmadeusTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void testBuilderWithInvalidEnvironment() {
}

@Test public void testVersion() {
assertEquals("should have a version number", Amadeus.VERSION, "1.0.0");
assertEquals("should have a version number", Amadeus.VERSION, "1.0.1");
}

}

0 comments on commit b235133

Please sign in to comment.