Skip to content

Commit

Permalink
Upgrading dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Apr 5, 2022
1 parent 34b8087 commit 294846a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"php": ">=7.4.0|>=8.0.0",
"ext-bcmath": "*",
"cweagans/composer-patches": "^1.7",
"fastybird/exchange": "^0.30",
"fastybird/exchange": "^0.31",
"fastybird/json-api": "^0.10",
"fastybird/metadata": "^0.51",
"fastybird/metadata": "^0.52",
"fastybird/simple-auth": "^0.3",
"fastybird/web-server": "^0.8",
"ipub/doctrine-dynamic-discriminator-map": "^1.4",
Expand Down
2 changes: 1 addition & 1 deletion fastybird_devices_module/state/property.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def pending(self, pending: bool) -> None:

# -----------------------------------------------------------------------------

@property
@property # type: ignore[misc]
@abstractmethod
def valid(self) -> bool:
"""Property value is valid"""
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fastybird/devices-module",
"version": "0.50.0",
"version": "0.51.0",
"description": "Devices module data model plugin",
"keywords": [
"devices",
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fastnumbers>=3.2
fastybird-exchange>=0.30
fastybird-metadata>=0.51
fastybird-exchange>=0.31
fastybird-metadata>=0.52
inflection>=0.5
kink>=0.6
setuptools>=57.4
Expand Down
1 change: 1 addition & 0 deletions src/Models/States/ChannelPropertiesManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ private function publishEntity(
'actual_value' => $state === null ? null : Utilities\ValueHelper::normalizeValue($property->getDataType(), $state->getActualValue(), $property->getFormat(), $property->getInvalid()),
'expected_value' => $state === null ? null : Utilities\ValueHelper::normalizeValue($property->getDataType(), $state->getExpectedValue(), $property->getFormat(), $property->getInvalid()),
'pending' => !($state === null) && $state->isPending(),
'valid' => !($state === null) && $state->isValid(),
]))
);
}
Expand Down
1 change: 1 addition & 0 deletions src/Models/States/ConnectorPropertiesManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ private function publishEntity(
'actual_value' => $state === null ? null : Utilities\ValueHelper::normalizeValue($property->getDataType(), $state->getActualValue(), $property->getFormat(), $property->getInvalid()),
'expected_value' => $state === null ? null : Utilities\ValueHelper::normalizeValue($property->getDataType(), $state->getExpectedValue(), $property->getFormat(), $property->getInvalid()),
'pending' => !($state === null) && $state->isPending(),
'valid' => !($state === null) && $state->isValid(),
]))
);
}
Expand Down
1 change: 1 addition & 0 deletions src/Models/States/DevicePropertiesManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ private function publishEntity(
'actual_value' => $state === null ? null : Utilities\ValueHelper::normalizeValue($property->getDataType(), $state->getActualValue(), $property->getFormat(), $property->getInvalid()),
'expected_value' => $state === null ? null : Utilities\ValueHelper::normalizeValue($property->getDataType(), $state->getExpectedValue(), $property->getFormat(), $property->getInvalid()),
'pending' => !($state === null) && $state->isPending(),
'valid' => !($state === null) && $state->isValid(),
]))
);
}
Expand Down

0 comments on commit 294846a

Please sign in to comment.