rdf 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -79,7 +79,7 @@ to use when loading a file. The specific format to use can be forced using, e.g.
79
79
  option where the specific format symbol is determined by the available readers. Both also use
80
80
  MimeType or file extension, where available.
81
81
 
82
- require 'linkeddata'
82
+ require 'rdf/nquads'
83
83
 
84
84
  graph = RDF::Graph.load("http://ruby-rdf.github.com/rdf/etc/doap.nq", :format => :nquads)
85
85
 
@@ -113,7 +113,10 @@ appropriate writer to use.
113
113
 
114
114
  A specific sub-type of Writer can also be invoked directly:
115
115
 
116
- graph.dump(:nquads)
116
+ require 'rdf/nquads'
117
+
118
+ repo = RDF::Repository.new << RDF::Statement.new(:hello, RDF::DC.title, "Hello, world!", :context => RDF::URI("context"))
119
+ File.open("hello.nq", "w") {|f| f << repo.dump(:nquads)}
117
120
 
118
121
  ## Reader/Writer convenience methods
119
122
  {RDF::Enumerable} implements `to_{format}` for each available instance of {RDF::Reader}.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -106,6 +106,9 @@ module RDF
106
106
 
107
107
  ##
108
108
  # Deletes RDF statements from `self`.
109
+ # If any statement contains a {Query::Variable}, it is
110
+ # considered to be a pattern, and used to query
111
+ # self to find matching statements to delete.
109
112
  #
110
113
  # @param [Enumerable<RDF::Statement>] statements
111
114
  # @raise [TypeError] if `self` is immutable
@@ -118,7 +121,7 @@ module RDF
118
121
  when value.respond_to?(:each_statement)
119
122
  delete_statements(value)
120
123
  nil
121
- when (statement = Statement.from(value)).valid?
124
+ when (statement = Statement.from(value)).constant?
122
125
  statement
123
126
  else
124
127
  delete_statements(query(value))
@@ -134,8 +134,14 @@ module RDF
134
134
 
135
135
  ##
136
136
  # @param [Object] value
137
- # @option options [Symbol] :language (nil)
138
- # @option options [URI] :datatype (nil)
137
+ # @option options [Symbol] :language (nil)
138
+ # @option options [String] :lexical (nil)
139
+ # Supplied lexical representation of this literal,
140
+ # otherwise it comes from transforming `value` to a string form
141
+ # See {#to_s}.
142
+ # @option options [URI] :datatype (nil)
143
+ # @option options [Boolean] :validate (false)
144
+ # @option options [Boolean] :canonicalize (false)
139
145
  def initialize(value, options = {})
140
146
  @object = value
141
147
  @string = options[:lexical] if options[:lexical]
@@ -105,6 +105,18 @@ module RDF
105
105
  true
106
106
  end
107
107
 
108
+ ##
109
+ # Returns `true` if any element of the statement is not a
110
+ # URI, Node or Literal.
111
+ #
112
+ # @return [Boolean]
113
+ def variable?
114
+ !(has_subject? && subject.resource? &&
115
+ has_predicate? && predicate.resource? &&
116
+ has_object? && (object.resource? || object.literal?) &&
117
+ (has_context? ? context.resource? : true ))
118
+ end
119
+
108
120
  ##
109
121
  # @return [Boolean]
110
122
  def invalid?
@@ -56,15 +56,6 @@ module RDF
56
56
  super
57
57
  end
58
58
 
59
- ##
60
- # Returns `true` if this term is constant.
61
- #
62
- # @return [Boolean] `true` or `false`
63
- # @see #variable?
64
- def constant?
65
- !(variable?)
66
- end
67
-
68
59
  ##
69
60
  # Returns a base representation of `self`.
70
61
  #
@@ -138,6 +138,7 @@ module RDF
138
138
  #
139
139
  # @overload URI.new(options = {})
140
140
  # @param [Hash{Symbol => Object}] options
141
+ # @raise [ArgumentError] on seriously invalid URI
141
142
  def initialize(uri_or_options)
142
143
  case uri_or_options
143
144
  when Hash
@@ -147,6 +148,8 @@ module RDF
147
148
  else
148
149
  @uri = Addressable::URI.parse(uri_or_options.to_s)
149
150
  end
151
+ rescue Addressable::URI::InvalidURIError => e
152
+ raise ArgumentError, e.message
150
153
  end
151
154
 
152
155
  ##
@@ -198,7 +201,7 @@ module RDF
198
201
  alias_method :size, :length
199
202
 
200
203
  ##
201
- # Determine if the URI is avalid according to RFC3987
204
+ # Determine if the URI is a valid according to RFC3987
202
205
  #
203
206
  # Note, for Ruby versions < 1.9, this always returns true.
204
207
  #
@@ -207,7 +210,7 @@ module RDF
207
210
  def valid?
208
211
  # As Addressable::URI does not perform adequate validation, validate
209
212
  # relative to RFC3987
210
- to_s.match(RDF::URI::IRI) || to_s.match(RDF::URI::IRELATIVE_REF) || false
213
+ to_s.match(RDF::URI::IRI) || false
211
214
  end
212
215
 
213
216
  ##
@@ -263,12 +266,15 @@ module RDF
263
266
  # @see RDF::URI#+
264
267
  # @param [Array<String, RDF::URI, #to_s>] uris
265
268
  # @return [RDF::URI]
269
+ # @raise [ArgumentError] if the resulting URI is invalid
266
270
  def join(*uris)
267
271
  result = @uri.dup
268
272
  uris.each do |uri|
269
273
  result = result.join(uri)
270
274
  end
271
275
  self.class.new(result)
276
+ rescue Addressable::URI::InvalidURIError => e
277
+ raise ArgumentError, e.message
272
278
  end
273
279
 
274
280
  ##
@@ -294,6 +300,7 @@ module RDF
294
300
  #
295
301
  # @param [Any] fragment A URI fragment to be appended to this URI
296
302
  # @return [RDF::URI]
303
+ # @raise [ArgumentError] if the URI is invalid
297
304
  # @see RDF::URI#+
298
305
  # @see RDF::URI#join
299
306
  # @see <http://tools.ietf.org/html/rfc3986#section-5.2>
@@ -353,8 +360,11 @@ module RDF
353
360
  # @see RDF::URI#join
354
361
  # @param [Any] other
355
362
  # @return [RDF::URI]
363
+ # @raise [ArgumentError] on seriously invalid URI
356
364
  def +(other)
357
365
  RDF::URI.intern(self.to_s + other.to_s)
366
+ rescue Addressable::URI::InvalidURIError => e
367
+ raise ArgumentError, e.message
358
368
  end
359
369
 
360
370
  ##
@@ -103,7 +103,7 @@ module RDF
103
103
  end
104
104
 
105
105
  ##
106
- # Returns `true` if `self` is a {RDF::Query::Variable}.
106
+ # Returns `true` this value is a {RDF::Query::Variable}, or is contains a variable.
107
107
  #
108
108
  # @return [Boolean]
109
109
  # @since 0.1.7
@@ -111,6 +111,15 @@ module RDF
111
111
  false
112
112
  end
113
113
 
114
+ ##
115
+ # Returns `true` if this value is constant.
116
+ #
117
+ # @return [Boolean] `true` or `false`
118
+ # @see #variable?
119
+ def constant?
120
+ !(variable?)
121
+ end
122
+
114
123
  ##
115
124
  # Is this an anonymous value?
116
125
  #
@@ -15,6 +15,7 @@ module RDF::NTriples
15
15
  # RDF::Format.for(:content_type => "text/plain")
16
16
  #
17
17
  # @see http://www.w3.org/TR/rdf-testcases/#ntriples
18
+ # @see http://www.w3.org/TR/n-triples/
18
19
  class Format < RDF::Format
19
20
  content_type 'application/n-triples', :extension => :nt, :alias => ['text/plain']
20
21
  content_encoding 'utf-8'
@@ -25,6 +25,7 @@ module RDF::NTriples
25
25
  # end
26
26
  #
27
27
  # @see http://www.w3.org/TR/rdf-testcases/#ntriples
28
+ # @see http://www.w3.org/TR/n-triples/
28
29
  class Reader < RDF::Reader
29
30
  format RDF::NTriples::Format
30
31
 
@@ -288,6 +289,8 @@ module RDF::NTriples
288
289
  uri.canonicalize! if canonicalize?
289
290
  uri
290
291
  end
292
+ rescue ArgumentError => e
293
+ raise RDF::ReaderError, "invalid URI"
291
294
  end
292
295
 
293
296
  ##
@@ -35,6 +35,7 @@ module RDF::NTriples
35
35
  # end
36
36
  #
37
37
  # @see http://www.w3.org/TR/rdf-testcases/#ntriples
38
+ # @see http://www.w3.org/TR/n-triples/
38
39
  class Writer < RDF::Writer
39
40
  format RDF::NTriples::Format
40
41
 
@@ -43,6 +44,10 @@ module RDF::NTriples
43
44
  ESCAPE_ASCII = /\A[\x00-\x7F]*\z/m.freeze
44
45
 
45
46
  ##
47
+ # Escape Literal and URI content. If encoding is ASCII, all unicode
48
+ # is escaped, otherwise only ASCII characters that must be escaped are
49
+ # escaped.
50
+ #
46
51
  # @param [String] string
47
52
  # @param [Encoding] encoding Ruby 1.9 only
48
53
  # @return [String]
@@ -53,7 +58,7 @@ module RDF::NTriples
53
58
  string
54
59
  when string.respond_to?(:ascii_only?) && string.ascii_only?
55
60
  StringIO.open do |buffer|
56
- string.each_byte { |u| buffer << escape_ascii(u) }
61
+ string.each_byte { |u| buffer << escape_ascii(u, encoding) }
57
62
  buffer.string
58
63
  end
59
64
  when string.respond_to?(:each_char) && encoding && encoding != Encoding::ASCII
@@ -62,7 +67,7 @@ module RDF::NTriples
62
67
  string.each_char do |u|
63
68
  buffer << case u.ord
64
69
  when (0x00..0x7F)
65
- escape_ascii(u)
70
+ escape_ascii(u, encoding)
66
71
  else
67
72
  u
68
73
  end
@@ -70,11 +75,13 @@ module RDF::NTriples
70
75
  buffer.string
71
76
  end
72
77
  when string.respond_to?(:each_codepoint)
78
+ # Encode ASCII && UTF-8 characters
73
79
  StringIO.open do |buffer|
74
80
  string.each_codepoint { |u| buffer << escape_unicode(u, encoding) }
75
81
  buffer.string
76
82
  end
77
83
  else # works in Ruby 1.8.x, too
84
+ # Encode ASCII && UTF-8 characters
78
85
  StringIO.open do |buffer|
79
86
  string.scan(/./mu) { |c| buffer << escape_unicode(u = c.unpack('U*').first, encoding) }
80
87
  buffer.string
@@ -85,7 +92,6 @@ module RDF::NTriples
85
92
 
86
93
  ##
87
94
  # Escape ascii and unicode characters.
88
- # If encoding is UTF_8, only ascii characters are escaped.
89
95
  #
90
96
  # @param [Integer, #ord] u
91
97
  # @param [Encoding] encoding Ruby 1.9 only
@@ -94,7 +100,7 @@ module RDF::NTriples
94
100
  def self.escape_unicode(u, encoding)
95
101
  case (u = u.ord)
96
102
  when (0x00..0x7F) # ASCII 7-bit
97
- escape_ascii(u)
103
+ escape_ascii(u, encoding)
98
104
  when (0x80..0xFFFF) # Unicode BMP
99
105
  escape_utf16(u)
100
106
  when (0x10000..0x10FFFF) # Unicode
@@ -105,15 +111,22 @@ module RDF::NTriples
105
111
  end
106
112
 
107
113
  ##
114
+ # Standard ASCII escape sequences. If encoding is ASCII, use Test-Cases
115
+ # sequences, otherwise, assume the test-cases escape sequences. Otherwise,
116
+ # the N-Triples recommendation includes `\b` and `\f` escape sequences.
117
+ #
108
118
  # @param [Integer, #ord] u
109
119
  # @return [String]
110
120
  # @see http://www.w3.org/TR/rdf-testcases/#ntrip_strings
111
- def self.escape_ascii(u)
121
+ # @see http://www.w3.org/TR/n-triples/
122
+ def self.escape_ascii(u, encoding)
112
123
  case (u = u.ord)
113
- when (0x00..0x08) then escape_utf16(u)
124
+ when (0x00..0x07) then escape_utf16(u)
125
+ when (0x08) then (encoding.nil? || encoding == Encoding::ASCII ? escape_utf16(u) : "\\b")
114
126
  when (0x09) then "\\t"
115
127
  when (0x0A) then "\\n"
116
- when (0x0B..0x0C) then escape_utf16(u)
128
+ when (0x0B) then escape_utf16(u)
129
+ when (0x0C) then (encoding.nil? || encoding == Encoding::ASCII ? escape_utf16(u) : "\\f")
117
130
  when (0x0D) then "\\r"
118
131
  when (0x0E..0x1F) then escape_utf16(u)
119
132
  when (0x22) then "\\\""
@@ -67,29 +67,6 @@ module RDF; class Query
67
67
  subject.nil? && predicate.nil? && object.nil? && context.nil?
68
68
  end
69
69
 
70
- ##
71
- # Returns `true` if this is a constant pattern, with all terms being
72
- # either URIs, blank nodes, or literals.
73
- #
74
- # A constant pattern is structurally and functionally equivalent to an
75
- # RDF statement.
76
- #
77
- # @return [Boolean] `true` or `false`
78
- # @since 0.3.0
79
- def constant?
80
- !(variable?)
81
- end
82
-
83
- ##
84
- # Returns `true` if this is a variable pattern, with any term being
85
- # `nil` or a variable.
86
- #
87
- # @return [Boolean] `true` or `false`
88
- # @since 0.3.0
89
- def variable?
90
- subject.nil? || predicate.nil? || object.nil? || context.nil? || has_variables?
91
- end
92
-
93
70
  ##
94
71
  # Returns `true` if this pattern contains any variables.
95
72
  #
@@ -189,6 +189,7 @@ module RDF
189
189
  @options[:canonicalize] ||= false
190
190
  @options[:intern] ||= true
191
191
  @options[:prefixes] ||= Hash.new
192
+ @options[:base_uri] ||= input.base_uri if input.respond_to?(:base_uri)
192
193
 
193
194
  @input = case input
194
195
  when String then StringIO.new(input)
@@ -362,6 +363,13 @@ module RDF
362
363
  end
363
364
  alias_method :close!, :close
364
365
 
366
+ ##
367
+ # Current line number being processed. For formats that can associate generated {Statement} with a particular line number from input, this value reflects that line number.
368
+ # @return [Integer]
369
+ def lineno
370
+ @input.lineno
371
+ end
372
+
365
373
  protected
366
374
 
367
375
  ##
@@ -467,12 +475,6 @@ module RDF
467
475
  super
468
476
  end
469
477
 
470
- ##
471
- # @return [Integer]
472
- def lineno
473
- @input.lineno
474
- end
475
-
476
478
  ##
477
479
  # @private
478
480
  # @return [String] The most recently read line of the input
@@ -105,13 +105,18 @@ module RDF
105
105
  ##
106
106
  # @param [RDF::Enumerable, #each] data
107
107
  # the graph or repository to dump
108
- # @param [IO, File] io
108
+ # @param [IO, File, String] io
109
109
  # the output stream or file to write to
110
110
  # @param [Hash{Symbol => Object}] options
111
111
  # passed to {RDF::Writer#initialize} or {RDF::Writer.buffer}
112
112
  # @return [void]
113
113
  def self.dump(data, io = nil, options = {})
114
- io = File.open(io, 'w') if io.is_a?(String)
114
+ if io.is_a?(String)
115
+ io = File.open(io, 'w')
116
+ elsif io.respond_to?(:external_encoding) && io.external_encoding
117
+ options = {:encoding => io.external_encoding}.merge(options)
118
+ end
119
+ io.set_encoding(options[:encoding]) if io.respond_to?(:set_encoding) && options[:encoding]
115
120
  method = data.respond_to?(:each_statement) ? :each_statement : :each
116
121
  if io
117
122
  new(io, options) do |writer|
@@ -138,9 +143,11 @@ module RDF
138
143
  # @return [String]
139
144
  # @raise [ArgumentError] if no block is provided
140
145
  def self.buffer(*args, &block)
146
+ options = args.last.is_a?(Hash) ? args.last : {}
141
147
  raise ArgumentError, "block expected" unless block_given?
142
148
 
143
149
  StringIO.open do |buffer|
150
+ buffer.set_encoding(options[:encoding]) if buffer.respond_to?(:set_encoding) && options[:encoding]
144
151
  self.new(buffer, *args) { |writer| block.call(writer) }
145
152
  buffer.string
146
153
  end
@@ -156,6 +163,7 @@ module RDF
156
163
  # @return [RDF::Writer]
157
164
  def self.open(filename, options = {}, &block)
158
165
  File.open(filename, 'wb') do |file|
166
+ file.set_encoding(options[:encoding]) if file.respond_to?(:set_encoding) && options[:encoding]
159
167
  format_options = options.dup
160
168
  format_options[:file_name] ||= filename
161
169
  self.for(options[:format] || format_options).new(file, options, &block)
@@ -439,7 +447,7 @@ module RDF
439
447
  ##
440
448
  # @return [void]
441
449
  def puts(*args)
442
- @output.puts(*args)
450
+ @output.puts(*args.map {|s| s.respond_to?(:force_encoding) ? s.force_encoding(encoding) : s})
443
451
  end
444
452
 
445
453
  ##
metadata CHANGED
@@ -1,75 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Arto Bendiken
8
9
  - Ben Lavender
9
10
  - Gregg Kellogg
10
- autorequire:
11
+ autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2013-03-23 00:00:00.000000000 Z
14
+ date: 2013-04-12 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: addressable
17
- requirement: !ruby/object:Gem::Requirement
18
+ version_requirements: !ruby/object:Gem::Requirement
18
19
  requirements:
19
- - - ! '>='
20
+ - - ">="
20
21
  - !ruby/object:Gem::Version
21
22
  version: '2.2'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirement: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ! '>='
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: '2.2'
29
+ none: false
30
+ prerelease: false
31
+ type: :runtime
29
32
  - !ruby/object:Gem::Dependency
30
33
  name: rdf-spec
31
- requirement: !ruby/object:Gem::Requirement
34
+ version_requirements: !ruby/object:Gem::Requirement
32
35
  requirements:
33
- - - ~>
36
+ - - "~>"
34
37
  - !ruby/object:Gem::Version
35
38
  version: '1.0'
36
- type: :development
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirement: !ruby/object:Gem::Requirement
39
41
  requirements:
40
- - - ~>
42
+ - - "~>"
41
43
  - !ruby/object:Gem::Version
42
44
  version: '1.0'
45
+ none: false
46
+ prerelease: false
47
+ type: :development
43
48
  - !ruby/object:Gem::Dependency
44
49
  name: rspec
45
- requirement: !ruby/object:Gem::Requirement
50
+ version_requirements: !ruby/object:Gem::Requirement
46
51
  requirements:
47
- - - ! '>='
52
+ - - ">="
48
53
  - !ruby/object:Gem::Version
49
54
  version: '2.12'
50
- type: :development
51
- prerelease: false
52
- version_requirements: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirement: !ruby/object:Gem::Requirement
53
57
  requirements:
54
- - - ! '>='
58
+ - - ">="
55
59
  - !ruby/object:Gem::Version
56
60
  version: '2.12'
61
+ none: false
62
+ prerelease: false
63
+ type: :development
57
64
  - !ruby/object:Gem::Dependency
58
65
  name: yard
59
- requirement: !ruby/object:Gem::Requirement
66
+ version_requirements: !ruby/object:Gem::Requirement
60
67
  requirements:
61
- - - ! '>='
68
+ - - ">="
62
69
  - !ruby/object:Gem::Version
63
70
  version: '0.8'
64
- type: :development
65
- prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirement: !ruby/object:Gem::Requirement
67
73
  requirements:
68
- - - ! '>='
74
+ - - ">="
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0.8'
71
- description: RDF.rb is a pure-Ruby library for working with Resource Description Framework
72
- (RDF) data.
77
+ none: false
78
+ prerelease: false
79
+ type: :development
80
+ description: RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data.
73
81
  email: public-rdf-ruby@w3.org
74
82
  executables:
75
83
  - rdf
@@ -84,8 +92,19 @@ files:
84
92
  - bin/rdf
85
93
  - etc/doap.nt
86
94
  - lib/df.rb
95
+ - lib/rdf.rb
87
96
  - lib/rdf/cli.rb
88
97
  - lib/rdf/format.rb
98
+ - lib/rdf/nquads.rb
99
+ - lib/rdf/ntriples.rb
100
+ - lib/rdf/query.rb
101
+ - lib/rdf/reader.rb
102
+ - lib/rdf/repository.rb
103
+ - lib/rdf/transaction.rb
104
+ - lib/rdf/util.rb
105
+ - lib/rdf/version.rb
106
+ - lib/rdf/vocab.rb
107
+ - lib/rdf/writer.rb
89
108
  - lib/rdf/mixin/countable.rb
90
109
  - lib/rdf/mixin/durable.rb
91
110
  - lib/rdf/mixin/enumerable.rb
@@ -98,6 +117,13 @@ files:
98
117
  - lib/rdf/mixin/writable.rb
99
118
  - lib/rdf/model/graph.rb
100
119
  - lib/rdf/model/list.rb
120
+ - lib/rdf/model/literal.rb
121
+ - lib/rdf/model/node.rb
122
+ - lib/rdf/model/resource.rb
123
+ - lib/rdf/model/statement.rb
124
+ - lib/rdf/model/term.rb
125
+ - lib/rdf/model/uri.rb
126
+ - lib/rdf/model/value.rb
101
127
  - lib/rdf/model/literal/boolean.rb
102
128
  - lib/rdf/model/literal/date.rb
103
129
  - lib/rdf/model/literal/datetime.rb
@@ -109,33 +135,18 @@ files:
109
135
  - lib/rdf/model/literal/time.rb
110
136
  - lib/rdf/model/literal/token.rb
111
137
  - lib/rdf/model/literal/xml.rb
112
- - lib/rdf/model/literal.rb
113
- - lib/rdf/model/node.rb
114
- - lib/rdf/model/resource.rb
115
- - lib/rdf/model/statement.rb
116
- - lib/rdf/model/term.rb
117
- - lib/rdf/model/uri.rb
118
- - lib/rdf/model/value.rb
119
- - lib/rdf/nquads.rb
120
138
  - lib/rdf/ntriples/format.rb
121
139
  - lib/rdf/ntriples/reader.rb
122
140
  - lib/rdf/ntriples/writer.rb
123
- - lib/rdf/ntriples.rb
124
141
  - lib/rdf/query/hash_pattern_normalizer.rb
125
142
  - lib/rdf/query/pattern.rb
126
143
  - lib/rdf/query/solution.rb
127
144
  - lib/rdf/query/solutions.rb
128
145
  - lib/rdf/query/variable.rb
129
- - lib/rdf/query.rb
130
- - lib/rdf/reader.rb
131
- - lib/rdf/repository.rb
132
- - lib/rdf/transaction.rb
133
146
  - lib/rdf/util/aliasing.rb
134
147
  - lib/rdf/util/cache.rb
135
148
  - lib/rdf/util/file.rb
136
149
  - lib/rdf/util/uuid.rb
137
- - lib/rdf/util.rb
138
- - lib/rdf/version.rb
139
150
  - lib/rdf/vocab/cc.rb
140
151
  - lib/rdf/vocab/cert.rb
141
152
  - lib/rdf/vocab/dc.rb
@@ -155,32 +166,31 @@ files:
155
166
  - lib/rdf/vocab/wot.rb
156
167
  - lib/rdf/vocab/xhtml.rb
157
168
  - lib/rdf/vocab/xsd.rb
158
- - lib/rdf/vocab.rb
159
- - lib/rdf/writer.rb
160
- - lib/rdf.rb
161
169
  homepage: http://ruby-rdf.github.com/
162
170
  licenses:
163
171
  - Public Domain
164
- metadata: {}
165
- post_install_message:
172
+ post_install_message:
166
173
  rdoc_options: []
167
174
  require_paths:
168
175
  - lib
169
176
  required_ruby_version: !ruby/object:Gem::Requirement
170
177
  requirements:
171
- - - ! '>='
178
+ - - ">="
172
179
  - !ruby/object:Gem::Version
173
180
  version: 1.8.1
181
+ none: false
174
182
  required_rubygems_version: !ruby/object:Gem::Requirement
175
183
  requirements:
176
- - - ! '>='
184
+ - - ">="
177
185
  - !ruby/object:Gem::Version
178
- version: '0'
186
+ version: !binary |-
187
+ MA==
188
+ none: false
179
189
  requirements: []
180
190
  rubyforge_project: rdf
181
- rubygems_version: 2.0.3
182
- signing_key:
183
- specification_version: 4
191
+ rubygems_version: 1.8.24
192
+ signing_key:
193
+ specification_version: 3
184
194
  summary: A Ruby library for working with Resource Description Framework (RDF) data.
185
195
  test_files: []
186
196
  has_rdoc: false
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjI3YmJmYTZkOGMwMTc2M2VkYTY4YWFiZGQ2YWRlN2E0NmQ5YzIxOQ==
5
- data.tar.gz: !binary |-
6
- NmU0NTA4ODAwNTNkNzJmMWQ1M2U3M2IyODFiNjJkYjRhM2ZiNjM2ZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NTM5MDM3NjEzMWZhZTYwMjg1MGZjOGY5OTY4ODMyNDIxNjZjOTJiYTdiZDhk
10
- YzAyZGUyYzllYjU1ZWZkMjM4NzEzMWU4NzViNGI0ZGI4YWMzZWEyZWJlZTkz
11
- MzRjOTgyMzE1ZWZjN2UyYTIwZGM5ZWI4ZDRjYjhmODg0MGY5ZGM=
12
- data.tar.gz: !binary |-
13
- ZTA3MDBiYzUyYTBlYjJlNTk1Njg5NDYwNzI5ZTY3MGIzNjU5NmEyMjlkZTVl
14
- MzQ4MTFjMmQyZTE1NDgwODc0ZTk4YThlYzRmYjJmOTBhYjdlYzQxOGFiZTg1
15
- Y2MxOTQ4NDBhNzg3YzNmYjIwNWIwNjUyYTNiYzE3MzEzZTAwMzI=