dm-hstore 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dm-hstore.rb +1 -5
- metadata +2 -2
- data/lib/dm-hstore/resource.rb +0 -4
data/lib/dm-hstore.rb
CHANGED
@@ -7,10 +7,6 @@ module DataMapper
|
|
7
7
|
autoload :HStore, 'dm-hstore/property'
|
8
8
|
end
|
9
9
|
|
10
|
-
module Resource
|
11
|
-
require 'dm-hstore/resource'
|
12
|
-
end
|
13
|
-
|
14
10
|
module HStoreType
|
15
11
|
def self.included(base)
|
16
12
|
base.extend ClassMethods
|
@@ -18,7 +14,7 @@ module DataMapper
|
|
18
14
|
|
19
15
|
module ClassMethods
|
20
16
|
def type_map
|
21
|
-
super.merge(Property::HStore => { primitive
|
17
|
+
super.merge(Property::HStore => { :primitive => 'hstore' }).freeze
|
22
18
|
end
|
23
19
|
end
|
24
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-hstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -67,7 +67,6 @@ extra_rdoc_files: []
|
|
67
67
|
files:
|
68
68
|
- lib/dm-hstore.rb
|
69
69
|
- lib/dm-hstore/property.rb
|
70
|
-
- lib/dm-hstore/resource.rb
|
71
70
|
homepage: https://github.com/tlux/dm-hstore
|
72
71
|
licenses: []
|
73
72
|
post_install_message:
|
@@ -93,3 +92,4 @@ signing_key:
|
|
93
92
|
specification_version: 3
|
94
93
|
summary: PostgreSQL HStore support for DataMapper.
|
95
94
|
test_files: []
|
95
|
+
has_rdoc:
|
data/lib/dm-hstore/resource.rb
DELETED