pjstadig-rena 0.0.1

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.
@@ -0,0 +1,13 @@
1
+ require 'test/unit'
2
+ require 'uri'
3
+ require 'cgi'
4
+ require 'rubygems'
5
+ require 'addressable/uri'
6
+
7
+ class TestUris < Test::Unit::TestCase
8
+ def test_encoding
9
+ f = Addressable::URI.parse("http://example.org/André")
10
+ assert_equal("http://example.org/André", f.to_s)
11
+ assert_equal(false, f.relative?)
12
+ end
13
+ end
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" ?>
2
+ <rdf:RDF xmlns:rdf="http://www.w3.org/TR/rdf-syntax-grammar" xmlns:foaf="http://xmlns.com/foaf/0.1/">
3
+ <rdf:Description rdf:resource="http://example.org/foo">
4
+ <foaf:name>Tom</foaf:name>
5
+ </rdf:Description>
6
+ </rdf:RDF>
metadata ADDED
@@ -0,0 +1,83 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pjstadig-rena
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Tom Morris
8
+ - Pius Uzamere
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2008-07-14 00:00:00 -07:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: addressable
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.1
24
+ version:
25
+ description: Rena is a Ruby library for manipulating RDF files.
26
+ email: tom@tommorris.org
27
+ executables: []
28
+
29
+ extensions: []
30
+
31
+ extra_rdoc_files: []
32
+
33
+ files:
34
+ - Rakefile
35
+ - rena.gemspec
36
+ - lib/rena.rb
37
+ - lib/rena/bnode.rb
38
+ - lib/rena/graph.rb
39
+ - lib/rena/literal.rb
40
+ - lib/rena/namespace.rb
41
+ - lib/rena/rdfxmlparser.rb
42
+ - lib/rena/rexml_hacks.rb
43
+ - lib/rena/triple.rb
44
+ - lib/rena/uriref.rb
45
+ - lib/rena/exceptions/about_each_exception.rb
46
+ - lib/rena/exceptions/uri_relative_exception.rb
47
+ has_rdoc: true
48
+ homepage: http://github.com/tommorris/rena
49
+ post_install_message:
50
+ rdoc_options: []
51
+
52
+ require_paths:
53
+ - lib
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: "0"
59
+ version:
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: "0"
65
+ version:
66
+ requirements: []
67
+
68
+ rubyforge_project:
69
+ rubygems_version: 1.2.0
70
+ signing_key:
71
+ specification_version: 2
72
+ summary: Ruby RDF library.
73
+ test_files:
74
+ - test/test_uris.rb
75
+ - test/xml.rdf
76
+ - test/spec/bnode.spec.rb
77
+ - test/spec/graph.spec.rb
78
+ - test/spec/literal.spec.rb
79
+ - test/spec/namespaces.spec.rb
80
+ - test/spec/parser.spec.rb
81
+ - test/spec/rexml_hacks.spec.rb
82
+ - test/spec/triple.spec.rb
83
+ - test/spec/uriref.spec.rb