rtm-tinytim 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rtm/tinytim.rb +34 -51
- metadata +4 -4
data/lib/rtm/tinytim.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
|
2
2
|
# License: Apache License, Version 2.0
|
3
3
|
|
4
|
-
|
4
|
+
if Object.const_defined?("Gem") && rtmgem = Gem.loaded_specs["rtm-tinytim"]
|
5
5
|
require 'rtm/javatmapi'
|
6
|
-
|
6
|
+
else
|
7
7
|
javatmapi_path = File.expand_path(File.join(File.dirname(__FILE__), "../../../rtm-javatmapi/lib"))
|
8
8
|
if File.directory?(javatmapi_path)
|
9
|
-
|
9
|
+
$LOAD_PATH.unshift javatmapi_path
|
10
10
|
require 'rtm/javatmapi'
|
11
11
|
end
|
12
12
|
end
|
@@ -28,78 +28,61 @@ module RTM
|
|
28
28
|
end
|
29
29
|
|
30
30
|
module Java::OrgTmapiCore::TopicMap
|
31
|
-
|
32
|
-
JavaImplementations.add(self,org.tinytim.core.MemoryTopicMap)
|
33
|
-
superize
|
31
|
+
register_java_implementation org.tinytim.core.MemoryTopicMap
|
34
32
|
end
|
35
33
|
|
36
34
|
module Java::OrgTmapiCore::Topic
|
37
|
-
|
38
|
-
JavaImplementations.add(self,org.tinytim.core.TopicImpl)
|
39
|
-
superize
|
35
|
+
register_java_implementation org.tinytim.core.TopicImpl
|
40
36
|
end
|
41
37
|
|
42
38
|
module Java::OrgTmapiCore::Association
|
43
|
-
|
44
|
-
JavaImplementations.add(self,org.tinytim.core.AssociationImpl)
|
45
|
-
superize
|
39
|
+
register_java_implementation org.tinytim.core.AssociationImpl
|
46
40
|
end
|
47
41
|
|
48
42
|
module Java::OrgTmapiCore::Name
|
49
|
-
|
50
|
-
JavaImplementations.add(self,org.tinytim.core.NameImpl)
|
51
|
-
superize
|
43
|
+
register_java_implementation org.tinytim.core.NameImpl
|
52
44
|
end
|
53
45
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
# superize
|
58
|
-
# end
|
46
|
+
module Java::OrgTmapiCore::Occurrence
|
47
|
+
register_java_implementation org.tinytim.core.OccurrenceImpl
|
48
|
+
end
|
59
49
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
# end
|
50
|
+
module Java::OrgTmapiCore::Variant
|
51
|
+
register_java_implementation org.tinytim.core.VariantImpl
|
52
|
+
end
|
64
53
|
|
65
54
|
module Java::OrgTmapiCore::Role
|
66
|
-
|
67
|
-
JavaImplementations.add(self,org.tinytim.core.RoleImpl)
|
68
|
-
superize
|
55
|
+
register_java_implementation org.tinytim.core.RoleImpl
|
69
56
|
end
|
70
57
|
|
71
58
|
module Java::OrgTmapiCore::Scoped
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
JavaImplementations.add(self,org.tinytim.core.VariantImpl)
|
78
|
-
superize
|
59
|
+
register_java_implementation org.tinytim.core.ScopedImpl
|
60
|
+
register_java_implementation org.tinytim.core.AssociationImpl
|
61
|
+
register_java_implementation org.tinytim.core.NameImpl
|
62
|
+
register_java_implementation org.tinytim.core.OccurrenceImpl
|
63
|
+
register_java_implementation org.tinytim.core.VariantImpl
|
79
64
|
end
|
80
65
|
|
81
66
|
module Java::OrgTmapiCore::Typed
|
82
|
-
|
83
|
-
JavaImplementations.add(self,org.tinytim.core.TypedImpl)
|
84
|
-
superize
|
67
|
+
register_java_implementation org.tinytim.core.TypedImpl
|
85
68
|
end
|
86
69
|
|
87
70
|
module Java::OrgTmapiCore::Construct
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
JavaImplementations.add(self,org.tinytim.core.RoleImpl)
|
97
|
-
superize
|
71
|
+
register_java_implementation org.tinytim.core.ConstructImpl
|
72
|
+
register_java_implementation org.tinytim.core.MemoryTopicMap
|
73
|
+
register_java_implementation org.tinytim.core.TopicImpl
|
74
|
+
register_java_implementation org.tinytim.core.AssociationImpl
|
75
|
+
register_java_implementation org.tinytim.core.NameImpl
|
76
|
+
register_java_implementation org.tinytim.core.OccurrenceImpl
|
77
|
+
register_java_implementation org.tinytim.core.VariantImpl
|
78
|
+
register_java_implementation org.tinytim.core.RoleImpl
|
98
79
|
end
|
99
80
|
|
100
81
|
module Java::OrgTmapiCore::Reifiable
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
82
|
+
register_java_implementation org.tinytim.core.TypedImpl
|
83
|
+
register_java_implementation org.tinytim.core.MemoryTopicMap
|
84
|
+
end
|
85
|
+
|
86
|
+
module Java::OrgTmapiCore::DatatypeAware
|
87
|
+
register_java_implementation org.tinytim.core.DatatypeAwareConstruct
|
105
88
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtm-tinytim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Bock
|
@@ -12,7 +12,7 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date: 2010-02-
|
15
|
+
date: 2010-02-21 00:00:00 +01:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - "="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.2.
|
26
|
+
version: 0.2.1
|
27
27
|
version:
|
28
28
|
description: The TinyTiM backend for Ruby Topic Maps. See http://tinytim.sourceforge.net/ for more information about TinyTiM.
|
29
|
-
email:
|
29
|
+
email: rtm+rtm-tinytim-gem-20100221@topicmapslab.de
|
30
30
|
executables: []
|
31
31
|
|
32
32
|
extensions: []
|