Skip to content

Commit fc23c18

Browse files
Merge pull request #4 from brianolsen87/dev
Dev to Master update to v0.11.2
2 parents 1f2998c + a3e91e3 commit fc23c18

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ try (OSRMTextInstructions textInstructions = new OSRMTextInstructions(VERSION))
2323
}
2424
```
2525
## Available on the central maven repository
26-
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.
26+
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.
2727

2828
## Rolling your own version
2929
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.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.github.brianolsen87</groupId>
66
<artifactId>text-instructions</artifactId>
7-
<version>0.11.1</version>
7+
<version>0.11.2</version>
88
<packaging>jar</packaging>
99

1010
<name>OSRM Text Instructions - Java J2V8 Wrapper</name>

src/main/java/us/brianolsen/instructions/OSRMTextInstructions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class OSRMTextInstructions implements Closeable {
1818
protected static final String DEFAULT_VERSION = "v5";
1919
protected static final String DEFAULT_LANGUAGE = "en";
2020
protected static final String MODULE_NAME = "osrm-text-instructions";
21-
protected static final String MODULE_VERSION = "0.11.1";
21+
protected static final String MODULE_VERSION = "0.11.2";
2222
protected static final Gson gson = new Gson();
2323

2424
private NodeJS nodeJS;

src/test/java/us/brianolsen/instructions/OSRMTextInstructionsSimpleCompileTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void testSimpleCompileCommands() {
5959
maneuver.setModifier("sharp right");
6060
step.setManeuver(maneuver);
6161

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

0 commit comments

Comments
 (0)