RuCodeGen 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/rucodegen/generation_initiator.rb +1 -1
- data/tests/tc_codegen_initiator.rb +1 -1
- metadata +98 -92
data/Rakefile
CHANGED
@@ -16,7 +16,7 @@ class CodegenInitiator
|
|
16
16
|
File.dirname( file ),
|
17
17
|
"." + File.basename( file ) + ".md5" )
|
18
18
|
|
19
|
-
@original_hash = Digest::MD5.new( File.read( @file ) )
|
19
|
+
@original_hash = Digest::MD5.new.update( File.read( @file ) )
|
20
20
|
end
|
21
21
|
|
22
22
|
# ������������ �������������, ���� ��� ����������.
|
@@ -22,7 +22,7 @@ class TC_CodegenInitiator < Test::Unit::TestCase
|
|
22
22
|
end
|
23
23
|
|
24
24
|
CODEGEN_CONTENT = "This is contents of codegen file\n"
|
25
|
-
CODEGEN_CONTENT_HASH = Digest::MD5.new( CODEGEN_CONTENT ).to_s + "\n"
|
25
|
+
CODEGEN_CONTENT_HASH = Digest::MD5.new.update( CODEGEN_CONTENT ).to_s + "\n"
|
26
26
|
CODEGEN_FILE_NAME = "cg-tc_codegen_initiator.rb"
|
27
27
|
CODEGEN_HASH_FILE_NAME = ".#{CODEGEN_FILE_NAME}.md5"
|
28
28
|
OUT_DECL_FILE = "#{CODEGEN_FILE_NAME}.decl"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.
|
2
|
+
rubygems_version: 0.9.0
|
3
3
|
specification_version: 1
|
4
4
|
name: RuCodeGen
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date:
|
6
|
+
version: 0.2.2
|
7
|
+
date: 2007-03-15 00:00:00 +03:00
|
8
8
|
summary: Simple code generation tool
|
9
9
|
require_paths:
|
10
|
-
|
10
|
+
- lib
|
11
11
|
email: eao197@yahoo.com
|
12
12
|
homepage: http://eao197.narod.ru/projects
|
13
13
|
rubyforge_project:
|
@@ -18,101 +18,107 @@ bindir: bin
|
|
18
18
|
has_rdoc: true
|
19
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
20
|
requirements:
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
version: 0.0.0
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
25
24
|
version:
|
26
25
|
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
27
29
|
authors:
|
28
|
-
|
30
|
+
- Yauheni Akhotnikau
|
29
31
|
files:
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
32
|
+
- tests/embedded_data
|
33
|
+
- tests/embedded_data/host_config
|
34
|
+
- tests/embedded_data/host_config/embedded.txt
|
35
|
+
- tests/embedded_data/host_config/etalons
|
36
|
+
- tests/embedded_data/host_config/etalons/host_config.impl.cpp
|
37
|
+
- tests/embedded_data/host_config/etalons/host_config.impl.hpp
|
38
|
+
- tests/embedded_data/host_config/standalone.txt
|
39
|
+
- tests/embedded_data/in_empty.txt
|
40
|
+
- tests/embedded_data/in_empty_fragments.txt
|
41
|
+
- tests/embedded_data/in_not_closed_last_fragment.txt
|
42
|
+
- tests/embedded_data/in_not_closed_not_last_fragment.txt
|
43
|
+
- tests/embedded_data/in_not_empty_fragments.answer.txt
|
44
|
+
- tests/embedded_data/in_not_empty_fragments.txt
|
45
|
+
- tests/embedded_data/in_no_fragments.txt
|
46
|
+
- tests/generators_test_extension.rb
|
47
|
+
- tests/tc_class_attribute.rb
|
48
|
+
- tests/tc_codegen_initiator.rb
|
49
|
+
- tests/tc_embedded_extract_fragments.rb
|
50
|
+
- tests/tc_embedded_run_rucodegen.rb
|
51
|
+
- tests/tc_filename_producer.rb
|
52
|
+
- tests/tc_generators.rb
|
53
|
+
- tests/tc_run_mode.rb
|
54
|
+
- tests/tc_value_incapsulator.rb
|
55
|
+
- tests/tc_value_incapsulator_gen.rb
|
56
|
+
- tests/ts_rucodegen.rb
|
57
|
+
- lib/rucodegen
|
58
|
+
- lib/rucodegen/begin_end.rb
|
59
|
+
- lib/rucodegen/codegen.rb
|
60
|
+
- lib/rucodegen/embedded.rb
|
61
|
+
- lib/rucodegen/filename_producer.rb
|
62
|
+
- lib/rucodegen/generation_initiator.rb
|
63
|
+
- lib/rucodegen/generators.rb
|
64
|
+
- lib/rucodegen/run_mode.rb
|
65
|
+
- lib/rucodegen/value_incapsulator.rb
|
66
|
+
- lib/rucodegen.rb
|
67
|
+
- docs/EmbeddedRuCodeGen
|
68
|
+
- docs/examples
|
69
|
+
- docs/examples/cpp
|
70
|
+
- docs/examples/cpp/custom
|
71
|
+
- docs/examples/cpp/custom/submit_deliver
|
72
|
+
- docs/examples/cpp/value_incapsulator
|
73
|
+
- docs/examples/cpp/value_incapsulator/cfg
|
74
|
+
- docs/examples/cpp/value_incapsulator/embedded_cfg
|
75
|
+
- docs/examples/cpp/value_incapsulator/host_config
|
76
|
+
- docs/Principle
|
77
|
+
- docs/ValueIncapsulator
|
78
|
+
- examples/cpp
|
79
|
+
- examples/cpp/custom
|
80
|
+
- examples/cpp/custom/submit_deliver
|
81
|
+
- examples/cpp/custom/submit_deliver/submit_deliver.rb
|
82
|
+
- examples/cpp/custom/submit_deliver/submit_deliver_gen.rb
|
83
|
+
- examples/cpp/embedded_value_incapsulator
|
84
|
+
- examples/cpp/embedded_value_incapsulator/test.cpp
|
85
|
+
- examples/cpp/value_incapsulator
|
86
|
+
- examples/cpp/value_incapsulator/cg-cfg.rb
|
87
|
+
- examples/cpp/value_incapsulator/cg-cfg.test.cpp
|
88
|
+
- examples/cpp/value_incapsulator/cg-host_config.rb
|
89
|
+
- README
|
90
|
+
- Rakefile
|
91
|
+
- LICENSE
|
92
|
+
- NEWS
|
91
93
|
test_files:
|
92
|
-
|
94
|
+
- tests/ts_rucodegen.rb
|
93
95
|
rdoc_options:
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
96
|
+
- -c
|
97
|
+
- windows-1251
|
98
|
+
- -S
|
99
|
+
- --main
|
100
|
+
- README
|
99
101
|
extra_rdoc_files:
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
102
|
+
- README
|
103
|
+
- Rakefile
|
104
|
+
- LICENSE
|
105
|
+
- NEWS
|
106
|
+
- docs/EmbeddedRuCodeGen
|
107
|
+
- docs/examples
|
108
|
+
- docs/examples/cpp
|
109
|
+
- docs/examples/cpp/custom
|
110
|
+
- docs/examples/cpp/custom/submit_deliver
|
111
|
+
- docs/examples/cpp/value_incapsulator
|
112
|
+
- docs/examples/cpp/value_incapsulator/cfg
|
113
|
+
- docs/examples/cpp/value_incapsulator/embedded_cfg
|
114
|
+
- docs/examples/cpp/value_incapsulator/host_config
|
115
|
+
- docs/Principle
|
116
|
+
- docs/ValueIncapsulator
|
115
117
|
executables: []
|
118
|
+
|
116
119
|
extensions: []
|
120
|
+
|
117
121
|
requirements: []
|
118
|
-
|
122
|
+
|
123
|
+
dependencies: []
|
124
|
+
|