rdf-smart 0.0.161 → 0.0.162

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82079602d9f4965078e93a8db345ec93deb34a4e
4
- data.tar.gz: 85ee106a5a2bbb68d9250517352a195f15f6a07d
3
+ metadata.gz: 0874fac5e2024f9ef74396550bf7049ba2481b63
4
+ data.tar.gz: c989068b1e99c6dbd83370e4f4058d9545b3172e
5
5
  SHA512:
6
- metadata.gz: 3809df4f7997796b7dfce79b68f0ccac2c0e431e7a145160d078ae3a3b1106cb467f135418d90f6bd445f74f353b1ae5ee512bbe02c7ae221cf5777bb26c9412
7
- data.tar.gz: 14d9dc5fd67e9bd86f863dd856690bc1eefbcbcba4c19ac8f1436e866671bdace110ce62b1f463e77edac9efa2790c06a2a9aeab4f53a1d5c6acfa671fdb9652
6
+ metadata.gz: d8b1bf6c107276d653cd2b6e49de64e35e77100e3e50bbd84844ac778a3f89a67e126d82618c4273258908be9b05f2ebf5a842567271ab18c26b87eede4c44e4
7
+ data.tar.gz: c9b50bc3e1a4547026d809892262fe50c5c1a557c82a591c01b7a3e7c1a105c71ecbae09e094dc71eff1d4c8579909e05a97a2940495edfccf93775b7c31fa99
data/ext/Makefile CHANGED
@@ -78,7 +78,7 @@ optflags = -O3 -fno-fast-math
78
78
  debugflags = -ggdb3
79
79
  warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration
80
80
  CCDLFLAGS = -fPIC
81
- CFLAGS = $(CCDLFLAGS) -DRSM_VERSION=\"0.0.161\" -std=c99 -I/usr/include/rasqal -I/usr/include/raptor2 -g -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC $(ARCH_FLAG)
81
+ CFLAGS = $(CCDLFLAGS) -DRSM_VERSION=\"0.0.162\" -std=c99 -I/usr/include/rasqal -I/usr/include/raptor2 -g -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC $(ARCH_FLAG)
82
82
  INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
83
83
  DEFS =
84
84
  CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -D_FORTIFY_SOURCE=2 $(DEFS) $(cppflags)
data/ext/rsm.c CHANGED
@@ -180,7 +180,7 @@ static rasqal_query* rsm_roqet_init_query(rasqal_world *world,
180
180
  return rq;
181
181
  }
182
182
  /*
183
- * This method gets all the namespaces
183
+ * This method returns a hash containing all key value pairs of +namespaces+ found in +data_sources+
184
184
  */
185
185
  VALUE rsm_namespaces(VALUE self) {
186
186
  rsm_obj *prsm_obj;
@@ -322,7 +322,7 @@ VALUE rsm_execute(VALUE self, VALUE query) {
322
322
  }
323
323
 
324
324
  /*
325
- * Method description here.
325
+ * Returns an array, containing all +data_sources+
326
326
  */
327
327
  VALUE rsm_data_sources(VALUE self) {
328
328
  rsm_obj *prsm_obj;
@@ -336,7 +336,11 @@ VALUE allocate(VALUE class) {
336
336
  }
337
337
 
338
338
  /*
339
- * Method description here.
339
+ * Creates a new RDF::Smart object.
340
+ *
341
+ * Parameter +args+ can be zero to n strings of filenames.
342
+ *
343
+ * Parameter +args+ will be saved as +data_sources+.
340
344
  */
341
345
  VALUE rsm_initialize(int argc, VALUE *argv, VALUE self) {
342
346
  int i;
@@ -360,7 +364,7 @@ void Init_smart(void) {
360
364
  */
361
365
  rsm_RDF = rb_define_module( "RDF" );
362
366
  /*
363
- * Our class
367
+ * Our class, conatins the main methods.
364
368
  */
365
369
  rsm_Smart = rb_define_class_under( rsm_RDF, "Smart", rb_cObject);
366
370
  rsm_RDF = rsm_RDF;
data/ext/rsm.o CHANGED
Binary file
data/ext/smart.so CHANGED
Binary file
data/rdf-smart.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rdf-smart'
3
- s.version = '0.0.161'
3
+ s.version = '0.0.162'
4
4
  s.date = '2014-06-17'
5
5
  s.summary ="RDF.rb segfaults. A lot. We don't. RDF.rb has lots of features. We don't."
6
6
  s.description ="Minimal sparql support for ruby. Basically the roqet tool from http://librdf.org, with always guessing input type, and always json output."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-smart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.161
4
+ version: 0.0.162
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Stertz