norr-couchrest 0.33.06 → 0.33.07

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,7 +102,7 @@ module CouchRest
102
102
  #value.is_a?(String) ? Time.mktime_with_offset(value.dup) : value
103
103
  # This fast method doesn't work 100% of the time...
104
104
  # I get TypeError: no implicit conversion from nil to integer (line: 17)
105
- self[key].is_a?(String) ? Time.parse(self[key].dup) : self[key]
105
+ value.is_a?(String) ? Time.parse(value.dup) : value
106
106
  # Float instances don't get initialized with #new
107
107
  elsif ((property.init_method == 'new') && klass == Float)
108
108
  cast_float(value)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norr-couchrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.06
4
+ version: 0.33.07
5
5
  platform: ruby
6
6
  authors:
7
7
  - J. Chris Anderson