Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
teeparham committed Jul 1, 2016
1 parent 8d9cf7e commit 3b94f72
Showing 1 changed file with 17 additions and 33 deletions.
50 changes: 17 additions & 33 deletions README.md
Expand Up @@ -31,11 +31,23 @@ RGeo objects can be embedded in where clauses.

The adapter requires PostgreSQL 9.0+.

#### Version 4.x supports ActiveRecord 5.0+
Gemfile:

```ruby
gem 'activerecord-postgis-adapter'
```

Gemfile for JRuby:

```ruby
gem 'activerecord-postgis-adapter'
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.3.9'
gem 'ffi-geos'
```

_Version 4.0 is is beta_
_JRuby support for Rails 4.0 and 4.1 was added in version 2.2.0_

See https://github.com/rgeo/activerecord-postgis-adapter/pull/213
#### Version 4.x supports ActiveRecord 5.0+

Requirements:

Expand All @@ -45,28 +57,16 @@ Ruby 2.2.2+, JRuby
PostGIS 2.0+
```

Gemfile:

```ruby
gem 'activerecord-postgis-adapter', '~> 4.0.0.beta'
```

#### Version 3.x supports ActiveRecord 4.2

Requirements:

```
ActiveRecord 4.2+
ActiveRecord 4.2
Ruby 1.9.3+, JRuby
PostGIS 2.0+
```

Gemfile:

```ruby
gem 'activerecord-postgis-adapter'
```

#### Version 2.x supports ActiveRecord 4.0.x and 4.1.x

_If you are using version 2.x, you should read [the version 2.x README](https://github.com/rgeo/activerecord-postgis-adapter/blob/2.0-stable/README.md)_
Expand All @@ -79,22 +79,6 @@ Ruby 1.9.3+, JRuby
PostGIS 2.0+
```

Gemfile:

```ruby
gem 'activerecord-postgis-adapter'
```

Gemfile for JRuby:

```ruby
gem 'activerecord-postgis-adapter'
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.3.9'
gem 'ffi-geos'
```

_JRuby support for Rails 4.0 and 4.1 was added in version 2.2.0_

#### Version 0.6.x supports ActiveRecord 3.x

_If you are using version 0.6.x, you should read [the version 0.6.x / 2.x README](https://github.com/rgeo/activerecord-postgis-adapter/blob/2.0-stable/README.md)_
Expand Down Expand Up @@ -474,6 +458,6 @@ a head start on the implementation.

## License

Copyright 2015 Daniel Azuma, Tee Parham
Copyright Daniel Azuma, Tee Parham

https://github.com/rgeo/activerecord-postgis-adapter/blob/master/LICENSE.txt

0 comments on commit 3b94f72

Please sign in to comment.