occi-core 5.0.0.beta.1 → 5.0.0.beta.2
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.
- checksums.yaml +4 -4
- data/lib/occi/core/helpers/hash_dereferencer.rb +0 -2
- data/lib/occi/core/version.rb +1 -1
- data/lib/occi/monkey_island/hash.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4675e314cf19f192bbcfece6cac431c9f5468b6
|
|
4
|
+
data.tar.gz: 74e07a50b255f6291fef53b63b41cdf25411557e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ef908e88ec86283347f10618e95466f3fa9c4a9580667cf2036d6efe8dcfe3f2960f9c1484da62a40621010f5b9efd8a25645dc27a7a9837c687a14547e4a16
|
|
7
|
+
data.tar.gz: 76722a02aa0d42edea99e22d65e048327dd3990c7ac34a486b146bad4b872634bcf78bc2dfbbaf63ad0108d2b46d10410d8e97cef9c61567885c0c9df22d88ae
|
|
@@ -128,7 +128,6 @@ module Occi
|
|
|
128
128
|
# @param model [Occi::Core::Model] model instance for dereferencing (category look-up)
|
|
129
129
|
# @return [Occi::Core::Category] instance located in the model
|
|
130
130
|
def dereference_via_model(identifier, model)
|
|
131
|
-
logger.debug "Dereferencing #{identifier.inspect} by look-up in model"
|
|
132
131
|
model.find_by_identifier!(identifier)
|
|
133
132
|
end
|
|
134
133
|
|
|
@@ -139,7 +138,6 @@ module Occi
|
|
|
139
138
|
# @param hash [Hash] hash with known attribute definitions for dereferencing
|
|
140
139
|
# @return [Occi::Core::AttributeDefinition] definition located in the hash
|
|
141
140
|
def dereference_via_hash(identifier, hash)
|
|
142
|
-
logger.debug "Dereferencing #{identifier.inspect} by look-up in hash"
|
|
143
141
|
raise "Attribute definition #{identifier.inspect} not found in the hash" unless hash[identifier]
|
|
144
142
|
hash[identifier]
|
|
145
143
|
end
|
data/lib/occi/core/version.rb
CHANGED
|
@@ -3,7 +3,7 @@ module Occi
|
|
|
3
3
|
MAJOR_VERSION = 5 # Major update constant
|
|
4
4
|
MINOR_VERSION = 0 # Minor update constant
|
|
5
5
|
PATCH_VERSION = 0 # Patch/Fix version constant
|
|
6
|
-
STAGE_VERSION = 'beta.
|
|
6
|
+
STAGE_VERSION = 'beta.2'.freeze # use `nil` for production releases
|
|
7
7
|
|
|
8
8
|
unless defined?(::Occi::Core::VERSION)
|
|
9
9
|
VERSION = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: occi-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.0.beta.
|
|
4
|
+
version: 5.0.0.beta.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Boris Parak
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2017-06-
|
|
13
|
+
date: 2017-06-13 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: json
|