RubyGems
npm
Organizations
Log in
Sign up
RubyGems
dm-hstore
Versions diffs
0.0.2 → 0.0.3
dm-hstore 0.0.2 → 0.0.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/dm-hstore/property.rb
+2
-0
metadata
+1
-1
data/lib/dm-hstore/property.rb
CHANGED
Viewed
@@ -4,6 +4,8 @@ require 'dm-types'
4
4
module DataMapper
5
5
class Property
6
6
class HStore < Object
7
+
lazy true
8
+
7
9
def load(str)
8
10
return {} if str.nil?
9
11
hash = Hash[*str.to_s.split(',').map do |item|
metadata
CHANGED
Viewed
@@ -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.
2
4
+
version: 0.0.
3
5
5
prerelease:
6
6
platform: ruby
7
7
authors: