rtm 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/DISCLAIMER +3 -1
  2. data/README +0 -0
  3. data/lib/rtm.rb +0 -1
  4. data/lib/rtm/axes/topic.rb +0 -3
  5. data/lib/rtm/axes/topics.rb +0 -3
  6. data/lib/rtm/connection.rb +4 -4
  7. data/lib/rtm/engine.rb +6 -5
  8. data/lib/rtm/extensions.rb +1 -1
  9. data/lib/rtm/helpers/no_output.rb +1 -1
  10. data/lib/rtm/io/from_xtm2_libxml.rb +2 -2
  11. data/lib/rtm/io/tmapix_from.rb +11 -24
  12. data/lib/rtm/io/tmapix_to.rb +38 -7
  13. data/lib/rtm/navigation/topic/characteristics.rb +7 -9
  14. data/lib/rtm/navigation/topic/supertypes.rb +1 -5
  15. data/lib/rtm/sugar.rb +16 -1
  16. data/lib/rtm/sugar/association/remove.rb +21 -0
  17. data/lib/rtm/sugar/name/remove.rb +18 -0
  18. data/lib/rtm/sugar/occurrence/external.rb +1 -0
  19. data/lib/rtm/sugar/occurrence/remove.rb +15 -0
  20. data/lib/rtm/sugar/topic/remove.rb +23 -0
  21. data/lib/rtm/sugar/topic/topic_ref.rb +111 -7
  22. data/lib/rtm/sugar/topic_map/readable.rb +19 -0
  23. data/lib/rtm/sugar/topic_map/remove.rb +15 -6
  24. data/lib/rtm/sugar/topic_map/resolve.rb +44 -0
  25. data/lib/rtm/sugar/topic_map/scoped.rb +42 -0
  26. data/lib/rtm/sugar/topic_map/types.rb +46 -0
  27. data/lib/rtm/sugar/variant/remove.rb +15 -0
  28. data/lib/rtm/version.rb +1 -2
  29. data/spec/rtm/axes/topic_spec.rb +4 -4
  30. data/spec/rtm/axes/topics_spec.rb +4 -4
  31. data/spec/rtm/engine_spec.rb +10 -1
  32. data/spec/rtm/io/tmapix_from_spec.rb +41 -9
  33. data/spec/rtm/io/tmapix_to_spec.rb +58 -32
  34. data/spec/rtm/io/to_rdf_spec.rb +8 -4
  35. data/spec/rtm/javatmapi_spec.rb +39 -29
  36. data/spec/rtm/navigation/topic/characteristics_spec.rb +11 -16
  37. data/spec/rtm/navigation/topic/supertypes_spec.rb +32 -89
  38. data/spec/rtm/navigation/topic_spec.rb +4 -4
  39. data/spec/rtm/sugar/association/hash_access_spec.rb +1 -1
  40. data/spec/rtm/sugar/topic/counterparts_spec.rb +18 -2
  41. data/spec/rtm/sugar/topic/remove_spec.rb +46 -0
  42. data/spec/rtm/sugar/topic/topic_ref_spec.rb +99 -26
  43. data/spec/rtm/sugar/topic_map/readable_spec.rb +25 -0
  44. data/spec/rtm/sugar/topic_map/remove_spec.rb +4 -1
  45. data/spec/rtm/sugar/topic_map/resolve_spec.rb +56 -0
  46. data/spec/rtm/sugar/topic_map/types_spec.rb +31 -0
  47. data/spec/rtm/tmapi/core/reifiable_spec.rb +0 -1
  48. data/spec/rtm/tmapi/core/topic_map_spec.rb +13 -8
  49. data/spec/rtm/tmapi/core/topic_spec.rb +17 -6
  50. data/spec/rtm/tmapi_spec.rb +2 -2
  51. data/spec/rtm_spec.rb +3 -3
  52. data/spec/spec_helper.rb +34 -6
  53. data/test/javalibs/junit-4.8.1.jar +0 -0
  54. data/test/javalibs/tmapi-tests-2.0.3-SNAPSHOT.jar +0 -0
  55. metadata +175 -165
  56. data/test/javalibs/junit-4.5.jar +0 -0
  57. data/test/javalibs/tmapi-2.0-tests.jar +0 -0
@@ -0,0 +1,25 @@
1
+ # Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
2
+ # License: Apache License, Version 2.0
3
+
4
+ require File.dirname(__FILE__) + '/../../../spec_helper'
5
+
6
+ module RTM::Sugar::TopicMap
7
+ module Readable
8
+ describe self do
9
+ before(:each) do
10
+ @tm = get_used_tm_sys_tm
11
+ end
12
+ after(:each) do
13
+ @tm.close
14
+ end
15
+
16
+ describe "#read_only?" do
17
+ it "should give back false for all not-only-readable maps" do
18
+ @tm.should be_a_kind_of RTM::TopicMap
19
+ @tm.read_only?.should_not be_true
20
+ end
21
+ end
22
+
23
+ end
24
+ end
25
+ end
@@ -10,8 +10,11 @@ module RTM::Sugar::TopicMap
10
10
  @tm = get_used_tm_sys_tm
11
11
  @tm.from_xtm(File.dirname(__FILE__) + "/../../../resources/toyTM.xtm")
12
12
  end
13
+ after(:each) do
14
+ @tm.close
15
+ end
13
16
 
14
- it "should respond to remove_everything" do
17
+ it "should respond to clear" do
15
18
  @tm.should respond_to(:clear)
16
19
  end
17
20
 
@@ -0,0 +1,56 @@
1
+ # Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
2
+ # License: Apache License, Version 2.0
3
+
4
+ require File.dirname(__FILE__) + '/../../../spec_helper'
5
+
6
+ module RTM::Sugar::TopicMap
7
+ module Resolve
8
+ describe self do
9
+ before(:each) do
10
+ @tm = get_used_tm_sys_tm
11
+ @tm.from_xtm(File.dirname(__FILE__) + "/../../../resources/toyTM.xtm")
12
+ @tm.add_prefix("wiki", "http://en.wikipedia.org/wiki/")
13
+ end
14
+ after(:each) do
15
+ @tm.close
16
+ end
17
+
18
+ describe "#deresolve" do
19
+ it "should deresolve an xsd-Locator" do
20
+ topic = @tm.get("wiki:Germany")
21
+ topic.should_not be_nil
22
+ locator = topic["wiki:Population"].first.datatype
23
+ locator.should_not be_nil
24
+ result = @tm.deresolve(locator)
25
+ result.should == "xsd:long"
26
+ end
27
+ it "should deresolve a wiki-Iri" do
28
+ @tm.deresolve("http://en.wikipedia.org/wiki/Belgium").should == "wiki:Belgium"
29
+ end
30
+ it "should not deresolve if the prefix does not occurr at the beginning of the identifier" do
31
+ @tm.deresolve("testhttp://en.wikipedia.org/wiki/Berlin").should == "testhttp://en.wikipedia.org/wiki/Berlin"
32
+ end
33
+ it "should deresolve iris starting with 'ii:'" do
34
+ @tm.deresolve("ii:http://en.wikipedia.org/wiki/Belgium").should == "wiki:Belgium"
35
+ end
36
+ it "should deresolve iris starting with '^'" do
37
+ @tm.deresolve("^http://en.wikipedia.org/wiki/Belgium").should == "wiki:Belgium"
38
+ end
39
+ it "should deresolve iris starting with 'sl:'" do
40
+ @tm.deresolve("sl:http://en.wikipedia.org/wiki/Belgium").should == "wiki:Belgium"
41
+ end
42
+ it "should deresolve iris starting with '='" do
43
+ @tm.deresolve("=http://en.wikipedia.org/wiki/Belgium").should == "wiki:Belgium"
44
+ end
45
+ it "should deresolve iris starting with 'si:'" do
46
+ @tm.deresolve("si:http://en.wikipedia.org/wiki/Belgium").should == "wiki:Belgium"
47
+ end
48
+ it "should deresolve against the base_iri" do
49
+ @tm.deresolve("http://www.topicmapslab.de/Blubber").should == "Blubber"
50
+ @tm.deresolve("http://www.topicmapslab.de/#id234").should == "#id234"
51
+ end
52
+ end
53
+
54
+ end
55
+ end
56
+ end
@@ -17,6 +17,37 @@ module RTM::Sugar::TopicMap
17
17
  it "should be tested"
18
18
  end
19
19
 
20
+ describe "#association_types_sorted" do
21
+ it "should give back the assocs type sorted" do
22
+ type1 = @tm.get!("a")
23
+ type2 = @tm.get!("ab")
24
+ type3 = @tm.get!("b")
25
+ assoc1 = @tm.create_association(type1)
26
+ assoc2 = @tm.create_association(type2)
27
+ assoc3 = @tm.create_association(type3)
28
+ result = @tm.association_types_sorted
29
+ result.should be_a_kind_of Array
30
+ result.size.should == 3
31
+ result[0].should == type1
32
+ result[1].should == type2
33
+ result[2].should == type3
34
+ end
35
+ it "should give back the assocs type sorted by best_label" do
36
+ type1 = @tm.get!("a")
37
+ type2 = @tm.get!("ab")
38
+ type3 = @tm.get!("b")
39
+ assoc1 = @tm.create_association(type1)
40
+ assoc2 = @tm.create_association(type2)
41
+ assoc3 = @tm.create_association(type3)
42
+ result = @tm.association_types_sorted(:best_label)
43
+ result.should be_a_kind_of Array
44
+ result.size.should == 3
45
+ result[0].should == type1
46
+ result[1].should == type2
47
+ result[2].should == type3
48
+ end if implementation_for_spec == :majortom
49
+ end
50
+
20
51
  describe "#role_types" do
21
52
  it "should be tested"
22
53
  end
@@ -160,7 +160,6 @@ module RTM::Reifiable
160
160
  topic.should have(1).names
161
161
  end
162
162
  end
163
- #puts @basis.tmsf.getFeature("http://tmapi.org/features/automerge")
164
163
  end
165
164
  end
166
165
 
@@ -21,7 +21,11 @@ module RTM::TopicMap
21
21
  @e.add_type(@f)
22
22
  end
23
23
  it "should give back all topics in the topic map when called without type" do
24
- @tm.topics.size.should == 6
24
+ if [:majortom, :majortom_db].include? implementation_for_spec
25
+ @tm.topics.size.should == 6 # instead of 9, no type instance assocs are created
26
+ else
27
+ @tm.topics.size.should == 6
28
+ end
25
29
  @tm.topics.should include(@a,@b,@c,@d,@e,@f)
26
30
  end
27
31
  it "should give back all topics that are instances of the specified type" do
@@ -724,22 +728,23 @@ module RTM::TopicMap
724
728
  end
725
729
  describe "#names" do
726
730
  it "should give back all names in the topic map" do
727
- @tm.should have(165).names
731
+ @tm.should have(175).names
728
732
  end
729
733
  end
730
734
  describe "#occurrences" do
731
- it "should give back all names in the topic map" do
732
- @tm.should have(24).occurrences
735
+ it "should give back all occurrences in the topic map" do
736
+ @tm.should have(28).occurrences
733
737
  end
734
738
  end
735
739
  describe "#roles" do
736
- it "should give back all names in the topic map" do
737
- pending if implementation_for_spec == :sesametm
738
- @tm.should have(131).roles
740
+ it "should give back all roles in the topic map" do
741
+ unless [:sesametm, :majortom, :majortom_db].include? implementation_for_spec
742
+ @tm.should have(131).roles
743
+ end
739
744
  end
740
745
  end
741
746
  describe "#variants" do
742
- it "should give back all names in the topic map" do
747
+ it "should give back all variants in the topic map" do
743
748
  @tm.should have(44).variants
744
749
  end
745
750
  end
@@ -16,7 +16,7 @@ module RTM::Topic
16
16
  before(:each) do
17
17
  @t1,@t2,@t3 = @tm.get!(["t1","t2","t3"])
18
18
  end
19
- it "should not create an type-instance-association" do
19
+ it "should not create a type-instance-association" do
20
20
  @t1.add_type(@t3)
21
21
  if implementation_for_spec == :sesametm
22
22
  pending "unless engine is SesameTM" do
@@ -1193,11 +1193,22 @@ module RTM::Topic
1193
1193
  topic.locators.should be_empty
1194
1194
  end
1195
1195
  it "should do what? if the topic already has this identifier as sl"
1196
- it "should merge the topic A with another topic B that has the same identifier as ii or si when adding this identifier to A, but throws an exception" do
1197
- topicA = @tm.get!("ii:" + @ii_1)
1198
- topicB = @tm.get!("ii:" + @ii_2)
1199
- lambda{topicA.add_subject_identifier(@ii_2)}.should raise_error
1200
- end
1196
+ describe "merging topic A with another topic B that has the same identifier as ii or si" do
1197
+ before(:each) do
1198
+ @topicA = @tm.get!("ii:" + @ii_1)
1199
+ @topicB = @tm.get!("ii:" + @ii_2)
1200
+ end
1201
+ if [:majortom, :majortom_db, :couchtm].include? implementation_for_spec #FIXME: this should check for the automerge feature instead of concrete implementations
1202
+ it "should be done" do
1203
+ @topicA.add_subject_identifier(@ii_2)
1204
+ @topicA.should have(3).references
1205
+ end
1206
+ else
1207
+ it "should raise an error" do
1208
+ lambda{@topicA.add_subject_identifier(@ii_2)}.should raise_error
1209
+ end
1210
+ end
1211
+ end
1201
1212
  end # of describe add_subject_indentifier
1202
1213
 
1203
1214
  describe "#add_item_identifier" do
@@ -9,7 +9,7 @@ module RTM
9
9
 
10
10
  describe "#create" do
11
11
  before(:all) do
12
- @connection = RTM.connect(:implementation => implementation_for_spec)
12
+ @connection = get_used_tm_sys
13
13
  end
14
14
  it "should create a topic map given a base locator (String)" do
15
15
  tm = @connection.create("a:b")
@@ -30,7 +30,7 @@ module RTM
30
30
 
31
31
  describe "#create_locator" do
32
32
  before(:all) do
33
- @connection = RTM.connect(:implementation => implementation_for_spec)
33
+ @connection = get_used_tm_sys
34
34
  end
35
35
  it "should create a locator given a String reference" do
36
36
  locator = @connection.create_locator("a:b")
@@ -6,7 +6,7 @@ require File.dirname(__FILE__) + '/spec_helper'
6
6
  describe RTM do
7
7
  describe "#connect" do
8
8
  it "should have a TMAPI engine as default backend" do
9
- tms_tmapi = RTM.connect(:implementation => implementation_for_spec)
9
+ tms_tmapi = get_used_tm_sys
10
10
  tms_tmapi.should be_a_kind_of RTM::JavaTMAPI
11
11
  tms_tmapi.should be_a_kind_of Java::OrgTmapiCore::TopicMapSystem
12
12
  end
@@ -17,8 +17,8 @@ describe RTM do
17
17
  else
18
18
  number_of_already_existing_connections = 0
19
19
  end
20
- tms1 = RTM.connect(:implementation => implementation_for_spec)
21
- tms2 = RTM.connect(:implementation => implementation_for_spec)
20
+ tms1 = get_used_tm_sys
21
+ tms2 = get_used_tm_sys
22
22
  tms1.should_not == tms2
23
23
  number_of_already_existing_connections.should == RTM[implementation_for_spec].length - 2
24
24
  end
@@ -9,20 +9,48 @@ require 'rtm'
9
9
  def implementation_for_spec
10
10
  engine = ENV['RTM_IMPLEMENTATION'] && ENV['RTM_IMPLEMENTATION'].to_sym || :ontopia # if env is nil, the "normal progress will go on" # TODO: remove ontopia, as it should be chosen by connect by default
11
11
  end
12
+
12
13
  def get_used_tm_sys
13
- RTM.connect(:implementation => implementation_for_spec)
14
+ if implementation_for_spec == :majortom_db
15
+ begin
16
+ $database_params ||= YAML.load_file(File.join(File.dirname(__FILE__), "/database_config.yml"))["database_params"]
17
+ rescue
18
+ raise("You need to define the database_config.yml in rtm/spec.")
19
+ end
20
+ connection = RTM.connect($database_params)
21
+ else
22
+ connection = RTM.connect(:implementation => implementation_for_spec)
23
+ end
24
+ return connection
14
25
  end
15
26
 
16
27
  def get_used_tm_sys_tm
17
- @basis = get_used_tm_sys
18
- tm = @basis.create("http://www.topicmapslab.de/")
19
- if (implementation_for_spec == :hatana)
20
- tm.merge_in(RTM.connect(:implementation => :ontopia).create("http://www.topicmapslab.de/"))
28
+ connection = get_used_tm_sys
29
+
30
+ begin
31
+ tm = connection.create("http://www.topicmapslab.de/")
32
+ rescue Exception => e
33
+ print_stack_trace(e)
34
+ raise(e.message)
35
+ end
36
+
37
+ if implementation_for_spec == :majortom_db
38
+ tm.clear
21
39
  end
22
- # tm.enable_query_cache
40
+ # tm.enable_query_cache
23
41
  return tm
24
42
  end
25
43
 
26
44
  def ar_available?
27
45
  !Gem.source_index.find_name('activerecord').empty?
28
46
  end
47
+
48
+ def print_stack_trace(e)
49
+ puts "\nError because of:"
50
+ puts e.message
51
+ while e.cause
52
+ puts "and because of:"
53
+ e = e.cause
54
+ puts e.message
55
+ end
56
+ end
metadata CHANGED
@@ -3,21 +3,21 @@ name: rtm
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
- - 0
7
- - 3
8
- - 0
9
- version: 0.3.0
6
+ - 0
7
+ - 3
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
- - Benjamin Bock
13
- - Arnim Bleier
14
- - Uta Schulze
15
- - Daniel Exner
12
+ - Benjamin Bock
13
+ - Arnim Bleier
14
+ - Uta Schulze
15
+ - Daniel Exner
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-04-13 00:00:00 +02:00
20
+ date: 2010-09-28 00:00:00 +02:00
21
21
  default_executable:
22
22
  dependencies: []
23
23
 
@@ -62,7 +62,7 @@ description: |
62
62
  Copyright 2009 Topic Maps Lab, University of Leipzig.
63
63
  Apache License, Version 2.0
64
64
 
65
- email: rtm+rtm-gem-20100413@topicmapslab.de
65
+ email: rtm+rtm-gem-20100928@topicmapslab.de
66
66
  executables: []
67
67
 
68
68
  extensions: []
@@ -70,150 +70,160 @@ extensions: []
70
70
  extra_rdoc_files: []
71
71
 
72
72
  files:
73
- - lib/rtm/axes/association.rb
74
- - lib/rtm/axes/associations.rb
75
- - lib/rtm/axes/assocs_names_occs.rb
76
- - lib/rtm/axes/characteristic.rb
77
- - lib/rtm/axes/characteristics.rb
78
- - lib/rtm/axes/string.rb
79
- - lib/rtm/axes/strings.rb
80
- - lib/rtm/axes/topic.rb
81
- - lib/rtm/axes/topics.rb
82
- - lib/rtm/axes.rb
83
- - lib/rtm/connection.rb
84
- - lib/rtm/deprecated/index_property_set.rb
85
- - lib/rtm/engine.rb
86
- - lib/rtm/extensions.rb
87
- - lib/rtm/helpers/locator.rb
88
- - lib/rtm/helpers/no_output.rb
89
- - lib/rtm/helpers/uri.rb
90
- - lib/rtm/io/from_xtm2_libxml.rb
91
- - lib/rtm/io/tmapix_from.rb
92
- - lib/rtm/io/tmapix_to.rb
93
- - lib/rtm/io/to_hash.rb
94
- - lib/rtm/io/to_jtm.rb
95
- - lib/rtm/io/to_rdf.rb
96
- - lib/rtm/io/to_string.rb
97
- - lib/rtm/io/to_xtm1.rb
98
- - lib/rtm/io/to_xtm2.rb
99
- - lib/rtm/io/to_yaml.rb
100
- - lib/rtm/io.rb
101
- - lib/rtm/navigation/association/players.rb
102
- - lib/rtm/navigation/name/atomify.rb
103
- - lib/rtm/navigation/name/characteristics.rb
104
- - lib/rtm/navigation/occurrence/atomify.rb
105
- - lib/rtm/navigation/occurrence/characteristics.rb
106
- - lib/rtm/navigation/topic/characteristics.rb
107
- - lib/rtm/navigation/topic/indicators.rb
108
- - lib/rtm/navigation/topic/items.rb
109
- - lib/rtm/navigation/topic/locators.rb
110
- - lib/rtm/navigation/topic/players.rb
111
- - lib/rtm/navigation/topic/supertypes.rb
112
- - lib/rtm/navigation/topic/traverse.rb
113
- - lib/rtm/navigation/topic/types.rb
114
- - lib/rtm/navigation.rb
115
- - lib/rtm/psi.rb
116
- - lib/rtm/sugar/association/hash_access.rb
117
- - lib/rtm/sugar/occurrence/dynamic_value.rb
118
- - lib/rtm/sugar/occurrence/external.rb
119
- - lib/rtm/sugar/reifiable/reifier.rb
120
- - lib/rtm/sugar/role/counterparts.rb
121
- - lib/rtm/sugar/topic/best_name.rb
122
- - lib/rtm/sugar/topic/characteristics.rb
123
- - lib/rtm/sugar/topic/counterparts.rb
124
- - lib/rtm/sugar/topic/hash_access.rb
125
- - lib/rtm/sugar/topic/scoped.rb
126
- - lib/rtm/sugar/topic/topic_ref.rb
127
- - lib/rtm/sugar/topic/typed.rb
128
- - lib/rtm/sugar/topic_map/query_cache.rb
129
- - lib/rtm/sugar/topic_map/remove.rb
130
- - lib/rtm/sugar/topic_map/scoped.rb
131
- - lib/rtm/sugar/topic_map/types.rb
132
- - lib/rtm/sugar/typed/types.rb
133
- - lib/rtm/sugar/variant/topic.rb
134
- - lib/rtm/sugar.rb
135
- - lib/rtm/topology.rb
136
- - lib/rtm/validation.rb
137
- - lib/rtm/version.rb
138
- - lib/rtm.rb
139
- - spec/helpers/spec_exampleexamplegroup.rb
140
- - spec/rtm/axes/association_spec.rb
141
- - spec/rtm/axes/associations_spec.rb
142
- - spec/rtm/axes/assocs_names_occs_spec.rb
143
- - spec/rtm/axes/characteristic_spec.rb
144
- - spec/rtm/axes/characteristics_spec.rb
145
- - spec/rtm/axes/string_spec.rb
146
- - spec/rtm/axes/strings_spec.rb
147
- - spec/rtm/axes/topic_spec.rb
148
- - spec/rtm/axes/topics_spec.rb
149
- - spec/rtm/base_spec.rb
150
- - spec/rtm/engine_spec.rb
151
- - spec/rtm/io/tmapix_from_spec.rb
152
- - spec/rtm/io/tmapix_to_spec.rb
153
- - spec/rtm/io/to_hash_spec.rb
154
- - spec/rtm/io/to_rdf_spec.rb
155
- - spec/rtm/io/to_string_spec.rb
156
- - spec/rtm/io/to_yaml_spec.rb
157
- - spec/rtm/javatmapi_spec.rb
158
- - spec/rtm/navigation/association/players_spec.rb
159
- - spec/rtm/navigation/association_spec.rb
160
- - spec/rtm/navigation/name/atomify_spec.rb
161
- - spec/rtm/navigation/name/characteristics_spec.rb
162
- - spec/rtm/navigation/name_spec.rb
163
- - spec/rtm/navigation/occurrence/atomify_spec.rb
164
- - spec/rtm/navigation/occurrence/characteristics_spec.rb
165
- - spec/rtm/navigation/occurrence_spec.rb
166
- - spec/rtm/navigation/string_spec.rb
167
- - spec/rtm/navigation/topic/characteristics_spec.rb
168
- - spec/rtm/navigation/topic/indicators_spec.rb
169
- - spec/rtm/navigation/topic/items_spec.rb
170
- - spec/rtm/navigation/topic/locators_spec.rb
171
- - spec/rtm/navigation/topic/players_spec.rb
172
- - spec/rtm/navigation/topic/scope_spec.rb
173
- - spec/rtm/navigation/topic/supertypes_spec.rb
174
- - spec/rtm/navigation/topic/traverse_spec.rb
175
- - spec/rtm/navigation/topic/types_spec.rb
176
- - spec/rtm/navigation/topic_spec.rb
177
- - spec/rtm/sugar/association/hash_access_spec.rb
178
- - spec/rtm/sugar/occurrence/dynamic_value_spec.rb
179
- - spec/rtm/sugar/occurrence/external_spec.rb
180
- - spec/rtm/sugar/reifiable/reifier_spec.rb
181
- - spec/rtm/sugar/role/counterparts_spec.rb
182
- - spec/rtm/sugar/topic/best_name_spec.rb
183
- - spec/rtm/sugar/topic/characteristics_spec.rb
184
- - spec/rtm/sugar/topic/counterparts_spec.rb
185
- - spec/rtm/sugar/topic/hash_access_spec.rb
186
- - spec/rtm/sugar/topic/scoped_spec.rb
187
- - spec/rtm/sugar/topic/topic_ref_spec.rb
188
- - spec/rtm/sugar/topic/typed_spec.rb
189
- - spec/rtm/sugar/topic_map/remove_spec.rb
190
- - spec/rtm/sugar/topic_map/scoped_spec.rb
191
- - spec/rtm/sugar/topic_map/types_spec.rb
192
- - spec/rtm/sugar/typed/types_spec.rb
193
- - spec/rtm/sugar/variant/topic_spec.rb
194
- - spec/rtm/tmapi/core/association_spec.rb
195
- - spec/rtm/tmapi/core/construct_spec.rb
196
- - spec/rtm/tmapi/core/datatype_aware_spec.rb
197
- - spec/rtm/tmapi/core/name_spec.rb
198
- - spec/rtm/tmapi/core/occurrence_spec.rb
199
- - spec/rtm/tmapi/core/reifiable_spec.rb
200
- - spec/rtm/tmapi/core/role_spec.rb
201
- - spec/rtm/tmapi/core/scoped_spec.rb
202
- - spec/rtm/tmapi/core/topic_map_spec.rb
203
- - spec/rtm/tmapi/core/topic_spec.rb
204
- - spec/rtm/tmapi/core/typed_spec.rb
205
- - spec/rtm/tmapi/core/variant_spec.rb
206
- - spec/rtm/tmapi/ext/java_util_set_spec.rb
207
- - spec/rtm/tmapi_spec.rb
208
- - spec/rtm/utils/sparql_spec.rb
209
- - spec/rtm_spec.rb
210
- - spec/spec_helper.rb
211
- - test/tmapi_tests.rb
212
- - test/javalibs/junit-4.5.jar
213
- - test/javalibs/tmapi-2.0-tests.jar
214
- - LICENSE
215
- - DISCLAIMER
216
- - README
73
+ - lib/rtm.rb
74
+ - lib/rtm/axes.rb
75
+ - lib/rtm/connection.rb
76
+ - lib/rtm/engine.rb
77
+ - lib/rtm/extensions.rb
78
+ - lib/rtm/io.rb
79
+ - lib/rtm/navigation.rb
80
+ - lib/rtm/psi.rb
81
+ - lib/rtm/sugar.rb
82
+ - lib/rtm/topology.rb
83
+ - lib/rtm/validation.rb
84
+ - lib/rtm/version.rb
85
+ - lib/rtm/axes/association.rb
86
+ - lib/rtm/axes/associations.rb
87
+ - lib/rtm/axes/assocs_names_occs.rb
88
+ - lib/rtm/axes/characteristic.rb
89
+ - lib/rtm/axes/characteristics.rb
90
+ - lib/rtm/axes/string.rb
91
+ - lib/rtm/axes/strings.rb
92
+ - lib/rtm/axes/topic.rb
93
+ - lib/rtm/axes/topics.rb
94
+ - lib/rtm/deprecated/index_property_set.rb
95
+ - lib/rtm/helpers/locator.rb
96
+ - lib/rtm/helpers/no_output.rb
97
+ - lib/rtm/helpers/uri.rb
98
+ - lib/rtm/io/from_xtm2_libxml.rb
99
+ - lib/rtm/io/tmapix_from.rb
100
+ - lib/rtm/io/tmapix_to.rb
101
+ - lib/rtm/io/to_hash.rb
102
+ - lib/rtm/io/to_jtm.rb
103
+ - lib/rtm/io/to_rdf.rb
104
+ - lib/rtm/io/to_string.rb
105
+ - lib/rtm/io/to_xtm1.rb
106
+ - lib/rtm/io/to_xtm2.rb
107
+ - lib/rtm/io/to_yaml.rb
108
+ - lib/rtm/navigation/association/players.rb
109
+ - lib/rtm/navigation/name/atomify.rb
110
+ - lib/rtm/navigation/name/characteristics.rb
111
+ - lib/rtm/navigation/occurrence/atomify.rb
112
+ - lib/rtm/navigation/occurrence/characteristics.rb
113
+ - lib/rtm/navigation/topic/characteristics.rb
114
+ - lib/rtm/navigation/topic/indicators.rb
115
+ - lib/rtm/navigation/topic/items.rb
116
+ - lib/rtm/navigation/topic/locators.rb
117
+ - lib/rtm/navigation/topic/players.rb
118
+ - lib/rtm/navigation/topic/supertypes.rb
119
+ - lib/rtm/navigation/topic/traverse.rb
120
+ - lib/rtm/navigation/topic/types.rb
121
+ - lib/rtm/sugar/association/hash_access.rb
122
+ - lib/rtm/sugar/association/remove.rb
123
+ - lib/rtm/sugar/name/remove.rb
124
+ - lib/rtm/sugar/occurrence/dynamic_value.rb
125
+ - lib/rtm/sugar/occurrence/external.rb
126
+ - lib/rtm/sugar/occurrence/remove.rb
127
+ - lib/rtm/sugar/reifiable/reifier.rb
128
+ - lib/rtm/sugar/role/counterparts.rb
129
+ - lib/rtm/sugar/topic/best_name.rb
130
+ - lib/rtm/sugar/topic/characteristics.rb
131
+ - lib/rtm/sugar/topic/counterparts.rb
132
+ - lib/rtm/sugar/topic/hash_access.rb
133
+ - lib/rtm/sugar/topic/remove.rb
134
+ - lib/rtm/sugar/topic/scoped.rb
135
+ - lib/rtm/sugar/topic/topic_ref.rb
136
+ - lib/rtm/sugar/topic/typed.rb
137
+ - lib/rtm/sugar/topic_map/query_cache.rb
138
+ - lib/rtm/sugar/topic_map/readable.rb
139
+ - lib/rtm/sugar/topic_map/remove.rb
140
+ - lib/rtm/sugar/topic_map/resolve.rb
141
+ - lib/rtm/sugar/topic_map/scoped.rb
142
+ - lib/rtm/sugar/topic_map/types.rb
143
+ - lib/rtm/sugar/typed/types.rb
144
+ - lib/rtm/sugar/variant/remove.rb
145
+ - lib/rtm/sugar/variant/topic.rb
146
+ - spec/rtm_spec.rb
147
+ - spec/spec_helper.rb
148
+ - spec/helpers/spec_exampleexamplegroup.rb
149
+ - spec/rtm/base_spec.rb
150
+ - spec/rtm/engine_spec.rb
151
+ - spec/rtm/javatmapi_spec.rb
152
+ - spec/rtm/tmapi_spec.rb
153
+ - spec/rtm/axes/association_spec.rb
154
+ - spec/rtm/axes/associations_spec.rb
155
+ - spec/rtm/axes/assocs_names_occs_spec.rb
156
+ - spec/rtm/axes/characteristic_spec.rb
157
+ - spec/rtm/axes/characteristics_spec.rb
158
+ - spec/rtm/axes/string_spec.rb
159
+ - spec/rtm/axes/strings_spec.rb
160
+ - spec/rtm/axes/topic_spec.rb
161
+ - spec/rtm/axes/topics_spec.rb
162
+ - spec/rtm/io/tmapix_from_spec.rb
163
+ - spec/rtm/io/tmapix_to_spec.rb
164
+ - spec/rtm/io/to_hash_spec.rb
165
+ - spec/rtm/io/to_rdf_spec.rb
166
+ - spec/rtm/io/to_string_spec.rb
167
+ - spec/rtm/io/to_yaml_spec.rb
168
+ - spec/rtm/navigation/association_spec.rb
169
+ - spec/rtm/navigation/name_spec.rb
170
+ - spec/rtm/navigation/occurrence_spec.rb
171
+ - spec/rtm/navigation/string_spec.rb
172
+ - spec/rtm/navigation/topic_spec.rb
173
+ - spec/rtm/navigation/association/players_spec.rb
174
+ - spec/rtm/navigation/name/atomify_spec.rb
175
+ - spec/rtm/navigation/name/characteristics_spec.rb
176
+ - spec/rtm/navigation/occurrence/atomify_spec.rb
177
+ - spec/rtm/navigation/occurrence/characteristics_spec.rb
178
+ - spec/rtm/navigation/topic/characteristics_spec.rb
179
+ - spec/rtm/navigation/topic/indicators_spec.rb
180
+ - spec/rtm/navigation/topic/items_spec.rb
181
+ - spec/rtm/navigation/topic/locators_spec.rb
182
+ - spec/rtm/navigation/topic/players_spec.rb
183
+ - spec/rtm/navigation/topic/scope_spec.rb
184
+ - spec/rtm/navigation/topic/supertypes_spec.rb
185
+ - spec/rtm/navigation/topic/traverse_spec.rb
186
+ - spec/rtm/navigation/topic/types_spec.rb
187
+ - spec/rtm/sugar/association/hash_access_spec.rb
188
+ - spec/rtm/sugar/occurrence/dynamic_value_spec.rb
189
+ - spec/rtm/sugar/occurrence/external_spec.rb
190
+ - spec/rtm/sugar/reifiable/reifier_spec.rb
191
+ - spec/rtm/sugar/role/counterparts_spec.rb
192
+ - spec/rtm/sugar/topic/best_name_spec.rb
193
+ - spec/rtm/sugar/topic/characteristics_spec.rb
194
+ - spec/rtm/sugar/topic/counterparts_spec.rb
195
+ - spec/rtm/sugar/topic/hash_access_spec.rb
196
+ - spec/rtm/sugar/topic/remove_spec.rb
197
+ - spec/rtm/sugar/topic/scoped_spec.rb
198
+ - spec/rtm/sugar/topic/topic_ref_spec.rb
199
+ - spec/rtm/sugar/topic/typed_spec.rb
200
+ - spec/rtm/sugar/topic_map/readable_spec.rb
201
+ - spec/rtm/sugar/topic_map/remove_spec.rb
202
+ - spec/rtm/sugar/topic_map/resolve_spec.rb
203
+ - spec/rtm/sugar/topic_map/scoped_spec.rb
204
+ - spec/rtm/sugar/topic_map/types_spec.rb
205
+ - spec/rtm/sugar/typed/types_spec.rb
206
+ - spec/rtm/sugar/variant/topic_spec.rb
207
+ - spec/rtm/tmapi/core/association_spec.rb
208
+ - spec/rtm/tmapi/core/construct_spec.rb
209
+ - spec/rtm/tmapi/core/datatype_aware_spec.rb
210
+ - spec/rtm/tmapi/core/name_spec.rb
211
+ - spec/rtm/tmapi/core/occurrence_spec.rb
212
+ - spec/rtm/tmapi/core/reifiable_spec.rb
213
+ - spec/rtm/tmapi/core/role_spec.rb
214
+ - spec/rtm/tmapi/core/scoped_spec.rb
215
+ - spec/rtm/tmapi/core/topic_map_spec.rb
216
+ - spec/rtm/tmapi/core/topic_spec.rb
217
+ - spec/rtm/tmapi/core/typed_spec.rb
218
+ - spec/rtm/tmapi/core/variant_spec.rb
219
+ - spec/rtm/tmapi/ext/java_util_set_spec.rb
220
+ - spec/rtm/utils/sparql_spec.rb
221
+ - test/tmapi_tests.rb
222
+ - test/javalibs/junit-4.8.1.jar
223
+ - test/javalibs/tmapi-tests-2.0.3-SNAPSHOT.jar
224
+ - LICENSE
225
+ - DISCLAIMER
226
+ - README
217
227
  has_rdoc: true
218
228
  homepage: http://rtm.topicmapslab.de/
219
229
  licenses: []
@@ -222,21 +232,21 @@ post_install_message: "You have successfully installed RTM. Please be aware you
222
232
  rdoc_options: []
223
233
 
224
234
  require_paths:
225
- - lib
235
+ - lib
226
236
  required_ruby_version: !ruby/object:Gem::Requirement
227
237
  requirements:
228
- - - ">="
229
- - !ruby/object:Gem::Version
230
- segments:
231
- - 0
232
- version: "0"
238
+ - - ">="
239
+ - !ruby/object:Gem::Version
240
+ segments:
241
+ - 0
242
+ version: "0"
233
243
  required_rubygems_version: !ruby/object:Gem::Requirement
234
244
  requirements:
235
- - - ">="
236
- - !ruby/object:Gem::Version
237
- segments:
238
- - 0
239
- version: "0"
245
+ - - ">="
246
+ - !ruby/object:Gem::Version
247
+ segments:
248
+ - 0
249
+ version: "0"
240
250
  requirements: []
241
251
 
242
252
  rubyforge_project: rtm