ontomde-uml2-kb 1.0.4 → 1.0.6
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.
- data/Rakefile +2 -2
- data/lib/ontomde-uml2-kb/command.rb +14 -0
- data/lib/ontomde-uml2-kb/version.rb +1 -1
- metadata +3 -12
data/Rakefile
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
|
-
require 'hoe'
|
4
|
+
require 'ontomde-hoe'
|
5
5
|
require './lib/ontomde-uml2-kb/version.rb'
|
6
6
|
|
7
|
-
|
7
|
+
OntomdeHoe.new('ontomde-uml2-kb', Ontomde::Uml2::Kb::VERSION) do |p|
|
8
8
|
p.rubyforge_name = 'ontomde'
|
9
9
|
p.author = 'Stephane (Pierre) Carrie'
|
10
10
|
p.email = 'stephanepierre.carrie@orange-ftgroup.com'
|
@@ -4,6 +4,20 @@ require 'optparse'
|
|
4
4
|
|
5
5
|
require 'ontomde-uml2-kb'
|
6
6
|
|
7
|
+
#Rubygems allow a specific script version to be passed on command line.
|
8
|
+
#Version is passed as a first parameter like : _1.0.1_
|
9
|
+
#
|
10
|
+
#For testing purposes, this script may be called directly (not through gem).
|
11
|
+
#We have to remove the version number which was not removed by gem.
|
12
|
+
def removeVersionInARGV
|
13
|
+
return if ARGV.empty?
|
14
|
+
return unless ARGV[0]=~/^_[.0-9]*_$/
|
15
|
+
puts "** WARNING: command line parameter #{ARGV[0]} ignored.\n"
|
16
|
+
ARGV.delete_at(0)
|
17
|
+
end
|
18
|
+
|
19
|
+
removeVersionInARGV
|
20
|
+
|
7
21
|
options = {}
|
8
22
|
options[:target]="./build/"
|
9
23
|
options[:load]={}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ontomde-uml2-kb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephane (Pierre) Carrie
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-03-
|
12
|
+
date: 2008-03-25 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -19,16 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - "="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.0.
|
23
|
-
version:
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: hoe
|
26
|
-
version_requirement:
|
27
|
-
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
requirements:
|
29
|
-
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version: 1.5.0
|
22
|
+
version: 1.0.6
|
32
23
|
version:
|
33
24
|
description: "Converts a UML2 model into a Prot\xE9g\xE9 2000 RDF/RDFS model. UML2 classes are converted into RDFS classes to allow data instances to be created. This tool is primarily used to create data test editors. == FEATURES/PROBLEMS: This Protege 2000 export tool supports: * single and incremental use. * transparent update of name changes from source to target mode. * class * abstract class * interface * enumerated types * generalization links * implementation links * property, association, composition and aggregation * single and multivalued properties * mandatory fields (cardinaly=0 or >0) * UML documentation notes export to Protege 2000 for easy reference."
|
34
25
|
email: stephanepierre.carrie@orange-ftgroup.com
|