Minor doc fixes in dev branch #5

Merged
cybersecbyte merged 8 commits from dev into master 2023-03-08 01:31:44 +00:00
8 changed files with 41 additions and 23 deletions

10
.idea/runConfigurations/Build.xml generated Normal file
View file

@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Build" type="MAKEFILE_TARGET_RUN_CONFIGURATION" factoryName="Makefile">
<makefile filename="$PROJECT_DIR$/Makefile" target="build" workingDirectory="" arguments="">
<envs />
</makefile>
<method v="2">
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Clean" run_configuration_type="MAKEFILE_TARGET_RUN_CONFIGURATION" />
</method>
</configuration>
</component>

8
.idea/runConfigurations/Clean.xml generated Normal file
View file

@ -0,0 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Clean" type="MAKEFILE_TARGET_RUN_CONFIGURATION" factoryName="Makefile">
<makefile filename="$PROJECT_DIR$/Makefile" target="clean" workingDirectory="" arguments="">
<envs />
</makefile>
<method v="2" />
</configuration>
</component>

10
.idea/runConfigurations/Install.xml generated Normal file
View file

@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Install" type="MAKEFILE_TARGET_RUN_CONFIGURATION" factoryName="Makefile">
<makefile filename="$PROJECT_DIR$/Makefile" target="install" workingDirectory="" arguments="">
<envs />
</makefile>
<method v="2">
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Build" run_configuration_type="MAKEFILE_TARGET_RUN_CONFIGURATION" />
</method>
</configuration>
</component>

View file

@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [6.5.4] - Unreleased
### Changed
* Removed unused `__destruct()` method from `\TgBotLib\Bot`
## [6.5.3] - Unreleased
### Fixed

View file

@ -1,8 +1,8 @@
release:
ncc build --config="release"
build:
ncc build --config="release" --log-level debug
install:
ncc package install --package="build/release/net.nosial.tgbotlib.ncc" --skip-dependencies --reinstall -y
sudo ncc package install --package="build/release/net.nosial.tgbotlib.ncc" --skip-dependencies --reinstall -y --log-level debug
uninstall:
ncc package uninstall -y --package="net.nosial.tgbotlib"
clean:
rm -rf build

View file

@ -41,7 +41,7 @@ Telegram Bot API version.
The library can be installed using ncc:
```bash
ncc install -p "nosial/libs.tgbot=latest@n64"
ncc package install -p "nosial/libs.tgbot=latest@n64"
```
or by adding the following to your project.json file under the `build.dependencies` section:

View file

@ -12,7 +12,7 @@
"package": "net.nosial.tgbotlib",
"description": "TgBotLib is a library for interacting with the Telegram Bot API",
"company": "Nosial",
"version": "6.5.2",
"version": "6.5.4",
"uuid": "b409e036-ab04-11ed-b32e-9d3f57a644ae"
},
"build": {
@ -39,4 +39,4 @@
}
]
}
}
}

View file

@ -2333,19 +2333,4 @@
]);
return true;
}
/**
* Public Destructor
*/
public function __destruct()
{
try
{
$this->close();
}
catch(Exception $e)
{
unset($e);
}
}
}