rdf-raptor 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/CREDITS CHANGED
@@ -1 +1,3 @@
1
1
  * Ben Lavender <blavender@gmail.com>
2
+ * David Butler <david.william.butler@gmail.com>
3
+ * Gregg Kellogg <gregg@greggkellogg.net>
data/README CHANGED
@@ -1,11 +1,12 @@
1
1
  Raptor RDF Parser Plugin for RDF.rb
2
2
  ===================================
3
+ [![Build Status](https://secure.travis-ci.org/ruby-rdf/rdf-raptor.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-raptor)
3
4
 
4
5
  This is an [RDF.rb][] plugin that adds support for parsing/serializing
5
6
  [RDF/XML][], [Turtle][] and [RDFa][] data using the [Raptor RDF Parser][Raptor]
6
7
  library.
7
8
 
8
- * <http://github.com/bendiken/rdf-raptor>
9
+ * <http://github.com/ruby-rdf/rdf-raptor>
9
10
  * <http://blog.datagraph.org/2010/04/parsing-rdf-with-ruby>
10
11
 
11
12
  Features
@@ -16,7 +17,7 @@ Features
16
17
  * Extracts RDF statements from XHTML+RDFa documents.
17
18
  * Provides serialization format autodetection for RDF/XML, Turtle and RDFa.
18
19
  * Compatible with any operating system supported by Raptor and Ruby.
19
- * Compatible with MRI 1.8.x, 1.9.x and JRuby (tested with JRuby 1.4).
20
+ * Compatible with MRI 1.8.x, 1.9.x and JRuby (tested with JRuby 1.8 and 1.9 mode).
20
21
 
21
22
  Examples
22
23
  --------
@@ -44,7 +45,7 @@ Examples
44
45
  end
45
46
  end
46
47
 
47
- ### Extracting RDF statements from an XHTML+RDFa document
48
+ ### Extracting RDF statements from an HTML+RDFa document
48
49
 
49
50
  RDF::Reader.open(url = "http://bblfish.net/", :format => :rdfa, :base_uri => url) do |reader|
50
51
  reader.each_statement do |statement|
@@ -72,6 +73,14 @@ Examples
72
73
  end
73
74
  end
74
75
 
76
+ ### Obtaining the NTriples format specification class
77
+
78
+ RDF::Format.for(:ntriples) #=> RDF::Raptor::NTriples::Format
79
+ RDF::Format.for("input.nt")
80
+ RDF::Format.for(:file_name => "input.nt")
81
+ RDF::Format.for(:file_extension => "nt")
82
+ RDF::Format.for(:content_type => "application/n-triples")
83
+
75
84
  ### Obtaining the RDF/XML format specification class
76
85
 
77
86
  RDF::Format.for(:rdfxml) #=> RDF::Raptor::RDFXML::Format
@@ -113,7 +122,7 @@ Dependencies
113
122
 
114
123
  * [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.3.0)
115
124
  * [FFI](http://rubygems.org/gems/ffi) (>= 1.0.0)
116
- * [Raptor][] (>= 1.4.16), the `libraptor` library or the `rapper` binary
125
+ * [Raptor][] (>= 1.4.21), the `libraptor` library or the `rapper` binary
117
126
 
118
127
  Installation
119
128
  ------------
@@ -130,6 +139,7 @@ Mac and the most common Linux and BSD distributions:
130
139
 
131
140
  % [sudo] port install raptor # Mac OS X with MacPorts
132
141
  % [sudo] fink install raptor-bin # Mac OS X with Fink
142
+ % brew install raptor # Mac OS X with Homebrew
133
143
  % [sudo] aptitude install raptor-utils # Ubuntu / Debian
134
144
  % [sudo] yum install raptor # Fedora / CentOS / RHEL
135
145
  % [sudo] zypper install raptor # openSUSE
@@ -143,12 +153,12 @@ Download
143
153
 
144
154
  To get a local working copy of the development repository, do:
145
155
 
146
- % git clone git://github.com/bendiken/rdf-raptor.git
156
+ % git clone git://github.com/ruby-rdf/rdf-raptor.git
147
157
 
148
158
  Alternatively, download the latest development version as a tarball as
149
159
  follows:
150
160
 
151
- % wget http://github.com/bendiken/rdf-raptor/tarball/master
161
+ % wget http://github.com/ruby-rdf/rdf-raptor/tarball/master
152
162
 
153
163
  Mailing List
154
164
  ------------
@@ -165,6 +175,8 @@ Contributors
165
175
  ------------
166
176
 
167
177
  * [Ben Lavender](http://github.com/bhuga) - <http://bhuga.net/>
178
+ * [David Butler](http://github.com/dwbutler)
179
+ * [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
168
180
 
169
181
  License
170
182
  -------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/etc/doap.ttl CHANGED
@@ -7,19 +7,22 @@
7
7
 
8
8
  <> a doap:Project ;
9
9
  doap:name "RDF::Raptor" ;
10
- doap:homepage <http://rdf.rubyforge.org/raptor/> ;
10
+ doap:homepage <http://ruby-rdf.github.com/rdf-raptor> ;
11
11
  doap:license <http://creativecommons.org/licenses/publicdomain/> ;
12
12
  doap:shortdesc "Raptor RDF Parser plugin for RDF.rb."@en ;
13
13
  doap:description "RDF.rb plugin for parsing/serializing RDF/XML, Turtle and RDFa data using the Raptor RDF Parser library."@en ;
14
14
  doap:created "2010-03-23" ;
15
15
  doap:platform "Ruby" ;
16
- doap:download-page <http://rubyforge.org/projects/rdf/> ;
17
- doap:bug-database <http://github.com/bendiken/rdf-raptor/issues> ;
16
+ doap:download-page <http://rubygems.org/gems/rdf-turtle> ;
17
+ doap:bug-database <http://github.com/ruby-rdf/rdf-raptor/issues> ;
18
18
  doap:blog <http://ar.to/>, <http://blog.datagraph.org/> ;
19
- doap:developer <http://ar.to/#self>, _:jfieber ;
19
+ doap:developer <http://ar.to/#self>,
20
+ _:jfieber,
21
+ <http://greggkellogg.net/foaf#me> ;
20
22
  doap:maintainer <http://ar.to/#self> ;
21
23
  doap:documenter <http://ar.to/#self> ;
22
- doap:helper <http://bhuga.net/#ben> ;
24
+ doap:helper <http://bhuga.net/#ben>,
25
+ <http://greggkellogg.net/foaf#me> ;
23
26
  foaf:maker <http://ar.to/#self> ;
24
27
  dc:creator <http://ar.to/#self> .
25
28
 
@@ -43,3 +46,10 @@ _:jfieber a foaf:Person ;
43
46
  foaf:mbox <mailto:jrf@ursamaris.org> ;
44
47
  foaf:mbox_sha1sum "f7653fc1ac0e82ebb32f092389bd5fc728eaae12" ;
45
48
  foaf:homepage <http://ursamaris.org/> .
49
+
50
+ <http://greggkellogg.net/foaf#me> a foaf:Person ;
51
+ foaf:name "Gregg Kellogg" ;
52
+ foaf:mbox <mailto:gregg@greggkellogg.net> ;
53
+ foaf:mbox_sha1sum "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd" ;
54
+ foaf:homepage <http://greggkellogg.net/>;
55
+ rdfs:isDefinedBy <http://greggkellogg.net/foaf> .
@@ -191,7 +191,7 @@ module RDF::Raptor
191
191
  chunk_size = @options[:chunk_size] || 4096 # bytes
192
192
  begin
193
193
  loop do
194
- @output.write(may_block ? @rapper.readpartial(chunk_size) : @rapper.read_nonblock(chunk_size))
194
+ @output.write(may_block ? @rapper.sysread(chunk_size) : @rapper.read_nonblock(chunk_size))
195
195
  end
196
196
  rescue EOFError => e
197
197
  @rapper.close
@@ -31,6 +31,9 @@ module RDF::Raptor::FFI::V1
31
31
  V1.raptor_new_iostream_to_sink()
32
32
  else nil
33
33
  end
34
+
35
+ @free_iostream = options[:free_iostream] || true
36
+
34
37
  raise ArgumentError, "invalid argument: #{ptr_or_obj.inspect}" if ptr.nil? || ptr.null?
35
38
  super(ptr)
36
39
  end
@@ -41,7 +44,9 @@ module RDF::Raptor::FFI::V1
41
44
  # @param [FFI::Pointer] ptr
42
45
  # @return [void]
43
46
  def self.release(ptr)
44
- V1.raptor_free_iostream(ptr)
47
+ if @free_iostrem
48
+ V1.raptor_free_iostream(ptr)
49
+ end
45
50
  end
46
51
  end # IOStream
47
52
  end # RDF::Raptor::FFI::V1
@@ -28,17 +28,19 @@ module RDF::Raptor::FFI::V1
28
28
  # @param [IO, StringIO] io
29
29
  #
30
30
  def initialize(ptr_or_io = nil)
31
- ptr = case ptr_or_io
31
+ if ptr_or_io.respond_to?(:write)
32
+ @io = ptr_or_io
33
+ super()
34
+ else
35
+ case ptr_or_io
32
36
  when FFI::Pointer
33
- ptr_or_io
34
- when IO, StringIO
35
- @io = ptr_or_io
36
- nil
37
- when nil then nil
37
+ super(ptr_or_io)
38
+ when nil
39
+ super()
38
40
  else
39
41
  raise ArgumentError, "invalid argument: #{ptr_or_io.inspect}"
42
+ end
40
43
  end
41
- super(ptr)
42
44
  initialize!
43
45
  end
44
46
 
@@ -150,7 +150,7 @@ module RDF::Raptor::FFI::V1
150
150
  begin
151
151
  parse_start!((options[:base_uri] || BASE_URI).to_s)
152
152
  loop do
153
- parse_chunk(stream.readpartial(BUFFER_SIZE))
153
+ parse_chunk(stream.sysread(BUFFER_SIZE))
154
154
  end
155
155
  rescue EOFError => e
156
156
  parse_end!
@@ -58,11 +58,10 @@ module RDF::Raptor::FFI::V1
58
58
  # the base URI to use when resolving relative URIs
59
59
  # @return [void]
60
60
  def start_to(output, options = {})
61
- case output
62
- when IO, StringIO
63
- start_to_stream(output, options)
64
- else
65
- raise ArgumentError, "don't know how to serialize to #{output.inspect}"
61
+ if output.respond_to?(:write)
62
+ start_to_stream(output, options)
63
+ else
64
+ raise ArgumentError, "don't know how to serialize to #{output.inspect}"
66
65
  end
67
66
  end
68
67
 
@@ -72,7 +71,7 @@ module RDF::Raptor::FFI::V1
72
71
  # any additional options for serializing (see {#start_to})
73
72
  # @return [void]
74
73
  def start_to_stream(stream, options = {})
75
- iostream = V1::IOStream.new(V1::IOStreamHandler.new(stream))
74
+ iostream = V1::IOStream.new(V1::IOStreamHandler.new(stream), :free_iostream => false)
76
75
  start_to_iostream(iostream, options)
77
76
  end
78
77
 
@@ -64,7 +64,10 @@ module RDF::Raptor::FFI
64
64
  # @see http://librdf.org/raptor/api-1.4/raptor-section-parser.html
65
65
  callback :raptor_statement_handler, [:pointer, :raptor_statement], :void
66
66
  typedef :pointer, :raptor_parser
67
+ typedef :string, :mime_type
68
+ typedef :string, :buffer
67
69
  attach_function :raptor_new_parser, [:string], :raptor_parser
70
+ attach_function :raptor_guess_parser_name, [:raptor_uri, :mime_type, :buffer, :size_t, :string], :string
68
71
  attach_function :raptor_set_error_handler, [:raptor_parser, :pointer, :raptor_message_handler], :void
69
72
  attach_function :raptor_set_warning_handler, [:raptor_parser, :pointer, :raptor_message_handler], :void
70
73
  attach_function :raptor_set_statement_handler, [:raptor_parser, :pointer, :raptor_statement_handler], :void
@@ -25,7 +25,6 @@ module RDF::Raptor
25
25
  V1.raptor_version_minor,
26
26
  V1.raptor_version_release].join('.').freeze
27
27
  end
28
- module_function :version
29
28
 
30
29
  ##
31
30
  # FFI reader implementation.
@@ -0,0 +1,27 @@
1
+ module RDF
2
+ module Raptor
3
+ ##
4
+ # RDF::Raptor::Format mixin.
5
+ module Format
6
+ ##
7
+ # @overload rapper_format
8
+ #
9
+ # @overload rapper_format(format)
10
+ # @param [Symbol] format
11
+ #
12
+ # @return [void]
13
+ def rapper_format(format = nil)
14
+ unless format
15
+ @rapper_format
16
+ else
17
+ @rapper_format = format
18
+ end
19
+ end
20
+
21
+ def detect(sample)
22
+ parser_name = RDF::Raptor::FFI::V1.raptor_guess_parser_name(nil, nil, sample, sample.length, nil)
23
+ parser_name == rapper_format.to_s
24
+ end
25
+ end # Format
26
+ end
27
+ end
@@ -24,12 +24,15 @@ module RDF::Raptor
24
24
  # RDF::Format.for(:content_type => "text/vnd.graphviz")
25
25
  #
26
26
  # @see http://www.iana.org/assignments/media-types/text/vnd.graphviz
27
- class Format < RDF::Raptor::Format
27
+ class Format < RDF::Format
28
+ extend RDF::Raptor::Format
29
+
28
30
  content_type 'text/vnd.graphviz', :aliases => ['application/x-graphviz', 'text/x-graphviz'], :extension => :dot # TODO: also .gv
29
31
  content_encoding 'utf-8'
30
32
  rapper_format :dot
31
33
 
32
34
  writer { RDF::Raptor::Graphviz::Writer }
35
+ reader { RDF::Raptor::Graphviz::Reader }
33
36
  end # Format
34
37
 
35
38
  ##
@@ -52,5 +55,13 @@ module RDF::Raptor
52
55
  class Writer < RDF::Raptor::Writer
53
56
  format RDF::Raptor::Graphviz::Format
54
57
  end # Writer
58
+
59
+ ##
60
+ # Raptor does not implement a Graphviz reader, but we need one in
61
+ # order for the Format to pass specs. This class should always
62
+ # raise a NoMethodError to indicate it shouldn't be used.
63
+ #
64
+ class Reader
65
+ end
55
66
  end # Graphviz
56
67
  end # RDF::Raptor
@@ -31,13 +31,20 @@ module RDF::Raptor
31
31
  # RDF::Format.for(:file_extension => "nt")
32
32
  # RDF::Format.for(:content_type => "text/plain")
33
33
  #
34
- class Format < RDF::Raptor::Format
35
- content_type 'text/plain', :extension => :nt
36
- content_encoding 'ascii'
34
+ class Format < RDF::Format
35
+ extend RDF::Raptor::Format
36
+
37
+ content_type 'application/n-triples', :extension => :nt, :alias => ['text/plain']
38
+ content_encoding 'utf-8'
37
39
  rapper_format :ntriples
38
40
 
39
41
  reader { RDF::Raptor::NTriples::Reader }
40
42
  writer { RDF::Raptor::NTriples::Writer }
43
+
44
+ def self.detect(sample)
45
+ # Raptor's format guessing isn't fully supported
46
+ RDF::NTriples::Format.detect(sample)
47
+ end
41
48
  end # Format
42
49
 
43
50
  ##
@@ -24,7 +24,9 @@ module RDF::Raptor
24
24
  # RDF::Format.for(:file_extension => "html")
25
25
  # RDF::Format.for(:content_type => "application/xhtml+xml")
26
26
  #
27
- class Format < RDF::Raptor::Format
27
+ class Format < RDF::Format
28
+ extend RDF::Raptor::Format
29
+
28
30
  content_type 'application/xhtml+xml', :aliases => ['text/html'], :extension => :html
29
31
  content_encoding 'utf-8'
30
32
  rapper_format :rdfa
@@ -31,13 +31,20 @@ module RDF::Raptor
31
31
  # RDF::Format.for(:file_extension => "rdf")
32
32
  # RDF::Format.for(:content_type => "application/rdf+xml")
33
33
  #
34
- class Format < RDF::Raptor::Format
34
+ class Format < RDF::Format
35
+ extend RDF::Raptor::Format
36
+
35
37
  content_type 'application/rdf+xml', :extension => :rdf
36
38
  content_encoding 'utf-8'
37
39
  rapper_format :rdfxml
38
40
 
39
41
  reader { RDF::Raptor::RDFXML::Reader }
40
42
  writer { RDF::Raptor::RDFXML::Writer }
43
+
44
+ def self.detect(sample)
45
+ # Raptor guess is not fully supported
46
+ sample.match(/<(\w+:)?(RDF)/)
47
+ end
41
48
  end # Format
42
49
 
43
50
  ##
@@ -31,7 +31,9 @@ module RDF::Raptor
31
31
  # RDF::Format.for(:file_extension => "ttl")
32
32
  # RDF::Format.for(:content_type => "text/turtle")
33
33
  #
34
- class Format < RDF::Raptor::Format
34
+ class Format < RDF::Format
35
+ extend RDF::Raptor::Format
36
+
35
37
  content_type 'text/turtle', :aliases => ['application/x-turtle', 'application/turtle'], :extension => :ttl
36
38
  content_encoding 'utf-8'
37
39
  rapper_format :turtle
@@ -1,10 +1,7 @@
1
1
  module RDF; module Raptor
2
2
  module VERSION
3
- MAJOR = 0
4
- MINOR = 4
5
- TINY = 1
6
- EXTRA = nil
7
-
3
+ VERSION_FILE = File.expand_path("../../../../VERSION", __FILE__)
4
+ MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.split(".")
8
5
  STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')
9
6
 
10
7
  ##
data/lib/rdf/raptor.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'rdf' # @see http://rubygems.org/gems/rdf
2
+ require 'rdf/raptor/format'
2
3
 
3
4
  module RDF
4
5
  ##
@@ -106,26 +107,7 @@ module RDF
106
107
  !!version
107
108
  end
108
109
 
109
- ##
110
- # Format base class.
111
- class Format < RDF::Format
112
- ##
113
- # @overload rapper_format
114
- #
115
- # @overload rapper_format(format)
116
- # @param [Symbol] format
117
- #
118
- # @return [void]
119
- def self.rapper_format(format = nil)
120
- unless format
121
- @rapper_format
122
- else
123
- @rapper_format = format
124
- end
125
- end
126
- end # Format
127
-
128
- #require 'rdf/raptor/ntriples'
110
+ require 'rdf/raptor/ntriples'
129
111
  require 'rdf/raptor/turtle'
130
112
  require 'rdf/raptor/rdfxml'
131
113
  require 'rdf/raptor/rdfa'
metadata CHANGED
@@ -1,101 +1,104 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rdf-raptor
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 4
8
- - 1
9
- version: 0.4.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.2
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Arto Bendiken
13
9
  - John Fieber
14
10
  autorequire:
15
11
  bindir: bin
16
12
  cert_chain: []
17
-
18
- date: 2010-12-27 00:00:00 +01:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
13
+ date: 2012-09-21 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: ffi
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 1
30
- - 0
31
- version: "1.0"
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '1.0'
32
23
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: rdf
36
24
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- requirements:
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '1.0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: rdf
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
39
36
  - - ~>
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
- - 3
44
- - 0
45
- version: 0.3.0
37
+ - !ruby/object:Gem::Version
38
+ version: 0.3.8
46
39
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: yard
50
40
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- segments:
56
- - 0
57
- - 6
58
- - 0
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 0.3.8
47
+ - !ruby/object:Gem::Dependency
48
+ name: yard
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
59
54
  version: 0.6.0
60
55
  type: :development
61
- version_requirements: *id003
62
- - !ruby/object:Gem::Dependency
63
- name: rspec
64
56
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- segments:
70
- - 2
71
- - 1
72
- - 0
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: 0.6.0
63
+ - !ruby/object:Gem::Dependency
64
+ name: rspec
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
73
70
  version: 2.1.0
74
71
  type: :development
75
- version_requirements: *id004
76
- - !ruby/object:Gem::Dependency
77
- name: rdf-spec
78
72
  prerelease: false
79
- requirement: &id005 !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ~>
82
- - !ruby/object:Gem::Version
83
- segments:
84
- - 0
85
- - 3
86
- - 0
87
- version: 0.3.0
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: 2.1.0
79
+ - !ruby/object:Gem::Dependency
80
+ name: rake
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
88
87
  type: :development
89
- version_requirements: *id005
90
- description: RDF.rb plugin for parsing/serializing RDF/XML, Turtle and RDFa data using the Raptor RDF Parser library.
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ description: RDF.rb plugin for parsing/serializing RDF/XML, Turtle and RDFa data using
96
+ the Raptor RDF Parser library.
91
97
  email: public-rdf-ruby@w3.org
92
98
  executables: []
93
-
94
99
  extensions: []
95
-
96
100
  extra_rdoc_files: []
97
-
98
- files:
101
+ files:
99
102
  - AUTHORS
100
103
  - CREDITS
101
104
  - README
@@ -111,6 +114,7 @@ files:
111
114
  - lib/rdf/raptor/ffi/v1/uri.rb
112
115
  - lib/rdf/raptor/ffi/v1.rb
113
116
  - lib/rdf/raptor/ffi.rb
117
+ - lib/rdf/raptor/format.rb
114
118
  - lib/rdf/raptor/graphviz.rb
115
119
  - lib/rdf/raptor/ntriples.rb
116
120
  - lib/rdf/raptor/rdfa.rb
@@ -118,37 +122,31 @@ files:
118
122
  - lib/rdf/raptor/turtle.rb
119
123
  - lib/rdf/raptor/version.rb
120
124
  - lib/rdf/raptor.rb
121
- has_rdoc: false
122
125
  homepage: http://rdf.rubyforge.org/raptor/
123
- licenses:
126
+ licenses:
124
127
  - Public Domain
125
128
  post_install_message:
126
129
  rdoc_options: []
127
-
128
- require_paths:
130
+ require_paths:
129
131
  - lib
130
- required_ruby_version: !ruby/object:Gem::Requirement
131
- requirements:
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- segments:
135
- - 1
136
- - 8
137
- - 1
132
+ required_ruby_version: !ruby/object:Gem::Requirement
133
+ none: false
134
+ requirements:
135
+ - - ! '>='
136
+ - !ruby/object:Gem::Version
138
137
  version: 1.8.1
139
- required_rubygems_version: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- segments:
144
- - 0
145
- version: "0"
146
- requirements:
147
- - libraptor (>= 1.4.16)
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ requirements:
145
+ - libraptor (>= 1.4.21)
148
146
  rubyforge_project: rdf
149
- rubygems_version: 1.3.6
147
+ rubygems_version: 1.8.24
150
148
  signing_key:
151
149
  specification_version: 3
152
150
  summary: Raptor RDF Parser plugin for RDF.rb.
153
151
  test_files: []
154
-
152
+ has_rdoc: false