diff --git a/README.md b/README.md index 4fcda2e5..b3599a05 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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)_ @@ -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)_ @@ -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