delayed_job_couchrest_model 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,10 +5,10 @@ class CouchRest::Model::Base
5
5
  yaml_as "tag:ruby.yaml.org,2002:CouchRest"
6
6
 
7
7
  def self.yaml_new(klass, tag, val)
8
- klass.get(val['_id'])
8
+ klass.get(val['_attributes']['_id'])
9
9
  end
10
10
  def to_yaml_properties
11
- ['@id']
11
+ ['@_attributes']
12
12
  end
13
13
  def ==(other)
14
14
  if other.is_a? ::CouchRest::Model::Base
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_couchrest_model
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - GTen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-25 00:00:00 Z
18
+ date: 2011-10-27 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: couchrest_model