Merge branch 'dev' into 'master'
Minor doc fixes in dev branch See merge request nosial/libs/tgbot!1
This commit is contained in:
commit
711990af3c
8 changed files with 41 additions and 23 deletions
10
.idea/runConfigurations/Build.xml
generated
Normal file
10
.idea/runConfigurations/Build.xml
generated
Normal 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
8
.idea/runConfigurations/Clean.xml
generated
Normal 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
10
.idea/runConfigurations/Install.xml
generated
Normal 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>
|
|
@ -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/),
|
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).
|
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
|
## [6.5.3] - Unreleased
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
10
Makefile
10
Makefile
|
@ -1,8 +1,8 @@
|
||||||
release:
|
build:
|
||||||
ncc build --config="release"
|
ncc build --config="release" --log-level debug
|
||||||
|
|
||||||
install:
|
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:
|
clean:
|
||||||
ncc package uninstall -y --package="net.nosial.tgbotlib"
|
rm -rf build
|
|
@ -41,7 +41,7 @@ Telegram Bot API version.
|
||||||
The library can be installed using ncc:
|
The library can be installed using ncc:
|
||||||
|
|
||||||
```bash
|
```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:
|
or by adding the following to your project.json file under the `build.dependencies` section:
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"package": "net.nosial.tgbotlib",
|
"package": "net.nosial.tgbotlib",
|
||||||
"description": "TgBotLib is a library for interacting with the Telegram Bot API",
|
"description": "TgBotLib is a library for interacting with the Telegram Bot API",
|
||||||
"company": "Nosial",
|
"company": "Nosial",
|
||||||
"version": "6.5.2",
|
"version": "6.5.4",
|
||||||
"uuid": "b409e036-ab04-11ed-b32e-9d3f57a644ae"
|
"uuid": "b409e036-ab04-11ed-b32e-9d3f57a644ae"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
|
|
|
@ -2333,19 +2333,4 @@
|
||||||
]);
|
]);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Public Destructor
|
|
||||||
*/
|
|
||||||
public function __destruct()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
$this->close();
|
|
||||||
}
|
|
||||||
catch(Exception $e)
|
|
||||||
{
|
|
||||||
unset($e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue