Skip to content

Commit

Permalink
Merge pull request #4 from brianolsen87/dev
Browse files Browse the repository at this point in the history
Dev to Master update to v0.11.2
  • Loading branch information
bitsondatadev authored Jan 11, 2018
2 parents 1f2998c + a3e91e3 commit fc23c18
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ try (OSRMTextInstructions textInstructions = new OSRMTextInstructions(VERSION))
}
```
## Available on the central maven repository
This library is available on [The Central Repository](http://repo1.maven.apache.org/maven2/com/github/brianolsen87/text-instructions/0.11.0/). My versioning will match the OSRM Text Instruction projects and will have the maven dependency tags for the pom included on [the release page](https://github.com/brianolsen87/text-instructions/releases). I will stay posted when a version has updated and keep up with original library as quickly as I can.
This library is available on the central repository. My versioning will match the OSRM Text Instruction projects and will have the maven dependency tags for the pom included on [the release page](https://github.com/brianolsen87/text-instructions/releases). I will stay posted when a version has updated and keep up with original library as quickly as I can.

## Rolling your own version
I have pre-installed the node modules in the resource folders to avoid the user needing to install node.js or npm. If, however, you want the latest version you will need to go to [osrm-text-instruction release page](https://github.com/Project-OSRM/osrm-text-instructions/releases) and download the version you like as a zip file and add it to src/main/resources/node_modules. You'll then need ot update OSRMTextInstructions.MODULE_VERSION to the verison that you have added. At this point you must verify that any new or changed methods in install.js are wrapped correctly in [OSRMTextInstructions.java](https://github.com/brianolsen87/text-instructions/blob/master/src/main/java/us/brianolsen/instructions/OSRMTextInstructions.java). If you don't want to do this just wait a few days and i'll add the latest version.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.github.brianolsen87</groupId>
<artifactId>text-instructions</artifactId>
<version>0.11.1</version>
<version>0.11.2</version>
<packaging>jar</packaging>

<name>OSRM Text Instructions - Java J2V8 Wrapper</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class OSRMTextInstructions implements Closeable {
protected static final String DEFAULT_VERSION = "v5";
protected static final String DEFAULT_LANGUAGE = "en";
protected static final String MODULE_NAME = "osrm-text-instructions";
protected static final String MODULE_VERSION = "0.11.1";
protected static final String MODULE_VERSION = "0.11.2";
protected static final Gson gson = new Gson();

private NodeJS nodeJS;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void testSimpleCompileCommands() {
maneuver.setModifier("sharp right");
step.setManeuver(maneuver);

assertEquals("Take a sharp right at the fork onto Route 66", textInstructions.compile("en", step, null));
assertEquals("Take a sharp right onto Route 66", textInstructions.compile("en", step, null));
assertEquals("Gire a la derecha en el cruce en Route 66", textInstructions.compile("es", step, null));
assertEquals("Svolta a destra al bivio in Route 66", textInstructions.compile("it", step, null));
assertEquals("Rechtsaf op de splitsing naar Route 66", textInstructions.compile("nl", step, null));
Expand Down

0 comments on commit fc23c18

Please sign in to comment.