rtm-tmql 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ # Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
2
+ # License: Apache License, Version 2.0
3
+
4
+ require File.join(File.dirname(__FILE__), 'rtm/tmql')
@@ -1,13 +1,11 @@
1
1
  # Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
2
2
  # License: Apache License, Version 2.0
3
3
 
4
- if Object.const_defined?("Gem") && rtmgem = Gem.loaded_specs["rtm-tmql"]
5
- require 'rtm/javatmapi'
6
- else
4
+ unless Object.const_defined?("Gem") && rtmgem = Gem.loaded_specs["rtm-tmql"]
7
5
  javatmapi_path = File.expand_path(File.join(File.dirname(__FILE__), "../../../rtm-javatmapi/lib"))
8
6
  $LOAD_PATH.unshift javatmapi_path if File.directory?(javatmapi_path)
9
- require 'rtm/javatmapi'
10
7
  end
8
+ require 'rtm/javatmapi'
11
9
 
12
10
  Dir[File.join(File.dirname(__FILE__), 'tmql/javalibs/*.jar')].each {|file| require file }
13
11
  require 'rtm/tmql/tmql4j'
@@ -8,7 +8,6 @@ module RTM
8
8
  @topic_maps = []
9
9
  set_topic_map
10
10
 
11
- @tmqlcore = de.topicmapslab.tmql4j.common.core
12
11
  @new_tms = @topic_maps.first.engine.tmsf.newTopicMapSystem
13
12
  end
14
13
 
@@ -21,7 +20,7 @@ module RTM
21
20
  end
22
21
 
23
22
  def runtime
24
- @runtime ||= @tmqlcore.process.TMQLRuntimeFactory.newFactory.newRuntime(@new_tms, @topic_maps)
23
+ @runtime ||= Java::DeTopicmapslabTmql4jCommonCoreProcess::TMQLRuntimeFactory.newFactory.newRuntime(@new_tms, @topic_maps)
25
24
  end
26
25
 
27
26
  def properties
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
8
- - 1
9
- version: 0.2.1
7
+ - 3
8
+ - 0
9
+ version: 0.3.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Benjamin Bock
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-03-04 00:00:00 +01:00
18
+ date: 2010-04-13 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -27,13 +27,13 @@ dependencies:
27
27
  - !ruby/object:Gem::Version
28
28
  segments:
29
29
  - 0
30
- - 2
31
- - 1
32
- version: 0.2.1
30
+ - 3
31
+ - 0
32
+ version: 0.3.0
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
35
  description: The TMQL query engine for Ruby Topic Maps. See http://tmql4j.topicmapslab.de/ for more information about TMQL and TMQL4J.
36
- email: rtm+rtm-tmql-gem-20100304@topicmapslab.de
36
+ email: rtm+rtm-tmql-gem-20100413@topicmapslab.de
37
37
  executables: []
38
38
 
39
39
  extensions: []
@@ -43,6 +43,7 @@ extra_rdoc_files: []
43
43
  files:
44
44
  - lib/rtm/tmql/tmql4j.rb
45
45
  - lib/rtm/tmql.rb
46
+ - lib/rtm-tmql.rb
46
47
  - spec/rtm/tmql/flwor.rb
47
48
  - spec/rtm/tmql/path.rb
48
49
  - spec/rtm/tmql/select.rb
@@ -56,7 +57,7 @@ has_rdoc: true
56
57
  homepage: http://rtm.topicmapslab.de/
57
58
  licenses: []
58
59
 
59
- post_install_message: You have successfully installed rtm-tmql.
60
+ post_install_message:
60
61
  rdoc_options: []
61
62
 
62
63
  require_paths: