angus-sdoc 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/angus/definitions_reader.rb +4 -1
- data/lib/angus/sdoc/version.rb +1 -1
- metadata +2 -2
@@ -37,8 +37,9 @@ module Angus
|
|
37
37
|
definition.representations = build_representations(definition_hash['representations'])
|
38
38
|
end
|
39
39
|
|
40
|
+
operations_hash = definition_hash['operations'] || {}
|
40
41
|
definition.operations = build_operations(
|
41
|
-
|
42
|
+
operations_hash,
|
42
43
|
definition.messages
|
43
44
|
)
|
44
45
|
|
@@ -211,6 +212,8 @@ module Angus
|
|
211
212
|
result = {}
|
212
213
|
|
213
214
|
operations_hash.each do |namespace, operations|
|
215
|
+
operations = {} unless operations.is_a?(Hash)
|
216
|
+
|
214
217
|
operations.each do |code_name, op_metadata|
|
215
218
|
operation = Angus::SDoc::Definitions::Operation.new
|
216
219
|
|
data/lib/angus/sdoc/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: angus-sdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Pablo Ifran
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-
|
14
|
+
date: 2013-11-01 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|