semantic_naming 2.1.2 → 2.1.3

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.
Files changed (2) hide show
  1. data/lib/semantic_naming/uri.rb +1 -1
  2. metadata +27 -27
@@ -192,7 +192,7 @@ module N
192
192
  def namespace
193
193
  nspace = nil
194
194
 
195
- domain_shortcut = domain_part.my_shortcut
195
+ domain_shortcut = domain_part ? domain_part.my_shortcut : nil
196
196
 
197
197
  if(domain_shortcut && URI[domain_shortcut].is_a?(Namespace))
198
198
  nspace = domain_shortcut
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic_naming
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
- - Daniel Hahn
7
+ - Daniel Hahn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-17 00:00:00 +01:00
12
+ date: 2010-02-04 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -20,37 +20,37 @@ executables: []
20
20
  extensions: []
21
21
 
22
22
  extra_rdoc_files:
23
- - README.rdoc
23
+ - README.rdoc
24
24
  files:
25
- - lib/ontology_graph/class_node.rb
26
- - lib/ontology_graph/graph.rb
27
- - lib/semantic_naming.rb
28
- - lib/semantic_naming/default_namespaces.rb
29
- - lib/semantic_naming/namespace.rb
30
- - lib/semantic_naming/predicate.rb
31
- - lib/semantic_naming/source_class.rb
32
- - lib/semantic_naming/uri.rb
33
- - README.rdoc
25
+ - lib/ontology_graph/class_node.rb
26
+ - lib/ontology_graph/graph.rb
27
+ - lib/semantic_naming.rb
28
+ - lib/semantic_naming/default_namespaces.rb
29
+ - lib/semantic_naming/namespace.rb
30
+ - lib/semantic_naming/predicate.rb
31
+ - lib/semantic_naming/source_class.rb
32
+ - lib/semantic_naming/uri.rb
33
+ - README.rdoc
34
34
  has_rdoc: true
35
35
  homepage: http://talia.discovery-project.eu/
36
36
  licenses: []
37
37
 
38
38
  post_install_message:
39
39
  rdoc_options:
40
- - --charset=UTF-8
40
+ - --charset=UTF-8
41
41
  require_paths:
42
- - lib
42
+ - lib
43
43
  required_ruby_version: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: "0"
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: "0"
48
48
  version:
49
49
  required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: "0"
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: "0"
54
54
  version:
55
55
  requirements: []
56
56
 
@@ -60,9 +60,9 @@ signing_key:
60
60
  specification_version: 3
61
61
  summary: Semantic Naming Extensions for ActiveRDF, Talia and others
62
62
  test_files:
63
- - test/class_node_test.rb
64
- - test/graph_test.rb
65
- - test/namespace_test.rb
66
- - test/predicate_test.rb
67
- - test/source_class_test.rb
68
- - test/uri_test.rb
63
+ - test/class_node_test.rb
64
+ - test/graph_test.rb
65
+ - test/namespace_test.rb
66
+ - test/predicate_test.rb
67
+ - test/source_class_test.rb
68
+ - test/uri_test.rb