rgen-xsd 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG ADDED
@@ -0,0 +1,4 @@
1
+ =0.1.0
2
+
3
+ * First public release
4
+
data/MIT-LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2012 Martin Thiede
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
data/README ADDED
@@ -0,0 +1,16 @@
1
+ == RGen XSD - XML Schema Support for RGen
2
+
3
+ RGen XSD is an extension to the RGen Modelling Framework which brings support for XML Schema.
4
+
5
+ Features include:
6
+ * Reading XML Schema data into an RGen model
7
+ * Transformation of XML Schema data into an ECore metamodel
8
+ * Reading XML instances into an RGen model conforming to the generated ECore metamodel
9
+ * Includes XML Schema metamodels generated from normative schemas
10
+
11
+ = License
12
+
13
+ RGen XSD is released under the MIT license.
14
+
15
+ Included XML Schemas are copyright by the W3C, for details see readme.txt in subfolders.
16
+
data/Rakefile ADDED
@@ -0,0 +1,45 @@
1
+ require 'rake/gempackagetask'
2
+ require 'rake/rdoctask'
3
+
4
+ DocFiles = [
5
+ "README", "CHANGELOG", "MIT-LICENSE"]
6
+
7
+ RTextGemSpec = Gem::Specification.new do |s|
8
+ s.name = %q{rgen-xsd}
9
+ s.version = "0.1.0"
10
+ s.date = Time.now.strftime("%Y-%m-%d")
11
+ s.summary = %q{RGen XML schema support}
12
+ s.email = %q{martin dot thiede at gmx de}
13
+ s.homepage = %q{http://ruby-gen.org}
14
+ s.description = %q{Derive RGen/ECore metamodels from XML schema and load/store XML documents conforming to the schema as RGen models}
15
+ s.authors = ["Martin Thiede"]
16
+ s.add_dependency('rgen', '>= 0.6.0')
17
+ gemfiles = Rake::FileList.new
18
+ gemfiles.include("{lib,test}/**/*")
19
+ gemfiles.include(DocFiles)
20
+ gemfiles.include("Rakefile")
21
+ gemfiles.exclude(/\b\.bak\b/)
22
+ s.files = gemfiles
23
+ s.rdoc_options = ["--main", "README", "-x", "test"]
24
+ s.extra_rdoc_files = DocFiles
25
+ end
26
+
27
+ Rake::RDocTask.new do |rd|
28
+ rd.main = "README"
29
+ rd.rdoc_files.include(DocFiles)
30
+ rd.rdoc_files.include("lib/**/*.rb")
31
+ rd.rdoc_dir = "doc"
32
+ end
33
+
34
+ RTextPackageTask = Rake::GemPackageTask.new(RTextGemSpec) do |p|
35
+ p.need_zip = false
36
+ end
37
+
38
+ task :prepare_package_rdoc => :rdoc do
39
+ RTextPackageTask.package_files.include("doc/**/*")
40
+ end
41
+
42
+ task :release => [:prepare_package_rdoc, :package]
43
+
44
+ task :clobber => [:clobber_rdoc, :clobber_package]
45
+