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 +4 -4
- data/ext/Makefile +1 -1
- data/ext/rsm.c +8 -4
- data/ext/rsm.o +0 -0
- data/ext/smart.so +0 -0
- data/rdf-smart.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0874fac5e2024f9ef74396550bf7049ba2481b63
|
4
|
+
data.tar.gz: c989068b1e99c6dbd83370e4f4058d9545b3172e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
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
|
-
*
|
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
|
-
*
|
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.
|
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."
|