rdf-raptor 0.0.0.pre

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.
data/AUTHORS ADDED
@@ -0,0 +1 @@
1
+ * Arto Bendiken <arto.bendiken@gmail.com>
data/README ADDED
@@ -0,0 +1,55 @@
1
+ Raptor RDF Parser Wrapper for RDF.rb
2
+ ====================================
3
+
4
+ This is an [RDF.rb][] plugin that adds support for parsing/serializing
5
+ [RDF/XML][] and [Turtle][] data using the [Raptor RDF Parser][Raptor]
6
+ library.
7
+
8
+ * <http://github.com/bendiken/rdf-raptor>
9
+
10
+ Documentation
11
+ -------------
12
+
13
+ * {RDF::Raptor}
14
+
15
+ Dependencies
16
+ ------------
17
+
18
+ * [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.1.1)
19
+ * [Raptor](http://librdf.org/raptor/) (>= 1.4.21)
20
+
21
+ Installation
22
+ ------------
23
+
24
+ The recommended installation method is via RubyGems. To install the latest
25
+ official release, do:
26
+
27
+ % [sudo] gem install rdf-raptor
28
+
29
+ Download
30
+ --------
31
+
32
+ To get a local working copy of the development repository, do:
33
+
34
+ % git clone git://github.com/bendiken/rdf-raptor.git
35
+
36
+ Alternatively, you can download the latest development version as a tarball
37
+ as follows:
38
+
39
+ % wget http://github.com/bendiken/rdf-raptor/tarball/master
40
+
41
+ Author
42
+ ------
43
+
44
+ * [Arto Bendiken](mailto:arto.bendiken@gmail.com) - <http://ar.to/>
45
+
46
+ License
47
+ -------
48
+
49
+ `RDF::Raptor` is free and unencumbered public domain software. For more
50
+ information, see <http://unlicense.org/> or the accompanying UNLICENSE file.
51
+
52
+ [RDF.rb]: http://rdf.rubyforge.org/
53
+ [RDF/XML]: http://www.w3.org/TR/REC-rdf-syntax/
54
+ [Turtle]: http://en.wikipedia.org/wiki/Turtle_(syntax)
55
+ [Raptor]: http://librdf.org/raptor/
data/UNLICENSE ADDED
@@ -0,0 +1,24 @@
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to <http://unlicense.org/>
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.0.pre
data/lib/rdf/raptor.rb ADDED
@@ -0,0 +1,17 @@
1
+ require 'rdf'
2
+
3
+ module RDF
4
+ ##
5
+ # **`RDF::Raptor`** is a Raptor RDF Parser wrapper for RDF.rb.
6
+ #
7
+ # @example Requiring the `RDF::Raptor` module
8
+ # require 'rdf/raptor'
9
+ #
10
+ # @see http://rdf.rubyforge.org/
11
+ # @see http://librdf.org/raptor/
12
+ #
13
+ # @author [Arto Bendiken](http://ar.to/)
14
+ module Raptor
15
+ autoload :VERSION, 'rdf/raptor/version'
16
+ end # module Raptor
17
+ end # module RDF
@@ -0,0 +1,23 @@
1
+ module RDF; module Raptor
2
+ module VERSION
3
+ MAJOR = 0
4
+ MINOR = 0
5
+ TINY = 0
6
+ EXTRA = :pre
7
+
8
+ STRING = [MAJOR, MINOR, TINY].join('.')
9
+ STRING << ".#{EXTRA}" if EXTRA
10
+
11
+ ##
12
+ # @return [String]
13
+ def self.to_s() STRING end
14
+
15
+ ##
16
+ # @return [String]
17
+ def self.to_str() STRING end
18
+
19
+ ##
20
+ # @return [Array(Integer, Integer, Integer)]
21
+ def self.to_a() [MAJOR, MINOR, TINY] end
22
+ end
23
+ end; end
metadata ADDED
@@ -0,0 +1,127 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rdf-raptor
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: true
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 0
9
+ - pre
10
+ version: 0.0.0.pre
11
+ platform: ruby
12
+ authors:
13
+ - Arto Bendiken
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-03-23 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rdf-spec
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ - 1
31
+ - 0
32
+ version: 0.1.0
33
+ type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rspec
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 1
44
+ - 3
45
+ - 0
46
+ version: 1.3.0
47
+ type: :development
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: yard
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ segments:
57
+ - 0
58
+ - 5
59
+ - 3
60
+ version: 0.5.3
61
+ type: :development
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ name: rdf
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ segments:
71
+ - 0
72
+ - 1
73
+ - 1
74
+ version: 0.1.1
75
+ type: :runtime
76
+ version_requirements: *id004
77
+ description: RDF.rb plugin for parsing/serializing RDF/XML and Turtle data using the Raptor RDF Parser library.
78
+ email: arto.bendiken@gmail.com
79
+ executables: []
80
+
81
+ extensions: []
82
+
83
+ extra_rdoc_files: []
84
+
85
+ files:
86
+ - AUTHORS
87
+ - README
88
+ - UNLICENSE
89
+ - VERSION
90
+ - lib/rdf/raptor/version.rb
91
+ - lib/rdf/raptor.rb
92
+ has_rdoc: false
93
+ homepage: http://rdf.rubyforge.org/
94
+ licenses:
95
+ - Public Domain
96
+ post_install_message:
97
+ rdoc_options: []
98
+
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ segments:
106
+ - 1
107
+ - 8
108
+ - 2
109
+ version: 1.8.2
110
+ required_rubygems_version: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">"
113
+ - !ruby/object:Gem::Version
114
+ segments:
115
+ - 1
116
+ - 3
117
+ - 1
118
+ version: 1.3.1
119
+ requirements:
120
+ - Raptor (>= 1.4.21)
121
+ rubyforge_project: rdf
122
+ rubygems_version: 1.3.6
123
+ signing_key:
124
+ specification_version: 3
125
+ summary: Raptor RDF Parser wrapper for RDF.rb.
126
+ test_files: []
127
+