Skip to content

Commit

Permalink
Update datastore dependency, fix LocalDatastoreHelper version regex (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mziccard authored Oct 7, 2016
1 parent 46f808b commit 513ca70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions google-cloud-datastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
<dependency>
<groupId>com.google.cloud.datastore</groupId>
<artifactId>datastore-v1-protos</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.google.cloud.datastore</groupId>
<artifactId>datastore-v1-proto-client</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
<exclusions>
<exclusion>
<artifactId>guava-jdk5</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private static Path executablePath(String cmd) {

private static class Version implements Comparable<Version> {

private static final Pattern VERSION_PATTERN = Pattern.compile("(\\d+).(\\d+).(\\d+)");
private static final Pattern VERSION_PATTERN = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)$");

final int major;
final int minor;
Expand Down

0 comments on commit 513ca70

Please sign in to comment.