amiando 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -65,6 +65,10 @@ module Amiando
65
65
  def initialize(hash)
66
66
  set_attributes(hash)
67
67
  end
68
+
69
+ def object_id
70
+ attributes[:object_id]
71
+ end
68
72
  end
69
73
  end
70
74
  end
@@ -1,3 +1,3 @@
1
1
  module Amiando
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
@@ -25,9 +25,10 @@ describe Amiando::Sync do
25
25
 
26
26
  describe Amiando::Sync::Event do
27
27
  it 'simply converts the given attributes' do
28
- sync_event = Amiando::Sync::Event.new(:id => 1, :path => '/some/thing')
28
+ sync_event = Amiando::Sync::Event.new(:id => 1, :object_id => 12, :path => '/some/thing')
29
29
 
30
30
  sync_event.id.must_equal 1
31
+ sync_event.object_id.must_equal 12
31
32
  sync_event.path.must_equal '/some/thing'
32
33
  end
33
34
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amiando
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 3
10
- version: 0.4.3
9
+ - 4
10
+ version: 0.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jorge Dias
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-09-12 00:00:00 Z
19
+ date: 2012-09-13 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  requirement: &id001 !ruby/object:Gem::Requirement