rgen 0.6.6 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG +9 -0
- data/Rakefile +1 -1
- data/lib/rgen/ecore/ecore.rb +6 -2
- data/lib/rgen/fragment/model_fragment.rb +1 -16
- data/lib/rgen/instantiator/ecore_xml_instantiator.rb +2 -1
- data/lib/rgen/instantiator/xmi11_instantiator.rb +1 -1
- data/lib/rgen/metamodel_builder/builder_extensions.rb +6 -2
- data/lib/rgen/metamodel_builder/builder_runtime.rb +75 -0
- data/lib/rgen/metamodel_builder/data_types.rb +5 -0
- data/lib/rgen/metamodel_builder/intermediate/feature.rb +1 -0
- data/lib/rgen/serializer/xmi20_serializer.rb +1 -0
- data/test/metamodel_builder_test.rb +282 -1
- data/test/metamodel_from_ecore_test.rb +12 -0
- data/test/metamodel_roundtrip_test.rb +7 -4
- data/test/metamodel_roundtrip_test/TestModel.rb +1 -0
- data/test/metamodel_roundtrip_test/TestModel_Regenerated.rb +1 -0
- data/test/metamodel_roundtrip_test/houseMetamodel.ecore +1 -0
- data/test/metamodel_roundtrip_test/houseMetamodel_Regenerated.ecore +1 -0
- data/test/metamodel_roundtrip_test/houseMetamodel_from_ecore.rb +1 -0
- data/test/metamodel_roundtrip_test/using_builtin_types.ecore +3 -2
- data/test/metamodel_roundtrip_test/using_builtin_types_serialized.ecore +3 -2
- data/test/model_builder/ecore_internal.rb +7 -7
- data/test/testmodel/ea_testmodel_regenerated.xml +583 -583
- data/test/xml_instantiator_test/simple_xmi_to_ecore.rb +1 -1
- metadata +7 -9
@@ -47,7 +47,7 @@ class SimpleXmiToECore < RGen::Transformer
|
|
47
47
|
end
|
48
48
|
|
49
49
|
transform SimpleXMIMetaModel::UML::Attribute, :to => EAttribute do
|
50
|
-
typemap = { "String" => EString, "boolean" => EBoolean, "int" => EInt, "float" => EFloat }
|
50
|
+
typemap = { "String" => EString, "boolean" => EBoolean, "int" => EInt, "long" => ELong, "float" => EFloat }
|
51
51
|
tv = TaggedValueHelper.new(@current_object)
|
52
52
|
{ :name => name, :eType => typemap[tv['type']],
|
53
53
|
:eAnnotations => [ EAnnotation.new(:details => trans(modelElement_taggedValue.taggedValue)) ] }
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.7.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Martin Thiede
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-04-01 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: RGen is a framework for Model Driven Software Development (MDSD) in Ruby.
|
15
14
|
This means that it helps you build Metamodels, instantiate Models, modify and transform
|
@@ -183,6 +182,7 @@ files:
|
|
183
182
|
- Rakefile
|
184
183
|
homepage: http://ruby-gen.org
|
185
184
|
licenses: []
|
185
|
+
metadata: {}
|
186
186
|
post_install_message:
|
187
187
|
rdoc_options:
|
188
188
|
- --main
|
@@ -196,21 +196,19 @@ rdoc_options:
|
|
196
196
|
require_paths:
|
197
197
|
- lib
|
198
198
|
required_ruby_version: !ruby/object:Gem::Requirement
|
199
|
-
none: false
|
200
199
|
requirements:
|
201
|
-
- -
|
200
|
+
- - '>='
|
202
201
|
- !ruby/object:Gem::Version
|
203
202
|
version: '0'
|
204
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
|
-
none: false
|
206
204
|
requirements:
|
207
|
-
- -
|
205
|
+
- - '>='
|
208
206
|
- !ruby/object:Gem::Version
|
209
207
|
version: '0'
|
210
208
|
requirements: []
|
211
209
|
rubyforge_project: rgen
|
212
|
-
rubygems_version:
|
210
|
+
rubygems_version: 2.0.3
|
213
211
|
signing_key:
|
214
|
-
specification_version:
|
212
|
+
specification_version: 4
|
215
213
|
summary: Ruby Modelling and Generator Framework
|
216
214
|
test_files: []
|