dtk-dsl 1.0.3 → 1.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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +2 -2
- data/lib/dsl/service_and_component_info/transform_to/parser/component_module/top_dsl.rb +1 -1
- data/lib/dsl/version.rb +1 -1
- metadata +3 -4
- data/.byebug_history +0 -70
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4d47922ee6c015d65d73ef7bcd0fe0dbc7cb846
|
|
4
|
+
data.tar.gz: 9b454801e5420372da84efd4356c78e39a8d304b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc673a8588096a85974576262f0092a9f20d733504bd0f1c29bd65597ce895933308290337a941fa03b34c77f3a0947e78908450ee35ed63336278690f4e98bc
|
|
7
|
+
data.tar.gz: bbf66bc0ecb91f507397822029cd941c515f7f6e414c6f6c1884fee4aae862418008aa9c4f8b7b11e37144ffee803e26464c41615859de264303b9071474940b
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# dtk-
|
|
2
|
-
|
|
1
|
+
# dtk-dsl
|
|
2
|
+
Dtk DSL is a library used for parsing and generating DSL files used as primary description of services and modules. It is used by Dtk Client and Dtk Server
|
|
@@ -21,8 +21,8 @@ module DTK::DSL; class ServiceAndComponentInfo::TransformTo
|
|
|
21
21
|
class TopDSL < Parser
|
|
22
22
|
def update_output_hash?
|
|
23
23
|
if module_dsl_canonical_hash = input_file_hash?(:module)
|
|
24
|
+
add_module_info_to_output_hash!
|
|
24
25
|
if component_defs = module_dsl_canonical_hash.val(:ComponentDefs)
|
|
25
|
-
add_module_info_to_output_hash!
|
|
26
26
|
add_components_to_output_hash!(component_defs)
|
|
27
27
|
output_hash
|
|
28
28
|
end
|
data/lib/dsl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dtk-dsl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Reactor8
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Library for parsing DT DSL files.
|
|
14
14
|
email: support@reactor8.com
|
|
@@ -16,7 +16,6 @@ executables: []
|
|
|
16
16
|
extensions: []
|
|
17
17
|
extra_rdoc_files: []
|
|
18
18
|
files:
|
|
19
|
-
- ".byebug_history"
|
|
20
19
|
- ".gitignore"
|
|
21
20
|
- Gemfile
|
|
22
21
|
- README.md
|
|
@@ -150,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
150
149
|
version: '0'
|
|
151
150
|
requirements: []
|
|
152
151
|
rubyforge_project:
|
|
153
|
-
rubygems_version: 2.4.
|
|
152
|
+
rubygems_version: 2.4.1
|
|
154
153
|
signing_key:
|
|
155
154
|
specification_version: 4
|
|
156
155
|
summary: Library for parsing DT DSL files.
|
data/.byebug_history
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
c
|
|
2
|
-
s
|
|
3
|
-
@valid_tags
|
|
4
|
-
s
|
|
5
|
-
c
|
|
6
|
-
b 70
|
|
7
|
-
c
|
|
8
|
-
quit
|
|
9
|
-
tag_split.size
|
|
10
|
-
tag_split.split.size
|
|
11
|
-
tag_split.split >= tag_type_split.size
|
|
12
|
-
n
|
|
13
|
-
split(tag)
|
|
14
|
-
split(tag_type)
|
|
15
|
-
pp [tag_type, tag]
|
|
16
|
-
s
|
|
17
|
-
n
|
|
18
|
-
b 43
|
|
19
|
-
compute_valid_tags
|
|
20
|
-
s
|
|
21
|
-
c
|
|
22
|
-
b /tmp/t.rb:17
|
|
23
|
-
c
|
|
24
|
-
quit
|
|
25
|
-
tag_split
|
|
26
|
-
n
|
|
27
|
-
split(tag)
|
|
28
|
-
c
|
|
29
|
-
b 49
|
|
30
|
-
c
|
|
31
|
-
quit
|
|
32
|
-
exit
|
|
33
|
-
t.to_s.split(DELIMITER).map(&:to_sym)
|
|
34
|
-
t.to_s.split(DELIMITER).map(to_sym)
|
|
35
|
-
t.to_s.split(DELIMITER).map(&to_sym)
|
|
36
|
-
t.to_s.split(DELIMITER).map { |x| x.to_sym}
|
|
37
|
-
t.to_s.split(DELIMITER).map(&to_sym)
|
|
38
|
-
t.to_s.split(DELIMITER)
|
|
39
|
-
t
|
|
40
|
-
s
|
|
41
|
-
pp tag
|
|
42
|
-
c
|
|
43
|
-
b 49
|
|
44
|
-
c
|
|
45
|
-
s
|
|
46
|
-
base_dsl_file_obj.file_type
|
|
47
|
-
base_dsl_file_obj.path?
|
|
48
|
-
n
|
|
49
|
-
base_dsl_file_obj.path?
|
|
50
|
-
s
|
|
51
|
-
c
|
|
52
|
-
b /home/cli/dtk-cli/lib/cli/context.rb:40
|
|
53
|
-
c
|
|
54
|
-
pp base_dsl_file_obj
|
|
55
|
-
base_dsl_file_obj
|
|
56
|
-
base_dsl_file_obj.path?
|
|
57
|
-
s
|
|
58
|
-
n
|
|
59
|
-
s
|
|
60
|
-
c
|
|
61
|
-
b /home/cli/dtk-cli/lib/cli/directory_parser/file_system.rb:38
|
|
62
|
-
c
|
|
63
|
-
quit
|
|
64
|
-
s
|
|
65
|
-
c
|
|
66
|
-
b /home/cli/.gem/ruby/2.0/gems/dtk-dsl-0.0.1/lib/dtk_dsl.rb:20
|
|
67
|
-
n
|
|
68
|
-
s
|
|
69
|
-
n
|
|
70
|
-
s
|