ontopia-topicmaps 0.0.3-java → 0.0.4-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3441df9dcaf296edacb15f8bffad2a90acb228eb
4
- data.tar.gz: c6619f7345c8031ad4ea124c62cccc6e5ac9f429
3
+ metadata.gz: b94998ae2be6c82c574e14c5f00f6c08b8f53370
4
+ data.tar.gz: 3960e153b57b0df2bec182c8d91b1a0cd955314a
5
5
  SHA512:
6
- metadata.gz: ceec25f455e4ba27eab66a3f71aaf9bfdab5d564b8eca4d4133598ce25501e86a3c075e93f6ed93c2ef8ac1cb95b5cdee09dfbe3adc787c201cc28dd88a37cf0
7
- data.tar.gz: be48181973378e288d78dff2c8d6ecae6ae798d055bf56eedd9b6bad7235629ecd81b6466d3187307905ba391681d915f4f705b63848dad26681b4d0fc6cc4b9
6
+ metadata.gz: 0e0b1dad84d0add1d8a886953a91a89b81a54c79f971df40f1b32faa162ca30f675eaf72e15ec37003820567115b102ee82013d9c87c2affd023dc90c730fbdb
7
+ data.tar.gz: d5d7d411624755154c351205c4fa7587dd21a79bd1052f3855c778868e70cd7caccafa1af8a8f29718a6539c917bc8e13520f76fc5be098fc1c7359eba163fea
data/ChangeLog CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  = Revision history for ontopia-topicmaps
4
4
 
5
+ == 0.0.4 [2015-07-29]
6
+
7
+ * JRuby 9000 compatibility.
8
+
5
9
  == 0.0.3 [2014-04-16]
6
10
 
7
11
  * Added Ontopia::Topicmaps::Topicmap#extract_query_variables.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to ontopia-topicmaps version 0.0.3
5
+ This documentation refers to ontopia-topicmaps version 0.0.4
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -17,16 +17,21 @@ Ontopia application server, only the JAR files are needed.
17
17
  == SUPPORTED PLATFORMS
18
18
 
19
19
  Ontopia::Topicmaps requires JRuby[http://jruby.org]. It has been tested with
20
- jruby 1.7.4 (1.9.3p392) on OpenJDK 64-Bit Server VM 1.6.0_45-b06 [linux-amd64].
20
+ jruby 1.7.12 (1.9.3p392) on Java HotSpot(TM) 64-Bit Server VM 1.8.0_45-b14
21
+ [linux-amd64] and jruby 9.0.0.0 (2.2.2) on OpenJDK 64-Bit Server VM 24.79-b02
22
+ 1.7.0_79-b14 [linux-amd64].
23
+
24
+ Ontopia versions 5.2.2 and 5.3.0 are known to work with Ontopia::Topicmaps.
21
25
 
22
26
 
23
27
  == LINKS
24
28
 
25
- Documentation:: https://blackwinter.github.io/ontopia-topicmaps/
26
- Source code:: https://github.com/blackwinter/ontopia-topicmaps
27
- RubyGem:: https://rubygems.org/gems/ontopia-topicmaps
28
29
  Ontopia:: http://ontopia.net/
29
30
  Demo:: http://ixtrieve.fh-koeln.de/ghn
31
+ Documentation:: https://blackwinter.github.com/ontopia-topicmaps
32
+ Source code:: https://github.com/blackwinter/ontopia-topicmaps
33
+ RubyGem:: https://rubygems.org/gems/ontopia-topicmaps
34
+ Travis CI:: https://travis-ci.org/blackwinter/ontopia-topicmaps
30
35
 
31
36
 
32
37
  == AUTHORS
@@ -36,7 +41,7 @@ Demo:: http://ixtrieve.fh-koeln.de/ghn
36
41
 
37
42
  == LICENSE AND COPYRIGHT
38
43
 
39
- Copyright (C) 2013-2014 Jens Wille
44
+ Copyright (C) 2013-2015 Jens Wille
40
45
 
41
46
  ontopia-topicmaps is free software: you can redistribute it and/or modify it
42
47
  under the terms of the GNU Affero General Public License as published by
data/Rakefile CHANGED
@@ -4,16 +4,16 @@ begin
4
4
  require 'hen'
5
5
 
6
6
  Hen.lay! {{
7
- :gem => {
8
- :name => %q{ontopia-topicmaps},
9
- :version => Ontopia::Topicmaps::VERSION,
10
- :summary => %q{Query topic maps with Ontopia.},
11
- :author => %q{Jens Wille},
12
- :email => %q{jens.wille@gmail.com},
13
- :license => %q{AGPL-3.0},
14
- :homepage => :blackwinter,
15
- :platform => 'java',
16
- :dependencies => %w[]
7
+ gem: {
8
+ name: %q{ontopia-topicmaps},
9
+ version: Ontopia::Topicmaps::VERSION,
10
+ summary: %q{Query topic maps with Ontopia.},
11
+ author: %q{Jens Wille},
12
+ email: %q{jens.wille@gmail.com},
13
+ license: %q{AGPL-3.0},
14
+ homepage: :blackwinter,
15
+ platform: 'java',
16
+ requirements: ['Ontopia (http://ontopia.net/)']
17
17
  }
18
18
  }}
19
19
  rescue LoadError => err
@@ -3,7 +3,7 @@
3
3
  # #
4
4
  # ontopia-topicmaps -- Query topic maps with Ontopia. #
5
5
  # #
6
- # Copyright (C) 2013-2014 Jens Wille #
6
+ # Copyright (C) 2013-2015 Jens Wille #
7
7
  # #
8
8
  # ontopia-topicmaps is free software: you can redistribute it and/or modify #
9
9
  # it under the terms of the GNU Affero General Public License as published #
@@ -39,12 +39,12 @@ module Ontopia
39
39
  }
40
40
 
41
41
  QUERY = {
42
- :all_topics => <<-EOT,
42
+ all_topics: <<-EOT,
43
43
  select $TOPIC from
44
44
  topic($TOPIC),
45
45
  item-identifier($TOPIC, $_)?
46
46
  EOT
47
- :count_all_topics => <<-EOT
47
+ count_all_topics: <<-EOT
48
48
  select count($TOPIC) from
49
49
  topic($TOPIC),
50
50
  item-identifier($TOPIC, $_)?
@@ -82,7 +82,7 @@ select count($TOPIC) from
82
82
  str = Topicmaps.stringifier(str || :default)
83
83
 
84
84
  query_for_list(query, declarations, &block_given? ?
85
- lambda { |i,| yield(i, str) } : lambda { |i,| str[i] }).to_a
85
+ lambda { |i, *| yield(i, str) } : lambda { |i, *| str[i] }).to_a
86
86
  end
87
87
 
88
88
  def query_maps(query = nil, declarations = nil)
@@ -3,7 +3,7 @@
3
3
  # #
4
4
  # ontopia-topicmaps -- Query topic maps with Ontopia. #
5
5
  # #
6
- # Copyright (C) 2013-2014 Jens Wille #
6
+ # Copyright (C) 2013-2015 Jens Wille #
7
7
  # #
8
8
  # ontopia-topicmaps is free software: you can redistribute it and/or modify #
9
9
  # it under the terms of the GNU Affero General Public License as published #
@@ -29,7 +29,7 @@ module Ontopia
29
29
 
30
30
  MAJOR = 0
31
31
  MINOR = 0
32
- TINY = 3
32
+ TINY = 4
33
33
 
34
34
  class << self
35
35
 
@@ -3,6 +3,8 @@ $:.unshift('lib') unless $:.first == 'lib'
3
3
  require 'ontopia/topicmaps'
4
4
 
5
5
  RSpec.configure { |config|
6
+ config.expect_with(:rspec) { |c| c.syntax = [:should, :expect] }
7
+
6
8
  config.include(Module.new {
7
9
  def data(file)
8
10
  File.join(File.dirname(__FILE__), 'data', file)
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ontopia-topicmaps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: java
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2015-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hen
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
- version: '0'
22
+ version: 0.8.2
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.8'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: '0'
32
+ version: 0.8.2
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -83,15 +89,13 @@ licenses:
83
89
  metadata: {}
84
90
  post_install_message: |2+
85
91
 
86
- ontopia-topicmaps-0.0.3 [2014-04-16]:
92
+ ontopia-topicmaps-0.0.4 [2015-07-29]:
87
93
 
88
- * Added Ontopia::Topicmaps::Topicmap#extract_query_variables.
89
- * Added Ontopia::Topicmaps.file.
90
- * Housekeeping.
94
+ * JRuby 9000 compatibility.
91
95
 
92
96
  rdoc_options:
93
97
  - "--title"
94
- - ontopia-topicmaps Application documentation (v0.0.3)
98
+ - ontopia-topicmaps Application documentation (v0.0.4)
95
99
  - "--charset"
96
100
  - UTF-8
97
101
  - "--line-numbers"
@@ -110,9 +114,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
114
  - - ">="
111
115
  - !ruby/object:Gem::Version
112
116
  version: '0'
113
- requirements: []
117
+ requirements:
118
+ - Ontopia (http://ontopia.net/)
114
119
  rubyforge_project:
115
- rubygems_version: 2.2.2
120
+ rubygems_version: 2.4.8
116
121
  signing_key:
117
122
  specification_version: 4
118
123
  summary: Query topic maps with Ontopia.