jena-jruby 0.4.1-java → 0.5.0-java

Sign up to get free protection for your applications and to get access to all the features.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -3,20 +3,19 @@
3
3
 
4
4
  %w[
5
5
  log4j-config.jar
6
- commons-codec-1.5.jar
7
- hamcrest-core-1.1.jar
8
- httpclient-4.1.2.jar
9
- httpcore-4.1.3.jar
10
- junit-4.9.jar
6
+ commons-codec-1.6.jar
7
+ httpclient-4.2.3.jar
8
+ httpcore-4.2.2.jar
9
+ jcl-over-slf4j-1.6.4.jar
11
10
  log4j-1.2.16.jar
12
11
  slf4j-api-1.6.4.jar
13
12
  slf4j-log4j12-1.6.4.jar
14
- xercesImpl-2.10.0.jar
13
+ xercesImpl-2.11.0.jar
15
14
  xml-apis-1.4.01.jar
16
- jena-iri-0.9.2-SNAPSHOT.jar
17
- jena-core-2.7.2-SNAPSHOT.jar
18
- jena-arq-2.9.2-SNAPSHOT.jar
19
- jena-tdb-0.9.2-SNAPSHOT.jar
15
+ jena-core-2.10.1.jar
16
+ jena-iri-0.9.6.jar
17
+ jena-arq-2.10.1.jar
18
+ jena-tdb-0.10.1.jar
20
19
  ].each do |jar|
21
20
  require jar
22
21
  end
@@ -16,13 +16,13 @@ module Jena
16
16
  # Jena.querySelect( m, 'select * where {?s ?p ?o}' )
17
17
  # Jena.querySelect( m, 'select * where {?s ?p ?o}', {}, "s" )
18
18
  # Jena.querySelect( m, 'select * where {?s ?p foo:bar}',
19
- # {:ns => {"foo", "http://example.com/foo#"}}, "s" )
19
+ # {:ns => {"foo" => "http://example.com/foo#"}}, "s" )
20
20
  #
21
21
  # @param m [Model] The model to run the query against
22
22
  # @param query [String] The query to run
23
23
  # @param options [Hash] Options (see above)
24
24
  # @param *vars [String] Optional variables to project from results
25
- # @return [Array] Non-empty array of hashes, one per result
25
+ # @return [Array] Non-nil array of hashes, one per result
26
26
  def self.select( m, query, options = nil, *vars )
27
27
  results = []
28
28
  select_each( m, query, options, *vars ) {|soln| results << soln}
@@ -196,9 +196,9 @@ module Jena
196
196
  syntax = option( options, :syntax, com.hp.hpl.jena.query.Syntax.syntaxSPARQL_11 )
197
197
 
198
198
  QueryFactory.parse( q, query, baseURI, syntax )
199
- qexec = QueryExecutionFactory.create( q, m, as_bindings( option( options, :bindings, nil ) ) )
199
+ bindings = as_bindings( option( options, :bindings, nil ) )
200
200
 
201
- qexec
201
+ bindings ? QueryExecutionFactory.create( q, m, bindings ) : QueryExecutionFactory.create( q, m )
202
202
  end
203
203
 
204
204
  end
@@ -1,5 +1,5 @@
1
1
  module Jena
2
- JENA_VERSION='2.7.1-SNAPSHOT'
3
- TDB_VERSION='0.9.1-SNAPSHOT'
4
- JENA_JRUBY_GEM_VERSION='0.4.1'
2
+ JENA_VERSION='2.10.1'
3
+ TDB_VERSION='2.10.1'
4
+ JENA_JRUBY_GEM_VERSION='0.5.0'
5
5
  end
data/lib/jena_jruby.rb CHANGED
@@ -38,7 +38,6 @@ module Jena
38
38
  java_import com.hp.hpl.jena.rdf.model.ResourceFactory
39
39
  java_import com.hp.hpl.jena.rdf.model.Resource
40
40
  java_import com.hp.hpl.jena.rdf.model.RSIterator
41
- java_import com.hp.hpl.jena.rdf.model.Schema
42
41
  java_import com.hp.hpl.jena.rdf.model.Selector
43
42
  java_import com.hp.hpl.jena.rdf.model.Seq
44
43
  java_import com.hp.hpl.jena.rdf.model.SimpleSelector
@@ -61,13 +60,10 @@ module Jena
61
60
  java_import com.hp.hpl.jena.util.LocatorURL
62
61
  java_import com.hp.hpl.jena.util.LocatorZip
63
62
  java_import com.hp.hpl.jena.util.Metadata
64
- java_import com.hp.hpl.jena.util.ModelLoader
65
- java_import com.hp.hpl.jena.util.ModelQueryUtil
66
63
  java_import com.hp.hpl.jena.util.MonitorGraph
67
64
  java_import com.hp.hpl.jena.util.MonitorModel
68
65
  java_import com.hp.hpl.jena.util.OneToManyMap
69
66
  java_import com.hp.hpl.jena.util.PrintUtil
70
- java_import com.hp.hpl.jena.util.QueryMapper
71
67
  java_import com.hp.hpl.jena.util.ResourceUtils
72
68
  java_import com.hp.hpl.jena.util.SystemUtils
73
69
  java_import com.hp.hpl.jena.util.Tokenizer
@@ -94,7 +90,6 @@ module Jena
94
90
  java_import com.hp.hpl.jena.query.BIOInput
95
91
  java_import com.hp.hpl.jena.query.Dataset
96
92
  java_import com.hp.hpl.jena.query.DatasetFactory
97
- java_import com.hp.hpl.jena.query.DataSource
98
93
  java_import com.hp.hpl.jena.query.LabelExistsException
99
94
  java_import com.hp.hpl.jena.query.ParameterizedSparqlString
100
95
  java_import com.hp.hpl.jena.query.Query
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jena-jruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: java
7
7
  authors:
@@ -9,19 +9,19 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-18 00:00:00.000000000 Z
12
+ date: 2013-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
16
16
  version_requirements: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  none: false
22
22
  requirement: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  none: false
@@ -31,13 +31,13 @@ dependencies:
31
31
  name: builder
32
32
  version_requirements: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ! '>='
34
+ - - '>='
35
35
  - !ruby/object:Gem::Version
36
36
  version: '0'
37
37
  none: false
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ! '>='
40
+ - - '>='
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  none: false
@@ -70,21 +70,20 @@ files:
70
70
  - log4j.xml
71
71
  - test/node_utils_test.rb
72
72
  - test/query_utils_test.rb
73
- - javalib/httpclient-4.1.2.jar
74
- - javalib/hamcrest-core-1.1.jar
75
- - javalib/jena-iri-0.9.2-SNAPSHOT.jar
76
- - javalib/jena-arq-2.9.2-SNAPSHOT.jar
73
+ - javalib/log4j-1.2.16.jar
74
+ - javalib/log4j-config.jar
75
+ - javalib/xercesImpl-2.11.0.jar
76
+ - javalib/jena-core-2.10.1.jar
77
+ - javalib/httpcore-4.2.2.jar
78
+ - javalib/jena-tdb-0.10.1.jar
79
+ - javalib/jcl-over-slf4j-1.6.4.jar
80
+ - javalib/commons-codec-1.6.jar
81
+ - javalib/httpclient-4.2.3.jar
77
82
  - javalib/xml-apis-1.4.01.jar
78
- - javalib/xercesImpl-2.10.0.jar
79
- - javalib/jena-tdb-0.9.2-SNAPSHOT.jar
80
83
  - javalib/slf4j-api-1.6.4.jar
81
- - javalib/log4j-config.jar
82
- - javalib/httpcore-4.1.3.jar
83
- - javalib/jena-core-2.7.2-SNAPSHOT.jar
84
- - javalib/log4j-1.2.16.jar
85
- - javalib/junit-4.9.jar
86
- - javalib/commons-codec-1.5.jar
84
+ - javalib/jena-iri-0.9.6.jar
87
85
  - javalib/slf4j-log4j12-1.6.4.jar
86
+ - javalib/jena-arq-2.10.1.jar
88
87
  homepage: https://github.com/ephemerian/jena-jruby
89
88
  licenses: []
90
89
  post_install_message:
@@ -94,13 +93,13 @@ require_paths:
94
93
  - javalib
95
94
  required_ruby_version: !ruby/object:Gem::Requirement
96
95
  requirements:
97
- - - ! '>='
96
+ - - '>='
98
97
  - !ruby/object:Gem::Version
99
98
  version: '0'
100
99
  none: false
101
100
  required_rubygems_version: !ruby/object:Gem::Requirement
102
101
  requirements:
103
- - - ! '>='
102
+ - - '>='
104
103
  - !ruby/object:Gem::Version
105
104
  version: '0'
106
105
  none: false
@@ -111,5 +110,3 @@ signing_key:
111
110
  specification_version: 3
112
111
  summary: JRuby wrapper for Apache Jena
113
112
  test_files: []
114
- has_rdoc:
115
- ...
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file