rdf-raptor 1.1.1 → 1.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76ea4505aaf7504f9f8fdbf5b4bd63a850a687ef
4
- data.tar.gz: 312c4f5d5845f81727c6d4fc98d0e6d9a7f1bbf7
3
+ metadata.gz: c42b95d9190c14c278a7070846273170d4a3729d
4
+ data.tar.gz: 498f96cf1f00e20fb06cb98611b8a1b42158ec76
5
5
  SHA512:
6
- metadata.gz: 92597a38b1c51bcc98abe0e6d9af70c071d0a9cb8155500ca6c528f4927fff851535972a5f53864d36c50884bb7c450cd933d7e61670e430413daeb1c0e1c8bc
7
- data.tar.gz: c135b88261b385a0d78c157dff3024f3e3e414884f963bfdc535b25dbf776d5427b393fde69d8f8e5e4600480b738ec830d79eb841e450c5c353b5a1e8cf9380
6
+ metadata.gz: fd1d8457304c061a69c1e77d92ffb34b401783cf45b45bbbebc13cde84c3d7a0ec2fbb6a9543f3f3ffe89c8ad7debf320aece460b3c5a8c3d42b81fc1e9a86dc
7
+ data.tar.gz: 6930375299c6a2a6efb71179e8452c1e459b4b9ee832d1b3e536660fc611e122673b2f5fdf11f43eb3603ead34a1a83e801b678a4dd7a1955b245b5535b45c3c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -175,11 +175,18 @@ module RDF::Raptor
175
175
  @serializer.serialize_triple(subject, predicate, object)
176
176
  end
177
177
 
178
+ ##
179
+ # @return [void]
180
+ # @see RDF::Writer#write_prologue
181
+ def write_prologue
182
+ @serializer.prefix(self.prefixes)
183
+ super
184
+ end
185
+
178
186
  ##
179
187
  # @return [void]
180
188
  # @see RDF::Writer#write_epilogue
181
189
  def write_epilogue
182
- @serializer.prefix(self.prefixes)
183
190
  @serializer.finish
184
191
  super
185
192
  end
@@ -117,13 +117,14 @@ module RDF::Raptor::FFI
117
117
 
118
118
  # @see http://librdf.org/raptor/api/raptor2-section-serializer.html
119
119
  typedef :pointer, :raptor_serializer
120
+ typedef :string, :prefix
120
121
  attach_function :raptor_new_serializer, [:raptor_world, :string], :raptor_serializer
121
122
  attach_function :raptor_free_serializer, [:raptor_serializer], :void
122
123
  attach_function :raptor_serializer_start_to_iostream, [:raptor_serializer, :raptor_uri, :raptor_iostream], :int
123
124
  attach_function :raptor_serializer_start_to_filename, [:raptor_serializer, :string], :int
124
125
  attach_function :raptor_serializer_serialize_statement, [:raptor_serializer, :raptor_statement], :int
125
126
  attach_function :raptor_serializer_serialize_end, [:raptor_serializer], :int
126
- attach_function :raptor_serializer_set_namespace, [:raptor_serializer, :raptor_uri, :string], :int
127
+ attach_function :raptor_serializer_set_namespace, [:raptor_serializer, :raptor_uri, :prefix], :int
127
128
  #attach_function :raptor_serializer_set_error_handler, [:raptor_serializer, :pointer, :raptor_message_handler], :void
128
129
  #attach_function :raptor_serializer_set_warning_handler, [:raptor_serializer, :pointer, :raptor_message_handler], :void
129
130
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-raptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arto Bendiken
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-27 00:00:00.000000000 Z
12
+ date: 2014-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi