rtm-tinytim 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rtm/tinytim/javalibs/tinytim-2.0.0.jar +0 -0
- data/lib/rtm/tinytim.rb +29 -33
- data/lib/rtm-tinytim.rb +4 -0
- metadata +25 -13
- data/lib/rtm/tinytim/javalibs/tinytim-2.0.0a5.jar +0 -0
Binary file
|
data/lib/rtm/tinytim.rb
CHANGED
@@ -1,22 +1,18 @@
|
|
1
1
|
# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
|
2
2
|
# License: Apache License, Version 2.0
|
3
3
|
|
4
|
-
|
5
|
-
require 'rtm/javatmapi'
|
6
|
-
else
|
4
|
+
unless Object.const_defined?("Gem") && rtmgem = Gem.loaded_specs["rtm-tinytim"]
|
7
5
|
javatmapi_path = File.expand_path(File.join(File.dirname(__FILE__), "../../../rtm-javatmapi/lib"))
|
8
|
-
if File.directory?(javatmapi_path)
|
9
|
-
$LOAD_PATH.unshift javatmapi_path
|
10
|
-
require 'rtm/javatmapi'
|
11
|
-
end
|
6
|
+
$LOAD_PATH.unshift javatmapi_path if File.directory?(javatmapi_path)
|
12
7
|
end
|
8
|
+
require 'rtm/javatmapi'
|
13
9
|
|
14
10
|
Dir[File.join(File.dirname(__FILE__), 'tinytim/javalibs/*.jar')].each {|file| require file }
|
15
11
|
|
16
12
|
module RTM
|
17
13
|
class TinyTiM < JavaTMAPI
|
18
|
-
identifier
|
19
|
-
|
14
|
+
identifier(:tinytim)
|
15
|
+
|
20
16
|
def initialize(*args)
|
21
17
|
super
|
22
18
|
set_tmsf(Java::OrgTinytimCore::TopicMapSystemFactoryImpl.new)
|
@@ -28,61 +24,61 @@ module RTM
|
|
28
24
|
end
|
29
25
|
|
30
26
|
module Java::OrgTmapiCore::TopicMap
|
31
|
-
register_java_implementation
|
27
|
+
register_java_implementation Java::OrgTinytimCore::MemoryTopicMap
|
32
28
|
end
|
33
29
|
|
34
30
|
module Java::OrgTmapiCore::Topic
|
35
|
-
register_java_implementation
|
31
|
+
register_java_implementation Java::OrgTinytimCore::TopicImpl
|
36
32
|
end
|
37
33
|
|
38
34
|
module Java::OrgTmapiCore::Association
|
39
|
-
register_java_implementation
|
35
|
+
register_java_implementation Java::OrgTinytimCore::AssociationImpl
|
40
36
|
end
|
41
37
|
|
42
38
|
module Java::OrgTmapiCore::Name
|
43
|
-
register_java_implementation
|
39
|
+
register_java_implementation Java::OrgTinytimCore::NameImpl
|
44
40
|
end
|
45
41
|
|
46
42
|
module Java::OrgTmapiCore::Occurrence
|
47
|
-
register_java_implementation
|
43
|
+
register_java_implementation Java::OrgTinytimCore::OccurrenceImpl
|
48
44
|
end
|
49
45
|
|
50
46
|
module Java::OrgTmapiCore::Variant
|
51
|
-
register_java_implementation
|
47
|
+
register_java_implementation Java::OrgTinytimCore::VariantImpl
|
52
48
|
end
|
53
49
|
|
54
50
|
module Java::OrgTmapiCore::Role
|
55
|
-
register_java_implementation
|
51
|
+
register_java_implementation Java::OrgTinytimCore::RoleImpl
|
56
52
|
end
|
57
53
|
|
58
54
|
module Java::OrgTmapiCore::Scoped
|
59
|
-
register_java_implementation
|
60
|
-
register_java_implementation
|
61
|
-
register_java_implementation
|
62
|
-
register_java_implementation
|
63
|
-
register_java_implementation
|
55
|
+
register_java_implementation Java::OrgTinytimCore::ScopedImpl
|
56
|
+
register_java_implementation Java::OrgTinytimCore::AssociationImpl
|
57
|
+
register_java_implementation Java::OrgTinytimCore::NameImpl
|
58
|
+
register_java_implementation Java::OrgTinytimCore::OccurrenceImpl
|
59
|
+
register_java_implementation Java::OrgTinytimCore::VariantImpl
|
64
60
|
end
|
65
61
|
|
66
62
|
module Java::OrgTmapiCore::Typed
|
67
|
-
register_java_implementation
|
63
|
+
register_java_implementation Java::OrgTinytimCore::TypedImpl
|
68
64
|
end
|
69
65
|
|
70
66
|
module Java::OrgTmapiCore::Construct
|
71
|
-
register_java_implementation
|
72
|
-
register_java_implementation
|
73
|
-
register_java_implementation
|
74
|
-
register_java_implementation
|
75
|
-
register_java_implementation
|
76
|
-
register_java_implementation
|
77
|
-
register_java_implementation
|
78
|
-
register_java_implementation
|
67
|
+
register_java_implementation Java::OrgTinytimCore::ConstructImpl
|
68
|
+
register_java_implementation Java::OrgTinytimCore::MemoryTopicMap
|
69
|
+
register_java_implementation Java::OrgTinytimCore::TopicImpl
|
70
|
+
register_java_implementation Java::OrgTinytimCore::AssociationImpl
|
71
|
+
register_java_implementation Java::OrgTinytimCore::NameImpl
|
72
|
+
register_java_implementation Java::OrgTinytimCore::OccurrenceImpl
|
73
|
+
register_java_implementation Java::OrgTinytimCore::VariantImpl
|
74
|
+
register_java_implementation Java::OrgTinytimCore::RoleImpl
|
79
75
|
end
|
80
76
|
|
81
77
|
module Java::OrgTmapiCore::Reifiable
|
82
|
-
register_java_implementation
|
83
|
-
register_java_implementation
|
78
|
+
register_java_implementation Java::OrgTinytimCore::TypedImpl
|
79
|
+
register_java_implementation Java::OrgTinytimCore::MemoryTopicMap
|
84
80
|
end
|
85
81
|
|
86
82
|
module Java::OrgTmapiCore::DatatypeAware
|
87
|
-
register_java_implementation
|
83
|
+
register_java_implementation Java::OrgTinytimCore::DatatypeAwareConstruct
|
88
84
|
end
|
data/lib/rtm-tinytim.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtm-tinytim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
version: 0.3.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Benjamin Bock
|
@@ -12,21 +17,25 @@ autorequire:
|
|
12
17
|
bindir: bin
|
13
18
|
cert_chain: []
|
14
19
|
|
15
|
-
date: 2010-
|
20
|
+
date: 2010-04-14 00:00:00 +02:00
|
16
21
|
default_executable:
|
17
22
|
dependencies:
|
18
23
|
- !ruby/object:Gem::Dependency
|
19
24
|
name: rtm-javatmapi
|
20
|
-
|
21
|
-
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
27
|
requirements:
|
24
28
|
- - "="
|
25
29
|
- !ruby/object:Gem::Version
|
26
|
-
|
27
|
-
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 3
|
33
|
+
- 0
|
34
|
+
version: 0.3.0
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
28
37
|
description: The TinyTiM backend for Ruby Topic Maps. See http://tinytim.sourceforge.net/ for more information about TinyTiM.
|
29
|
-
email: rtm+rtm-tinytim-gem-
|
38
|
+
email: rtm+rtm-tinytim-gem-20100414@topicmapslab.de
|
30
39
|
executables: []
|
31
40
|
|
32
41
|
extensions: []
|
@@ -35,7 +44,8 @@ extra_rdoc_files: []
|
|
35
44
|
|
36
45
|
files:
|
37
46
|
- lib/rtm/tinytim.rb
|
38
|
-
- lib/rtm
|
47
|
+
- lib/rtm-tinytim.rb
|
48
|
+
- lib/rtm/tinytim/javalibs/tinytim-2.0.0.jar
|
39
49
|
- LICENSE
|
40
50
|
- DISCLAIMER
|
41
51
|
- README
|
@@ -43,7 +53,7 @@ has_rdoc: true
|
|
43
53
|
homepage: http://rtm.topicmapslab.de/
|
44
54
|
licenses: []
|
45
55
|
|
46
|
-
post_install_message:
|
56
|
+
post_install_message:
|
47
57
|
rdoc_options: []
|
48
58
|
|
49
59
|
require_paths:
|
@@ -52,18 +62,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
52
62
|
requirements:
|
53
63
|
- - ">="
|
54
64
|
- !ruby/object:Gem::Version
|
65
|
+
segments:
|
66
|
+
- 0
|
55
67
|
version: "0"
|
56
|
-
version:
|
57
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
69
|
requirements:
|
59
70
|
- - ">="
|
60
71
|
- !ruby/object:Gem::Version
|
72
|
+
segments:
|
73
|
+
- 0
|
61
74
|
version: "0"
|
62
|
-
version:
|
63
75
|
requirements: []
|
64
76
|
|
65
77
|
rubyforge_project: rtm
|
66
|
-
rubygems_version: 1.3.
|
78
|
+
rubygems_version: 1.3.6
|
67
79
|
signing_key:
|
68
80
|
specification_version: 3
|
69
81
|
summary: "Ruby Topic Maps: TinyTiM backend"
|
Binary file
|