pg_json 0.1.24 → 0.1.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/pg_json/sequel/pg_json.rb +1 -1
  2. metadata +1 -1
@@ -23,7 +23,7 @@ class Hash
23
23
  elsif v.is_a? Array
24
24
  v.json_typify!
25
25
  else
26
- if !v.nil? && v.is_a? String
26
+ if !v.nil? && v.is_a?(String)
27
27
  if m = (v =~ /^date:/)
28
28
  self[k] = v[5..-1]
29
29
  elsif m = (v =~ /^timestamp:/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: