bump version to v1.2.4

This commit is contained in:
Babibubebon 2020-08-27 01:33:14 +09:00
parent be88f4dac0
commit 340446e8a4
No known key found for this signature in database
GPG key ID: 575C0B67FDDAF4AE
2 changed files with 4 additions and 4 deletions

View file

@ -25,11 +25,11 @@ class ResourceController extends Controller
/** /**
* @param $request * @param $request
* @return \EasyRdf_Graph * @return \EasyRdf\Graph
*/ */
protected function querySparql($request) protected function querySparql($request)
{ {
$client = new \EasyRdf_Sparql_Client($request->datasetConfig['endpoint']); $client = new \EasyRdf\Sparql\Client($request->datasetConfig['endpoint']);
$query = <<<EOT $query = <<<EOT
CONSTRUCT { CONSTRUCT {
<{$request->resourceUri}> ?p ?o . <{$request->resourceUri}> ?p ?o .
@ -77,7 +77,7 @@ EOT;
$graph = $this->querySparql($request); $graph = $this->querySparql($request);
try { try {
$data = $graph->serialise(substr($ext, 1)); $data = $graph->serialise(substr($ext, 1));
} catch (\EasyRdf_Exception $e) { } catch (\EasyRdf\Exception $e) {
abort(400); abort(400);
} }
$type = ContentNegotiatorMiddleware::mimetypeFromExtension($ext); $type = ContentNegotiatorMiddleware::mimetypeFromExtension($ext);

View file

@ -2,7 +2,7 @@
return [ return [
'version' => '1.2.3', 'version' => '1.2.4',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------