edr 0.0.3 → 0.0.4

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.
@@ -7,11 +7,11 @@ module Edr
7
7
  data_object = data(model)
8
8
  data_object.save!
9
9
 
10
- model.id = data_object.id
11
- model.send(:repository=, self)
10
+ model.id = data_object.id if model.respond_to?(:id)
11
+ model.send(:repository=, self) if model.respond_to?(:repository)
12
12
 
13
13
  model
14
14
  end
15
15
  end
16
16
  end
17
- end
17
+ end
@@ -1,3 +1,3 @@
1
1
  module Edr
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: