From b38363829e4561732499e5ab1a5920c9e9bdd83a Mon Sep 17 00:00:00 2001 From: karliuka Date: Tue, 21 Sep 2021 19:34:54 +0300 Subject: [PATCH 1/6] update version --- composer.json | 2 +- etc/module.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 71f39e2..77546de 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "eriocnemis/module-exchange-ecb", "description": "The extension retrieves currency exchange rates from the European Central Bank.", "type": "magento2-module", - "version": "2.4.0", + "version": "2.4.2", "authors": [ { "name": "Eriocnemis Team", diff --git a/etc/module.xml b/etc/module.xml index 9e50c31..87ca517 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -7,7 +7,7 @@ --> - + From c97afcc11f01f5f1a5221ff8ebc4e7ca158c7b76 Mon Sep 17 00:00:00 2001 From: karliuka Date: Tue, 21 Sep 2021 19:39:39 +0300 Subject: [PATCH 2/6] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 448220a..5b03afd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Version | 2.0.* | 2.1.* | 2.2.* | 2.3.* | 2.4.* Magento Community | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: Magento Enterprise | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: Magento Cloud | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: -Extension version | [2.0.1](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.0.1.zip) | [2.1.1](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.1.1.zip) | [2.2.1](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.2.1.zip) | [2.3.1](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.3.1.zip) |[2.4.0](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.4.0.zip) +Extension version | [2.0.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.0.2.zip) | [2.1.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.1.2.zip) | [2.2.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.2.2.zip) | [2.3.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.3.1.zip) |[2.4.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.4.2.zip) ## Install From 43c0d8b9f8d3b903d52d00ab94f8526c32ee673e Mon Sep 17 00:00:00 2001 From: vitalii Date: Mon, 15 Nov 2021 22:01:24 +0200 Subject: [PATCH 3/6] refactoring --- .pre-commit-config.yaml | 3 ++- composer.json | 4 ++-- {Model => src/Model}/Currency/Gateway.php | 0 {Model => src/Model}/Currency/Import.php | 0 {Model => src/Model}/Currency/Rate.php | 0 {etc => src/etc}/adminhtml/system.xml | 0 {etc => src/etc}/config.xml | 0 {etc => src/etc}/di.xml | 0 {etc => src/etc}/module.xml | 0 {i18n => src/i18n}/en_US.csv | 0 registration.php => src/registration.php | 0 11 files changed, 4 insertions(+), 3 deletions(-) rename {Model => src/Model}/Currency/Gateway.php (100%) rename {Model => src/Model}/Currency/Import.php (100%) rename {Model => src/Model}/Currency/Rate.php (100%) rename {etc => src/etc}/adminhtml/system.xml (100%) rename {etc => src/etc}/config.xml (100%) rename {etc => src/etc}/di.xml (100%) rename {etc => src/etc}/module.xml (100%) rename {i18n => src/i18n}/en_US.csv (100%) rename registration.php => src/registration.php (100%) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56348f7..903243c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,8 +12,9 @@ repos: - id: pretty-format-json args: ["--indent=4", "--autofix", "--no-sort-keys"] - repo: https://github.com/eriocnemis/git.MagentoPreCommitHooks - rev: 1.0.8 + rev: 1.0.10 hooks: + - id: magento-xml - id: magento-phpcs args: ["--autofix"] - id: magento-phpmd diff --git a/composer.json b/composer.json index 77546de..f96f4d6 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,10 @@ }, "autoload": { "files": [ - "registration.php" + "src/registration.php" ], "psr-4": { - "Eriocnemis\\ExchangeEcb\\": "" + "Eriocnemis\\ExchangeEcb\\": "src" } } } diff --git a/Model/Currency/Gateway.php b/src/Model/Currency/Gateway.php similarity index 100% rename from Model/Currency/Gateway.php rename to src/Model/Currency/Gateway.php diff --git a/Model/Currency/Import.php b/src/Model/Currency/Import.php similarity index 100% rename from Model/Currency/Import.php rename to src/Model/Currency/Import.php diff --git a/Model/Currency/Rate.php b/src/Model/Currency/Rate.php similarity index 100% rename from Model/Currency/Rate.php rename to src/Model/Currency/Rate.php diff --git a/etc/adminhtml/system.xml b/src/etc/adminhtml/system.xml similarity index 100% rename from etc/adminhtml/system.xml rename to src/etc/adminhtml/system.xml diff --git a/etc/config.xml b/src/etc/config.xml similarity index 100% rename from etc/config.xml rename to src/etc/config.xml diff --git a/etc/di.xml b/src/etc/di.xml similarity index 100% rename from etc/di.xml rename to src/etc/di.xml diff --git a/etc/module.xml b/src/etc/module.xml similarity index 100% rename from etc/module.xml rename to src/etc/module.xml diff --git a/i18n/en_US.csv b/src/i18n/en_US.csv similarity index 100% rename from i18n/en_US.csv rename to src/i18n/en_US.csv diff --git a/registration.php b/src/registration.php similarity index 100% rename from registration.php rename to src/registration.php From 895b23ea88ae17e7da8f245787af9bce4d2facc7 Mon Sep 17 00:00:00 2001 From: oxlen Date: Mon, 15 Nov 2021 22:04:43 +0200 Subject: [PATCH 4/6] replace version --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f96f4d6..42104fc 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "eriocnemis/module-exchange-ecb", "description": "The extension retrieves currency exchange rates from the European Central Bank.", "type": "magento2-module", - "version": "2.4.2", + "version": "2.4.3", "authors": [ { "name": "Eriocnemis Team", @@ -13,6 +13,7 @@ "OSL-3.0" ], "require": { + "php": "~7.3.0||~7.4.0", "magento/framework": "103.0.*", "magento/module-directory": "100.4.*", "magento/module-store": "101.1.*" From 00ac6d1cc72cca6390f4a764f6ad2ca6425e1e61 Mon Sep 17 00:00:00 2001 From: oxlen Date: Mon, 15 Nov 2021 22:16:51 +0200 Subject: [PATCH 5/6] replace version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b03afd..25d9399 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Version | 2.0.* | 2.1.* | 2.2.* | 2.3.* | 2.4.* Magento Community | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: Magento Enterprise | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: Magento Cloud | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: -Extension version | [2.0.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.0.2.zip) | [2.1.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.1.2.zip) | [2.2.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.2.2.zip) | [2.3.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.3.1.zip) |[2.4.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.4.2.zip) +Extension version | [2.0.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.0.3.zip) | [2.1.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.1.3.zip) | [2.2.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.2.3.zip) | [2.3.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.3.3.zip) |[2.4.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.4.3.zip) ## Install From f2f276fedc36320e80a55b387216b24e2fb34df7 Mon Sep 17 00:00:00 2001 From: oxlen Date: Mon, 15 Nov 2021 22:34:33 +0200 Subject: [PATCH 6/6] replace version --- src/etc/module.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/module.xml b/src/etc/module.xml index 87ca517..0c0d133 100644 --- a/src/etc/module.xml +++ b/src/etc/module.xml @@ -7,7 +7,7 @@ --> - +