rtm-javatmapi 0.2.1 → 0.3.0

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.
@@ -1,6 +1,4 @@
1
1
  # Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
2
2
  # License: Apache License, Version 2.0
3
3
 
4
- module Java::OrgTmapiCore::TopicMapSystem
5
-
6
- end
4
+ require File.join(File.dirname(__FILE__), 'rtm/javatmapi')
data/lib/rtm/javatmapi.rb CHANGED
@@ -7,29 +7,15 @@ rescue Exception => e
7
7
  raise "TMAPI Implementations are supported for JRuby only"
8
8
  end
9
9
 
10
- if Object.const_defined?("Gem") && rtmgem = Gem.loaded_specs["rtm-javatmapi"]
11
- require 'rtm'
12
- else
10
+ unless Object.const_defined?("Gem") && rtmgem = Gem.loaded_specs["rtm-javatmapi"]
13
11
  rtm_path = File.expand_path(File.join(File.dirname(__FILE__), "../../../rtm/lib"))
14
- if File.directory?(rtm_path)
15
- $LOAD_PATH.unshift rtm_path
16
- require 'rtm'
17
- end
12
+ $LOAD_PATH.unshift rtm_path if File.directory?(rtm_path)
18
13
  end
14
+ require 'rtm'
19
15
 
20
16
  Dir[File.join(File.dirname(__FILE__), 'javatmapi/javalibs/*.jar')].each {|file| require file }
21
17
 
22
- # provide easy access to java classes in a net.* package
23
- def net
24
- Java::Net
25
- end
26
-
27
- # provide easy access to java classes in a de.* package
28
- def de
29
- Java::De
30
- end
31
-
32
- import org.tmapi.core.TopicMapSystemFactory
18
+ import Java::OrgTmapiCore::TopicMapSystemFactory
33
19
  require "rtm/javatmapi/superiseable"
34
20
  require "rtm/javatmapi/ext"
35
21
  require "rtm/javatmapi/core"
@@ -42,10 +28,10 @@ module RTM
42
28
  end
43
29
 
44
30
  extend Superiseable
45
- include org.tmapi.core.TopicMapSystem
31
+ include Java::OrgTmapiCore::TopicMapSystem
46
32
  attr_reader :tmsf
47
33
  attr_reader :tms
48
-
34
+
49
35
  def set_properties(properties)
50
36
  if properties.is_a?(Hash)
51
37
  properties.each do |key, value|
@@ -113,29 +99,52 @@ module RTM
113
99
  end
114
100
  alias :createLocator :create_locator
115
101
 
116
- # Creates and returns a new topic map given a base_locator.
117
- # The base locator may be a String or a Locator.
102
+ # Creates and returns a new topic map given a locator.
103
+ # The locator may be a String or a Locator.
118
104
  #
119
105
  # :call-seq:
120
- # create(base_locator) -> Topic Map
106
+ # create(locator) -> Topic Map
121
107
  #
122
- def create(base_locator, *args)
123
- base_locator = @tms.create_locator(base_locator) if base_locator.is_a?(String)
124
- raise("base_locator must be a String or Locator") unless base_locator.is_a?(Locator)
125
- if (@tms.getLocators.include?(base_locator))
126
- tm = @tms.getTopicMap(base_locator)
127
- else
128
- tm = @tms.createTopicMap(base_locator)
129
- end
130
- tm.base_iri ||= base_locator.reference #safe as String
108
+ def create(locator)
109
+ locator = @tms.create_locator(locator) if locator.is_a?(String)
110
+ raise("locator must be a String or Locator but is: #{locator.inspect}") unless locator.is_a?(RTM::Locator)
111
+ if (@tms.getLocators.include?(locator))
112
+ tm = @tms.getTopicMap(locator)
113
+ tm.add_prefix("xsd", RTM::PREFIX[:xsd]) # hack, default prefix for xsd
114
+ tm.engine = self # hack
115
+ else
116
+ tm = @tms.createTopicMap(locator)
117
+ tm.add_prefix("xsd", RTM::PREFIX[:xsd]) # default prefix for xsd
131
118
  tm.engine = self
132
- tm.prefixes = {}
133
- return tm
134
- #end
119
+ end
120
+ tm
135
121
  end
136
122
  alias :create_topic_map :create
137
123
  alias :createTopicMap :create
138
124
 
125
+ # Deletes the topic map from the engine.
126
+ def delete(locator)
127
+ locator = @tms.create_locator(locator) if locator.is_a?(String)
128
+ raise("locator must be a String or Locator") unless locator.is_a?(RTM::Locator)
129
+ if (@tms.getLocators.include?(locator))
130
+ tm = @tms.getTopicMap(locator)
131
+ tm.prefixes.clear
132
+ tm.clear
133
+ tm.remove
134
+ else
135
+ raise("Topic Map with base locator #{locator.reference} not existing")
136
+ end
137
+ end
138
+ alias :delete_topic_map :delete
139
+ alias :deleteTopicMap :delete
140
+
141
+ # States if the topic map given by the locator is existing in the engine.
142
+ def existing?(locator)
143
+ locator = @tms.create_locator(locator) if locator.is_a?(String)
144
+ raise("locator must be a String or Locator") unless locator.is_a?(RTM::Locator)
145
+ return @tms.getTopicMap(locator) ? true : false
146
+ end
147
+
139
148
  # Retrieves a topic map managed by this connection
140
149
  # with the specified storage address iri.
141
150
  # The iri may be a String or Locator.
@@ -1,7 +1,6 @@
1
1
  # Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
2
2
  # License: Apache License, Version 2.0
3
3
 
4
- require 'rtm/javatmapi/core/topic_map_system'
5
4
  require 'rtm/javatmapi/core/construct'
6
5
  require 'rtm/javatmapi/core/reifiable'
7
6
  require 'rtm/javatmapi/core/topic_map'
@@ -55,7 +55,7 @@ module Java::OrgTmapiCore::Construct
55
55
  else
56
56
  addItemIdentifier(topic_map.create_locator(identifier))
57
57
  end
58
- rescue org.tmapi.core.IdentityConstraintException => ice
58
+ rescue Java::OrgTmapiCore::IdentityConstraintException => ice
59
59
  # TODO add condition to switch off automerge
60
60
  self.mergeIn(self.topic_map.get(identifier))
61
61
  end
@@ -108,7 +108,7 @@ module Java::OrgTmapiCore::Name
108
108
  value = topic_map.create_locator(value).reference
109
109
  end
110
110
  # creating an array of topics for the scope
111
- scope = topic_map.get!(scope).to_java(org.tmapi.core.Topic)
111
+ scope = topic_map.get!(scope).to_java(Java::OrgTmapiCore::Topic)
112
112
 
113
113
  begin
114
114
  createVariant(value, datatype, scope)
@@ -210,16 +210,6 @@ module Java::OrgTmapiCore::Topic
210
210
  end
211
211
  alias :reverse_children :parent
212
212
 
213
- # Calls TMAPI TopicMap.getIndex which
214
- # returns the index for the TypeInstanceIndex.
215
- #
216
- # :call-seq:
217
- # type_instance_index -> TypeInstanceIndex
218
- #
219
- def type_instance_index
220
- topic_map.type_instance_index
221
- end
222
-
223
213
  superised
224
214
  # Returns the Roles played by this Topic.
225
215
  #
@@ -301,7 +291,7 @@ module Java::OrgTmapiCore::Topic
301
291
  else
302
292
  addSubjectIdentifier(topic_map.create_locator(identifier))
303
293
  end
304
- rescue org.tmapi.core.IdentityConstraintException => ice
294
+ rescue Java::OrgTmapiCore::IdentityConstraintException => ice
305
295
  # TODO add condition to switch off automerge
306
296
  self.mergeIn(self.topic_map.get(identifier))
307
297
  end
@@ -345,7 +335,7 @@ module Java::OrgTmapiCore::Topic
345
335
  else
346
336
  addSubjectLocator(topic_map.create_locator(identifier))
347
337
  end
348
- rescue org.tmapi.core.IdentityConstraintException => ice
338
+ rescue Java::OrgTmapiCore::IdentityConstraintException => ice
349
339
  # TODO add condition to switch off automerge
350
340
  self.mergeIn(self.topic_map.topic_by_subject_locator(identifier))
351
341
  end
@@ -511,7 +501,7 @@ module Java::OrgTmapiCore::Topic
511
501
 
512
502
  private
513
503
  def new_empty_java_topic_array
514
- [].to_java(org.tmapi.core.Topic)
504
+ [].to_java(Java::OrgTmapiCore::Topic)
515
505
  end
516
506
 
517
507
  class NoDatatypeHandlerAvailableException < Exception
@@ -8,35 +8,43 @@ module Java::OrgTmapiCore::TopicMap
8
8
  include RTM::TopicMap
9
9
  extend Superiseable
10
10
 
11
- attr_accessor :prefixes #hash
12
-
13
- attr_reader :base_iri
14
- def base_iri=(base_iri)
15
- class << self;undef :base_iri=;end
16
- @base_iri = base_iri
11
+ attr_reader :prefixes #hash
12
+
13
+ # returns the base iri of this topic map
14
+ def base_iri
15
+ getLocator.reference
17
16
  end
18
-
19
17
  alias :base_locator :base_iri
20
18
 
19
+ def prefixes
20
+ @prefixes ||= {}
21
+ end
22
+
23
+
21
24
  # Adds the identifier (key) and reference (value) to the prefixes-Hash and
22
25
  # returns all prefixes. Qnames consisting of "identifier:localpart"
23
26
  # will be converted to "referencelocalpart".
24
27
  #
25
- # The identifier and reference must be Strings.
26
- #
27
- # Example:
28
- # add_prefix("tml","http://www.topicmapslab.de/")
29
- #
30
- # :call-seq:
31
- # add_prefix(identifier,reference) -> Hash
32
- #
33
- def add_prefix(identifier,reference)
28
+ # @param [String] identifier
29
+ # @param [String] reference
30
+ # @example
31
+ # add_prefix("tml", "http://www.topicmapslab.de/")
32
+ # @return void
33
+ def add_prefix(identifier, reference)
34
34
  unless identifier.is_a?(String) && reference.is_a?(String)
35
35
  raise("add_prefix: identifier and reference must be Strings")
36
+ # TODO @raise in yardoc
37
+ end
38
+ if identifier.empty? || reference.empty?
39
+ raise("add_prefix: identifier or reference may not be empty")
36
40
  end
37
- #if (identifier == "sl") || (identifier == "si") || (identifier == "ii")
38
- # warn("prefixes: identifier is either sl, si or ii")
39
- #end
41
+ if (identifier == "sl") || (identifier == "si") || (identifier == "ii")
42
+ raise("add_prefix: identifier 'sl', 'si' or 'ii' not allowed for prefixes")
43
+ end
44
+ unless reference.include?(URI_PATTERN)
45
+ raise("add_prefix: reference must be absulute")
46
+ end
47
+ # prefix xsd is allowed
40
48
  prefixes[identifier]= reference
41
49
  prefixes
42
50
  end
@@ -174,10 +182,10 @@ module Java::OrgTmapiCore::TopicMap
174
182
  end
175
183
  raise("create_association: type must be a Topic or Topic-Reference") unless type.is_a?(Java::OrgTmapiCore::Topic) || type.is_a?(String) || type.is_a?(Java::OrgTmapiCore::Locator)
176
184
  if scope == :ucs
177
- assoc = createAssociation(get!(type),[].to_java(org.tmapi.core.Topic))
185
+ assoc = createAssociation(get!(type),[].to_java(Java::OrgTmapiCore::Topic))
178
186
  else
179
187
  raise("create_association: scope must be an Array") unless scope.is_a?(Array)
180
- assoc = scope.empty? ? createAssociation(get!(type),[].to_java(org.tmapi.core.Topic)) : createAssociation(get!(type),get!(scope))
188
+ assoc = scope.empty? ? createAssociation(get!(type),[].to_java(Java::OrgTmapiCore::Topic)) : createAssociation(get!(type),get!(scope))
181
189
  end
182
190
  raise("create_association: roles must be a Hash") unless roles.is_a?(Hash)
183
191
  roles.each do |k,v|
@@ -199,7 +207,7 @@ module Java::OrgTmapiCore::TopicMap
199
207
  #
200
208
  def type_instance_index
201
209
  # Equals _index(:TypeInstanceIndex), which doesn't work yet
202
- getIndex(org.tmapi.index.TypeInstanceIndex.java_class)
210
+ getIndex(Java::OrgTmapiIndex::TypeInstanceIndex.java_class)
203
211
  end
204
212
 
205
213
  # Calls TMAPI TopicMap.getIndex which
@@ -210,7 +218,7 @@ module Java::OrgTmapiCore::TopicMap
210
218
  #
211
219
  def literal_index
212
220
  # Equals _index(:LiteralIndex), which doesn't work yet
213
- getIndex(org.tmapi.index.LiteralIndex.java_class)
221
+ getIndex(Java::OrgTmapiIndex::LiteralIndex.java_class)
214
222
  end
215
223
 
216
224
  # Calls TMAPI TopicMap.getIndex which
@@ -221,7 +229,7 @@ module Java::OrgTmapiCore::TopicMap
221
229
  #
222
230
  def scoped_index
223
231
  # Equals _index(:ScopedIndex), which doesn't work yet
224
- getIndex(org.tmapi.index.ScopedIndex.java_class)
232
+ getIndex(Java::OrgTmapiIndex::ScopedIndex.java_class)
225
233
  end
226
234
 
227
235
  # Returns all topics in the topic map that are used as instance
@@ -261,7 +269,7 @@ module Java::OrgTmapiCore::TopicMap
261
269
  #
262
270
  # The return value may be empty.
263
271
  #
264
- # :call_spec:
272
+ # :call-seq:
265
273
  # associations -> Set of Associations
266
274
  # associations(type) -> Array of Associations
267
275
  #
@@ -272,46 +280,6 @@ module Java::OrgTmapiCore::TopicMap
272
280
  return type ? type_instance_index.getAssociations(type).to_a : []
273
281
  end
274
282
 
275
- # Returns all topics in this topic map that are used
276
- # as types of associations.
277
- #
278
- # :call-seq:
279
- # association_types -> Set of Topics
280
- #
281
- def association_types
282
- type_instance_index.getAssociationTypes
283
- end
284
-
285
- # Returns the all Topics in this TopicMap that are used
286
- # as types of Roles.
287
- #
288
- # :call-seq:
289
- # role_types -> Set of Topics
290
- #
291
- def role_types
292
- type_instance_index.getRoleTypes
293
- end
294
-
295
- # Returns all Topics in this TopicMap that are used
296
- # as types of Names.
297
- #
298
- # :call-seq:
299
- # name_types -> Set of Topics
300
- #
301
- def name_types
302
- type_instance_index.getNameTypes
303
- end
304
-
305
- # Returns all Topics in this TopicMap that are used
306
- # as types of Occurrences.
307
- #
308
- # :call-seq:
309
- # occurrence_types -> Set of Topics
310
- #
311
- def occurrence_types
312
- type_instance_index.getOccurrenceTypes
313
- end
314
-
315
283
  superised
316
284
  # Returns all topics contained in this topic map.
317
285
  #
@@ -337,11 +305,39 @@ module Java::OrgTmapiCore::TopicMap
337
305
  # :call-seq:
338
306
  # create_locator(identifier) -> Locator
339
307
  #
340
- def create_locator(identifier)
308
+ def create_locator(identifier, to_raise = org.tmapi.core.MalformedIRIException)
341
309
  return identifier if identifier.is_a?(Java::OrgTmapiCore::Locator)
342
- identifier = check_for_qname(identifier) unless prefixes.empty?
343
- identifier = proper_base_iri + identifier if identifier.is_a?(String) && !identifier.include?(URI_PATTERN)
344
- createLocator(identifier)
310
+ raise("create_locator: identifier must be a String") unless identifier.is_a?(String)
311
+ qname = check_for_qname(identifier)
312
+ if qname
313
+ identifier = qname
314
+ else
315
+ unless identifier.include?(URI_PATTERN)
316
+ begin
317
+ if self.engine.identifier == :tinytim
318
+ identifier = identifier.gsub(' ','%20')
319
+ end
320
+ identifier = getLocator.resolve(identifier)
321
+ rescue org.tmapi.core.MalformedIRIException => mie
322
+ if to_raise == mie
323
+ raise(mie.message)
324
+ else
325
+ return :fail
326
+ end
327
+ end
328
+ return identifier
329
+ end
330
+ end
331
+ begin
332
+ identifier = createLocator(identifier)
333
+ rescue org.tmapi.core.MalformedIRIException => mie
334
+ if to_raise == mie
335
+ raise(mie.message)
336
+ else
337
+ return :fail
338
+ end
339
+ end
340
+ return identifier
345
341
  end
346
342
 
347
343
  superised
@@ -553,6 +549,26 @@ module Java::OrgTmapiCore::TopicMap
553
549
  getConstructById(id)
554
550
  end
555
551
 
552
+ # Returns all names occurring in the topic map
553
+ def names
554
+ name_types.map{|type| type.typed_names.to_a}.flatten
555
+ end
556
+
557
+ # Returns all occurrences occurring in the topic map
558
+ def occurrences
559
+ occurrence_types.map{|type| type.typed_occurrences.to_a}.flatten
560
+ end
561
+
562
+ # Returns all roles occurring in the topic map
563
+ def roles
564
+ role_types.map{|type| type.typed_roles.to_a}.flatten
565
+ end
566
+
567
+ # Returns all variants occurring in the topic map
568
+ def variants
569
+ names.map{|name| name.variants.to_a}.flatten
570
+ end
571
+
556
572
  private
557
573
 
558
574
  # If the identifier is a qname (= "prefix_identifier" + ":" + "localpart"),
@@ -561,20 +577,24 @@ module Java::OrgTmapiCore::TopicMap
561
577
  # found in the prefixes-Hash.
562
578
  #
563
579
  # Returnes the enhanced identifier if successfull.
564
- # Returns the original identifier if no substitution
565
- # occured.
580
+ # Returns the nil if no substitution occured.
566
581
  #
567
582
  # :call-seq:
568
583
  # check_for_qname(identifier) -> String
569
584
  #
570
585
  def check_for_qname(identifier)
586
+ return nil if prefixes.empty?
587
+
571
588
  sections = identifier.split(":")
572
- key = sections[0]
573
- if (sections.size > 1) && (prefixes.has_key?(key))
574
- identifier = identifier.sub(key + ":", prefixes[key])
575
- # TODO check NOW if identifier is a valid URI ? or may the identifier still be relative?
589
+ prefix_identifier = sections[0]
590
+ if (sections.size > 1) && prefixes.has_key?(prefix_identifier)
591
+ localpart = identifier.sub("#{prefix_identifier}:", "")
592
+ # check localpart
593
+ unless localpart.include?("/") # no / allowed in localpart
594
+ return prefixes[prefix_identifier] + localpart
595
+ end
576
596
  end
577
- return identifier
597
+ return nil
578
598
  end
579
599
 
580
600
  # Calls TMAPI TopicMap.getIndex which
@@ -588,7 +608,7 @@ module Java::OrgTmapiCore::TopicMap
588
608
  # JRuby doesn't seem to like "send" there;
589
609
  # solution: use getIndex directly
590
610
  def _index(i)
591
- getIndex(org.tmapi.index.send(i).java_class)
611
+ getIndex(Java::OrgTmapiIndex::send(i).java_class)
592
612
  end
593
613
 
594
614
  # If identifier is not a String or Locator -> assumes it is an Array.
@@ -652,6 +672,7 @@ module Java::OrgTmapiCore::TopicMap
652
672
  end
653
673
  end
654
674
 
675
+ # TODO delete?
655
676
  def proper_base_iri
656
677
  if base_iri[-1] == '/'[-1]
657
678
  return base_iri
@@ -23,9 +23,7 @@ module Superiseable
23
23
  self.included(klass) if self.respond_to?(:included)
24
24
  return unless @superized_methods
25
25
  @superized_methods.each do |method_name|
26
- klass.class_eval do
27
- define_method(method_name) { |*args| super *args}
28
- end
26
+ klass.class_eval("def #{method_name}(*args); super; end")
29
27
  end
30
28
  end
31
29
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtm-javatmapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
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-02-21 00:00:00 +01:00
20
+ date: 2010-04-13 00:00:00 +02:00
16
21
  default_executable:
17
22
  dependencies:
18
23
  - !ruby/object:Gem::Dependency
19
24
  name: rtm
20
- type: :runtime
21
- version_requirement:
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
- version: 0.2.1
27
- version:
30
+ segments:
31
+ - 0
32
+ - 3
33
+ - 0
34
+ version: 0.3.0
35
+ type: :runtime
36
+ version_requirements: *id001
28
37
  description: " Ruby Topic Maps is a Topic Maps engine written in Ruby.\n This backend engine uses any Java TMAPI 2.0 compatible backend. See http://www.tmapi.org/2.0/.\n You can provide your own TMAPI 2.0 compatible implementation or use one of the existing ones:\n * rtm-ontopia\n * rtm-tinytim\n * rtm-sesametm \n"
29
- email: rtm+rtm-javatmapi-gem-20100221@topicmapslab.de
38
+ email: rtm+rtm-javatmapi-gem-20100413@topicmapslab.de
30
39
  executables: []
31
40
 
32
41
  extensions: []
@@ -46,7 +55,6 @@ files:
46
55
  - lib/rtm/javatmapi/core/scoped.rb
47
56
  - lib/rtm/javatmapi/core/topic.rb
48
57
  - lib/rtm/javatmapi/core/topic_map.rb
49
- - lib/rtm/javatmapi/core/topic_map_system.rb
50
58
  - lib/rtm/javatmapi/core/typed.rb
51
59
  - lib/rtm/javatmapi/core/variant.rb
52
60
  - lib/rtm/javatmapi/core.rb
@@ -54,9 +62,10 @@ files:
54
62
  - lib/rtm/javatmapi/ext.rb
55
63
  - lib/rtm/javatmapi/superiseable.rb
56
64
  - lib/rtm/javatmapi.rb
65
+ - lib/rtm-javatmapi.rb
57
66
  - lib/rtm/javatmapi/javalibs/asm-2.2.3.jar
58
67
  - lib/rtm/javatmapi/javalibs/asm-commons-2.2.3.jar
59
- - lib/rtm/javatmapi/javalibs/ctm-writer-1.0.0a.jar
68
+ - lib/rtm/javatmapi/javalibs/ctm-writer-1.0.5.a1.jar
60
69
  - lib/rtm/javatmapi/javalibs/jing.jar
61
70
  - lib/rtm/javatmapi/javalibs/json_simple.jar
62
71
  - lib/rtm/javatmapi/javalibs/log4j-1.2.14.jar
@@ -77,9 +86,9 @@ files:
77
86
  - lib/rtm/javatmapi/javalibs/semagia-mio-xtm-0.9.5.jar
78
87
  - lib/rtm/javatmapi/javalibs/slf4j-api-1.5.8.jar
79
88
  - lib/rtm/javatmapi/javalibs/slf4j-log4j12-1.5.8.jar
80
- - lib/rtm/javatmapi/javalibs/tinytim-mio-2.0.0a5.jar
81
- - lib/rtm/javatmapi/javalibs/tmapi-2.0.jar
82
- - lib/rtm/javatmapi/javalibs/tmapix-io-0.3.0-snapshot-200910281502.jar
89
+ - lib/rtm/javatmapi/javalibs/tinytim-mio-2.0.0a6.jar
90
+ - lib/rtm/javatmapi/javalibs/tmapi-2.0.2.jar
91
+ - lib/rtm/javatmapi/javalibs/tmapix-io-0.3.0.jar
83
92
  - lib/rtm/javatmapi/javalibs/trove-2.0.4.jar
84
93
  - LICENSE
85
94
  - DISCLAIMER
@@ -88,7 +97,7 @@ has_rdoc: true
88
97
  homepage: http://rtm.topicmapslab.de/
89
98
  licenses: []
90
99
 
91
- post_install_message: You have successfully installed rtm-javatmapi.
100
+ post_install_message:
92
101
  rdoc_options: []
93
102
 
94
103
  require_paths:
@@ -97,18 +106,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
106
  requirements:
98
107
  - - ">="
99
108
  - !ruby/object:Gem::Version
109
+ segments:
110
+ - 0
100
111
  version: "0"
101
- version:
102
112
  required_rubygems_version: !ruby/object:Gem::Requirement
103
113
  requirements:
104
114
  - - ">="
105
115
  - !ruby/object:Gem::Version
116
+ segments:
117
+ - 0
106
118
  version: "0"
107
- version:
108
119
  requirements: []
109
120
 
110
121
  rubyforge_project: rtm
111
- rubygems_version: 1.3.5
122
+ rubygems_version: 1.3.6
112
123
  signing_key:
113
124
  specification_version: 3
114
125
  summary: Ruby Topic Maps is a Topic Maps engine written in Ruby. The javatmapi gem holds common code for Java TMAPI-based engines.