From 59de551e763201398ef9b852c584e742a2947be5 Mon Sep 17 00:00:00 2001 From: Ilyas Ronef Date: Wed, 6 May 2020 21:08:46 +0300 Subject: [PATCH 1/2] * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.32 is required. * Compatibility with (MODX)EvolutionCMS.libraries.ddTools >= 0.32. --- README.md | 2 +- README_ru.md | 2 +- composer.json | 2 +- ddTypograph_snippet.php | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9a3d74c..53bcdf8 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The snippet doesn’t use third-party services, also it sends no requests. In ot ## Requires * PHP >= 5.4 -* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.21 +* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.32 * [PHP.libraries.EMT](http://mdash.ru) 3.5 (contains in archive) diff --git a/README_ru.md b/README_ru.md index 59438a0..db6ec3b 100644 --- a/README_ru.md +++ b/README_ru.md @@ -6,7 +6,7 @@ ## Использует * PHP >= 5.4 -* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.21 +* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.32 * [PHP.libraries.EMT](http://mdash.ru) 3.5 (содержится в архиве) diff --git a/composer.json b/composer.json index edfb300..3022b1a 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,6 @@ ], "require": { "php": ">=5.4.0", - "dd/modxevo-library-ddtools": ">=0.21.0" + "dd/modxevo-library-ddtools": ">=0.32.0" } } \ No newline at end of file diff --git a/ddTypograph_snippet.php b/ddTypograph_snippet.php index 298b6cd..fb41c4f 100644 --- a/ddTypograph_snippet.php +++ b/ddTypograph_snippet.php @@ -38,15 +38,15 @@ ); //Для обратной совместимости - extract(\ddTools::verifyRenamedParams( - $params, - [ + extract(\ddTools::verifyRenamedParams([ + 'params' => $params, + 'compliance' => [ 'optAlign' => 'OptAlign', 'text_paragraphs' => 'Text_paragraphs', 'text_autoLinks' => 'Text_autoLinks', 'etc_unicodeConvert' => 'Etc_unicodeConvert' ] - )); + ])); //Safe tags $excludeTags = From 671d8986cdb98b1c0cd4031785524277132890e6 Mon Sep 17 00:00:00 2001 From: Ilyas Ronef Date: Wed, 6 May 2020 21:12:29 +0300 Subject: [PATCH 2/2] Prerelease --- CHANGELOG.md | 5 +++++ CHANGELOG_ru.md | 5 +++++ README.md | 2 +- README_ru.md | 2 +- composer.json | 2 +- ddTypograph_snippet.php | 2 +- 6 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb2cf9a..b24aec4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # (MODX)EvolutionCMS.snippets.ddTypograph changelog +## Version 2.4.2 (2020-05-06) +* \* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.32 is required. +* \* Compatibility with (MODX)EvolutionCMS.libraries.ddTools >= 0.32. + + ## Version 2.4.1 (2020-05-04) * \+ README. * \+ README_ru. diff --git a/CHANGELOG_ru.md b/CHANGELOG_ru.md index 483cd7d..21c45bb 100644 --- a/CHANGELOG_ru.md +++ b/CHANGELOG_ru.md @@ -1,6 +1,11 @@ # (MODX)EvolutionCMS.snippets.ddTypograph changelog +## Версия 2.4.2 (2020-05-06) +* \* Внимание! Требуется (MODX)EvolutionCMS.libraries.ddTools >= 0.32. +* \* Совместимость с (MODX)EvolutionCMS.libraries.ddTools >= 0.32. + + ## Версия 2.4.1 (2020-05-04) * \+ README. * \+ README_ru. diff --git a/README.md b/README.md index 53bcdf8..cd0142a 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The snippet doesn’t use third-party services, also it sends no requests. In ot #### 1. Elements → Snippets: Create a new snippet with the following data 1. Snippet name: `ddTypograph`. -2. Description: `2.4.1 Snippet for text typography. The snippet doesn’t use third-party services, also it sends no requests. In other words, everything is performed on your server.`. +2. Description: `2.4.2 Snippet for text typography. The snippet doesn’t use third-party services, also it sends no requests. In other words, everything is performed on your server.`. 3. Category: `Core`. 4. Parse DocBlock: `no`. 5. Snippet code (php): Insert content of the `ddTypograph_snippet.php` file from the archive. diff --git a/README_ru.md b/README_ru.md index db6ec3b..41d8c9d 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ #### 1. Элементы → Сниппеты: Создайте новый сниппет со следующими параметрами 1. Название сниппета: `ddTypograph`. -2. Описание: `2.4.1 Сниппет типографирует текст. Не использует сторонних сервисов, не отправляет никаких запросов, всё делается прямо у вас на сервере.`. +2. Описание: `2.4.2 Сниппет типографирует текст. Не использует сторонних сервисов, не отправляет никаких запросов, всё делается прямо у вас на сервере.`. 3. Категория: `Core`. 4. Анализировать DocBlock: `no`. 5. Код сниппета (php): Вставьте содержимое файла `ddTypograph_snippet.php` из архива. diff --git a/composer.json b/composer.json index 3022b1a..c88cd37 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "dd/evolutioncms-snippets-ddtypograph", "type": "modxevo-snippet", - "version": "2.4.1", + "version": "2.4.2", "description": "Snippet for text typography. The snippet doesn't use third-party services, also it sends no requests. In other words, everything is performed on your server.", "keywords": [ "modx", diff --git a/ddTypograph_snippet.php b/ddTypograph_snippet.php index fb41c4f..416377e 100644 --- a/ddTypograph_snippet.php +++ b/ddTypograph_snippet.php @@ -1,7 +1,7 @@