diff --git a/README.md b/README.md index 6db4fb4..48c1576 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PostgresExt -Provides a helpful querying API for Rails 4 + PostgreSQL +Adds missing native PostgreSQL data types to ActiveRecord and convenient querying extensions for ActiveRecord and Arel [![Build Status](https://secure.travis-ci.org/dockyard/postgres_ext.png?branch=master)](http://travis-ci.org/dockyard/postgres_ext) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/dockyard/postgres_ext) @@ -34,10 +34,15 @@ Or install it yourself as: ## Usage Just `require 'postgres_ext'` and use ActiveRecord as you normally would! postgres\_ext extends -ActiveRecord's data type handling. +ActiveRecord's data type handling and query methods in both Arel and +ActiveRecord. * [Querying PostgreSQL datatypes](docs/querying.md) +Where are the datatypes from PostgresExt 1.x? ActiveRecord 4.x includes +all the data types that PostgresExt added to ActiveRecord 3.2.x. We'll +be adding more datatypes as we come across them. + ## Authors Dan McClain [twitter](http://twitter.com/_danmcclain) [github](http://github.com/danmcclain) diff --git a/lib/postgres_ext/version.rb b/lib/postgres_ext/version.rb index bef9535..e642fd9 100644 --- a/lib/postgres_ext/version.rb +++ b/lib/postgres_ext/version.rb @@ -1,3 +1,3 @@ module PostgresExt - VERSION = '0.4.0' + VERSION = '2.0.0' end diff --git a/postgres_ext.gemspec b/postgres_ext.gemspec index af39c7d..06f74e8 100644 --- a/postgres_ext.gemspec +++ b/postgres_ext.gemspec @@ -4,9 +4,10 @@ require File.expand_path('../lib/postgres_ext/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Dan McClain"] gem.email = ["git@danmcclain.net"] - gem.description = %q{Provides a helpful querying API for Rails 4 + PostgreSQL} - gem.summary = %q{Provides a helpful querying API for Rails 4 + PostgreSQL} + gem.description = %q{Adds missing native PostgreSQL data types to ActiveRecord and convenient querying extensions for ActiveRecord and Arel} + gem.summary = %q{Extends ActiveRecord to handle native PostgreSQL data types} gem.homepage = "" + gem.license = ['MIT'] gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } gem.files = `git ls-files`.split("\n") @@ -16,6 +17,7 @@ Gem::Specification.new do |gem| gem.version = PostgresExt::VERSION gem.add_dependency 'activerecord', '~> 4.0.0' + gem.add_dependency 'arel', '~> 4.0.0' gem.add_dependency 'pg_array_parser', '~> 0.0.9' gem.add_development_dependency 'rails', '~> 4.0.0'