Skip to content

Commit

Permalink
prepare release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bdecarne committed Apr 22, 2015
1 parent 2765745 commit 4cb08c7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ composer.lock
composer.phar
autoload.php
/vendor/
.idea
21 changes: 11 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
Nemrod 0.1.0
=============

* First public release
* ResourceManager supporting SPARQL Endpoints
* QueryBuilder
* Form component
* JsonLD Serialization

Nemrod 0.1.1
============

* More docs
* Form component: Better empty_data management
* Form component: Literal (or subclass) is instantiated if appropriate
* Resource manager: Datatypes + langs (for strings) are managed in persister
* Resource manager: Resources are snapshoted at first change in graph instead of at loading time (performances gain)
* Resource manager: Repositoty's findOneBy now based on SPARQL subquery + returns a Resource
* Resource manager: resources uri are managed on their expanded form
* Resource manager: a lifecycle listener/subscriber can be registered to ALL (endpoints) managers events at once.
* EasyRdf's Base resource switching abilities are used; Nemrod base resource is default base class in framework
* EasyRdf's Base resource switching abilities are used; Nemrod base resource is default base class in framework

Nemrod 0.1.0
=============

* First public release
* ResourceManager supporting SPARQL Endpoints
* QueryBuilder
* Form component
* JsonLD Serialization
12 changes: 7 additions & 5 deletions src/Conjecto/Nemrod/ResourceManager/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -779,16 +779,18 @@ private function getSnapshotForResource(\Traversable $resources, $array = array(
$snapshot[$resource->getUri()] = $bigSnapshot[$resource->getUri()];

//getting snapshots also for blank nodes
if (!empty($bigSnapshot))
foreach ($bigSnapshot[$resource->getUri()] as $property => $values) {
return $bigSnapshot;
foreach ($values as $value) {
$array[] = $value['value'];
if (!empty($bigSnapshot)) {
foreach ($bigSnapshot[$resource->getUri()] as $property => $values) {
return $bigSnapshot;
foreach ($values as $value) {
$array[] = $value['value'];
// if ((!$this->isManagementBlackListed($value['value'])) && $value['type'] === 'bnode' && isset($bigSnapshot[$value['value']])) {
// $snapshot[$value['value']] = $bigSnapshot[$value['value']];
// }
}
}
}

return $array;
}
}
Expand Down

0 comments on commit 4cb08c7

Please sign in to comment.