rgen 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/CHANGELOG +10 -0
  2. data/README.rdoc +1 -1
  3. data/Rakefile +1 -1
  4. data/lib/rgen/ecore/ecore_to_ruby.rb +112 -49
  5. data/lib/rgen/instantiator/default_xml_instantiator.rb +93 -88
  6. data/lib/rgen/metamodel_builder/builder_extensions.rb +20 -4
  7. data/lib/rgen/template_language/output_handler.rb +42 -19
  8. data/lib/rgen/template_language/template_container.rb +10 -4
  9. data/test/coverage/assets/0.10.0/application.css +799 -0
  10. data/test/coverage/assets/0.10.0/application.js +1707 -0
  11. data/test/coverage/assets/0.10.0/colorbox/border.png +0 -0
  12. data/test/coverage/assets/0.10.0/colorbox/controls.png +0 -0
  13. data/test/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
  14. data/test/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
  15. data/test/coverage/assets/0.10.0/favicon_green.png +0 -0
  16. data/test/coverage/assets/0.10.0/favicon_red.png +0 -0
  17. data/test/coverage/assets/0.10.0/favicon_yellow.png +0 -0
  18. data/test/coverage/assets/0.10.0/loading.gif +0 -0
  19. data/test/coverage/assets/0.10.0/magnify.png +0 -0
  20. data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  21. data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  22. data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  23. data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  24. data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  25. data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  26. data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  27. data/test/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  28. data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  29. data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  30. data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  31. data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  32. data/test/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  33. data/test/coverage/index.html +72 -0
  34. data/test/ecore_to_ruby_test.rb +73 -0
  35. data/test/metamodel_builder_test.rb +2 -2
  36. data/test/model_builder/ecore_internal.rb +12 -12
  37. data/test/rgen_test.rb +1 -0
  38. data/test/template_language_test.rb +15 -1
  39. data/test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl +14 -0
  40. data/test/template_language_test/templates/indent_same_line_sub/test.tpl +16 -0
  41. data/test/testmodel/ea_testmodel_regenerated.xml +583 -583
  42. metadata +37 -7
  43. checksums.yaml +0 -7
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Martin Thiede
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-04-01 00:00:00.000000000 Z
12
+ date: 2015-11-15 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description: RGen is a framework for Model Driven Software Development (MDSD) in Ruby.
14
15
  This means that it helps you build Metamodels, instantiate Models, modify and transform
@@ -96,9 +97,35 @@ files:
96
97
  - lib/transformers/ecore_to_uml13.rb
97
98
  - lib/transformers/uml13_to_ecore.rb
98
99
  - test/array_extensions_test.rb
100
+ - test/coverage/assets/0.10.0/application.css
101
+ - test/coverage/assets/0.10.0/application.js
102
+ - test/coverage/assets/0.10.0/colorbox/border.png
103
+ - test/coverage/assets/0.10.0/colorbox/controls.png
104
+ - test/coverage/assets/0.10.0/colorbox/loading.gif
105
+ - test/coverage/assets/0.10.0/colorbox/loading_background.png
106
+ - test/coverage/assets/0.10.0/favicon_green.png
107
+ - test/coverage/assets/0.10.0/favicon_red.png
108
+ - test/coverage/assets/0.10.0/favicon_yellow.png
109
+ - test/coverage/assets/0.10.0/loading.gif
110
+ - test/coverage/assets/0.10.0/magnify.png
111
+ - test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
112
+ - test/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
113
+ - test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
114
+ - test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
115
+ - test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
116
+ - test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
117
+ - test/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
118
+ - test/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
119
+ - test/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png
120
+ - test/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png
121
+ - test/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png
122
+ - test/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png
123
+ - test/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png
124
+ - test/coverage/index.html
99
125
  - test/ea_instantiator_test.rb
100
126
  - test/ea_serializer_test.rb
101
127
  - test/ecore_self_test.rb
128
+ - test/ecore_to_ruby_test.rb
102
129
  - test/environment_test.rb
103
130
  - test/json_test.rb
104
131
  - test/metamodel_builder_test.rb
@@ -143,6 +170,8 @@ files:
143
170
  - test/template_language_test/templates/define_local_test/local.tpl
144
171
  - test/template_language_test/templates/define_local_test/test.tpl
145
172
  - test/template_language_test/templates/evaluate_test/test.tpl
173
+ - test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
174
+ - test/template_language_test/templates/indent_same_line_sub/test.tpl
146
175
  - test/template_language_test/templates/indent_string_test.tpl
147
176
  - test/template_language_test/templates/index/c/cmod.tpl
148
177
  - test/template_language_test/templates/index/chapter.tpl
@@ -182,7 +211,6 @@ files:
182
211
  - Rakefile
183
212
  homepage: http://ruby-gen.org
184
213
  licenses: []
185
- metadata: {}
186
214
  post_install_message:
187
215
  rdoc_options:
188
216
  - --main
@@ -196,19 +224,21 @@ rdoc_options:
196
224
  require_paths:
197
225
  - lib
198
226
  required_ruby_version: !ruby/object:Gem::Requirement
227
+ none: false
199
228
  requirements:
200
- - - '>='
229
+ - - ! '>='
201
230
  - !ruby/object:Gem::Version
202
231
  version: '0'
203
232
  required_rubygems_version: !ruby/object:Gem::Requirement
233
+ none: false
204
234
  requirements:
205
- - - '>='
235
+ - - ! '>='
206
236
  - !ruby/object:Gem::Version
207
237
  version: '0'
208
238
  requirements: []
209
239
  rubyforge_project: rgen
210
- rubygems_version: 2.0.3
240
+ rubygems_version: 1.8.24
211
241
  signing_key:
212
- specification_version: 4
242
+ specification_version: 3
213
243
  summary: Ruby Modelling and Generator Framework
214
244
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: fe212a74ff9c45d6fcd848596acb527d6def24f5
4
- data.tar.gz: 3c99d2170dab24b922a30a5a5420f03aaa05779e
5
- SHA512:
6
- metadata.gz: a70a59af207fcf7d3c35c0f8785a9bcceebb370b9a0f41e07a2103bc563256acd6e5160d256c1e8c786d52f48f9e540ed62e2105348b9b9a520a57f9d0a99c0b
7
- data.tar.gz: eae33d63df0964a0175917aa7efd711306e933a4ab56fa938976a5d28eb8fc53a3e7e18e984a4c89dd134d0421418f6d86ff02a60c1e7e011620a544a62b6edd