dtk_crd_parser 0.0.35 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 429ee0e3e049fa201035d44cab3b80b288b09445
|
4
|
+
data.tar.gz: 23e890e0c38e40cc5c9b1f7cc43fc970e0b6b529
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 023e586f3ae832543c9d89119ce1eb8f14eb2ceb2847a3793a02cd6d1c594c7043c1efa56aa5bfbf3f2c130ce8770c2e5320d67ec97234faf80b1a83873dfe3b
|
7
|
+
data.tar.gz: 1975d3342575dc2f84715efc1b5d3442cd4ea61c47431c83aa4a8e6d2d1fcff9e4eeb3b8e9c2edf308027b36b1ddf70a8d66db1c6ae5ee5535e20d7c8d7aa63c
|
@@ -1,6 +1,9 @@
|
|
1
1
|
module DTK::CrdParser
|
2
2
|
class Component
|
3
3
|
class Attribute < BaseClass
|
4
|
+
|
5
|
+
attr_reader :name, :value
|
6
|
+
|
4
7
|
def initialize(name, value)
|
5
8
|
@name = name
|
6
9
|
@value = value
|
@@ -10,9 +13,6 @@ module DTK::CrdParser
|
|
10
13
|
Attribute.new(attribute_name, attribute_value)
|
11
14
|
end
|
12
15
|
|
13
|
-
protected
|
14
|
-
|
15
|
-
attr_reader :name, :value
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -1,6 +1,9 @@
|
|
1
1
|
module DTK::CrdParser
|
2
2
|
class ComponentDef
|
3
3
|
class AttributeTypeInfo < BaseClass
|
4
|
+
|
5
|
+
attr_reader :name, :type, :required, :dynamic
|
6
|
+
|
4
7
|
def initialize(params)
|
5
8
|
@name = params[:name]
|
6
9
|
@type = params[:type]
|
@@ -12,9 +15,6 @@ module DTK::CrdParser
|
|
12
15
|
AttributeTypeInfo.new(attribute)
|
13
16
|
end
|
14
17
|
|
15
|
-
protected
|
16
|
-
|
17
|
-
attr_reader :name
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|