Skip to content

Commit

Permalink
Bump version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierguihot committed Jun 16, 2018
1 parent 87b0d1d commit 32539d8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
## Overview


Version: 1.2.3

API Scaladoc: [GeoBase](http://xavierguihot.com/geobase/#com.geobase.GeoBase)
API Scaladoc: [GeoBase](http://xavierguihot.com/geobase/#com.geobase.GeoBase$)

Scala wrapper around opentraveldata (geo/travel data).

Expand Down Expand Up @@ -37,7 +35,7 @@ Inspired by [neobase](https://github.com/alexprengere/neobase) for python users.


The full list of methods is available at
[GeoBase doc](http://xavierguihot.com/geobase/#com.geobase.GeoBase)
[GeoBase doc](http://xavierguihot.com/geobase/#com.geobase.GeoBase$)

Here is a non-exhaustive list of available methods:

Expand Down Expand Up @@ -92,7 +90,7 @@ With sbt:
```scala
resolvers += "jitpack" at "https://jitpack.io"

libraryDependencies += "com.github.xavierguihot" % "geobase" % "v1.2.3"
libraryDependencies += "com.github.xavierguihot" % "geobase" % "2.0.0"
```

With maven:
Expand All @@ -108,7 +106,7 @@ With maven:
<dependency>
<groupId>com.github.xavierguihot</groupId>
<artifactId>geobase</artifactId>
<version>v1.2.3</version>
<version>2.0.0</version>
</dependency>
```

Expand All @@ -122,10 +120,13 @@ allprojects {
}
dependencies {
compile 'com.github.xavierguihot:geobase:v1.2.3'
compile 'com.github.xavierguihot:geobase:2.0.0'
}
```

For versions anterior to `2.0.0`, use prefix `v` in the version tag; for
instance `v1.0.0`


## Building the project:

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "geobase"

version := "1.2.3"
version := "2.0.0"

scalaVersion := "2.11.12"

Expand Down
3 changes: 2 additions & 1 deletion src/main/scala/com/geobase/GeoBase.scala
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@ object GeoBase extends Serializable {

require(
locations.length >= 2,
"at least 2 locations are needed to compute a geography type")
"at least 2 locations are needed to compute a geography type"
)

for {

Expand Down

0 comments on commit 32539d8

Please sign in to comment.