occi 2.0.2 → 2.0.3
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.
- data/lib/occi/core/entity.rb +2 -0
- data/lib/occi/core/resource.rb +1 -0
- data/lib/occi/version.rb +1 -1
- metadata +2 -2
data/lib/occi/core/entity.rb
CHANGED
|
@@ -56,6 +56,7 @@ module OCCI
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
def id
|
|
59
|
+
self[:id] ||= self.attributes!.occi!.core!.id if self.attributes!.occi!.core
|
|
59
60
|
return self[:id]
|
|
60
61
|
end
|
|
61
62
|
|
|
@@ -65,6 +66,7 @@ module OCCI
|
|
|
65
66
|
end
|
|
66
67
|
|
|
67
68
|
def title
|
|
69
|
+
self[:title] ||= self.attributes!.occi!.core!.title if self.attributes!.occi!.core
|
|
68
70
|
return self[:title]
|
|
69
71
|
end
|
|
70
72
|
|
data/lib/occi/core/resource.rb
CHANGED
data/lib/occi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: occi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2012-06-
|
|
13
|
+
date: 2012-06-05 00:00:00.000000000 Z
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: OCCI is a collection of classes to simplify the implementation of the
|
|
16
16
|
Open Cloud Computing API in Ruby
|