activerecord-postgres-hstore 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "activerecord-postgres-hstore"
8
- s.version = "0.5.2"
8
+ s.version = "0.5.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Juan Maiz", "Diogo Biazus"]
12
- s.date = "2013-01-09"
12
+ s.date = "2013-01-14"
13
13
  s.description = "This gem adds support for the postgres hstore type. It is the _just right_ alternative for storing hashes instead of using seralization or dynamic tables."
14
14
  s.email = "juanmaiz@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -176,7 +176,7 @@ module ActiveRecord
176
176
 
177
177
  end
178
178
 
179
- class PostgreSQLColumn
179
+ class PostgreSQLColumn < Column
180
180
  # Does the type casting from hstore columns using String#from_hstore or Hash#from_hstore.
181
181
  def type_cast_code_with_hstore(var_name)
182
182
  type == :hstore ? "#{var_name}.from_hstore" : type_cast_code_without_hstore(var_name)
@@ -191,7 +191,7 @@ module ActiveRecord
191
191
  alias_method_chain :simplified_type, :hstore
192
192
  end
193
193
 
194
- class PostgreSQLAdapter
194
+ class PostgreSQLAdapter < AbstractAdapter
195
195
  def native_database_types_with_hstore
196
196
  native_database_types_without_hstore.merge({:hstore => { :name => "hstore" }})
197
197
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-postgres-hstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-09 00:00:00.000000000 Z
13
+ date: 2013-01-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -254,7 +254,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
254
254
  version: '0'
255
255
  segments:
256
256
  - 0
257
- hash: -481110951337934474
257
+ hash: 94611636127363795
258
258
  required_rubygems_version: !ruby/object:Gem::Requirement
259
259
  none: false
260
260
  requirements: