Skip to content

Commit

Permalink
Update version to 0.1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
vpietri committed Jan 18, 2017
1 parent 71d3df5 commit 25e9784
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Block/Tab/Content/Sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ public function getAllQueries()
$squareSum = pow($query['time'] - $average, 2);
}

$standardDeviation = sqrt(0);

if ($squareSum) {
$standardDeviation = 0;
if ($squareSum and $this->getTotalNumQueries()) {
$standardDeviation = sqrt($squareSum/$this->getTotalNumQueries());
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vpietri/adm-quickdevbar",
"description": "QuickDevBar is a developer toolbar for magento 2",
"type": "magento2-module",
"version": "0.1.11",
"version": "0.1.12",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
3 changes: 3 additions & 0 deletions doc/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog: Quick Developer Toolbar for Magento2
====================================

0.1.12
* Fix Wbug when profiler is disabled. Thanks to [rakibabu](https://github.com/vpietri/magento2-developer-quickdevbar/pull/16)

0.1.11
* Improve layout view with a js tree
* Add css lazy load to keep toolbar completly hidden when disabled
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="ADM_QuickDevBar" setup_version="0.1.11"/>
<module name="ADM_QuickDevBar" setup_version="0.1.12"/>
<!-- Sequence allow to control load order module -->
<sequence>
</sequence>
Expand Down

0 comments on commit 25e9784

Please sign in to comment.