delayed_job_couchrest_model 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- class CouchRest::ExtendedDocument
1
+ class CouchRest::Model::Base
2
2
  yaml_as "tag:ruby.yaml.org,2002:CouchRest"
3
3
 
4
4
  def reload
@@ -13,9 +13,9 @@ class CouchRest::ExtendedDocument
13
13
  end
14
14
  def to_yaml_properties
15
15
  ['@id']
16
- end
16
+ end
17
17
  def ==(other)
18
- if other.is_a? ::CouchRest::ExtendedDocument
18
+ if other.is_a? ::CouchRest::Model::Base
19
19
  self['_id'] == other['_id']
20
20
  else
21
21
  super
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: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - GTen
@@ -73,7 +73,7 @@ extra_rdoc_files:
73
73
  - README.md
74
74
  files:
75
75
  - lib/delayed/backend/couchrest_model.rb
76
- - lib/delayed/serialization/couch_rest.rb
76
+ - lib/delayed/serialization/couchrest_model.rb
77
77
  - lib/delayed_job_couchrest_model.rb
78
78
  - spec/delayed_job_couch_rest_spec.rb
79
79
  - spec/spec.opts