Skip to content

Commit

Permalink
change vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulbarot committed Feb 14, 2022
1 parent 16b1a9c commit 0371e2d
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Model/Currency/Import/FreecurrencyConverterApi.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
/**
* Copyright © Rahul Barot. All rights reserved.
* Copyright © Rahul Barot All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace RB\CurrencyConverter\Model\Currency\Import;
namespace MageRahul\CurrencyConverter\Model\Currency\Import;

use Magento\Directory\Model\CurrencyFactory;
use Magento\Store\Model\ScopeInterface;
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mage2 Module RB CurrencyConverter
# Mage2 Module MageRahul CurrencyConverter

``composer require rb/module-currencyconverter``
``composer require magerahul/module-currencyconverter``

- [Main Functionalities](#user-content-main-functionalities)
- [Installation](#user-content-installation)
Expand All @@ -17,8 +17,8 @@ This is magento 2 module which provides integration of free currency converter(f

### Type 1: Zip file

- Unzip the zip file in `app/code/RB`
- Enable the module by running `php bin/magento module:enable RB_CurrencyConverter`
- Unzip the zip file in `app/code/MageRahul`
- Enable the module by running `php bin/magento module:enable MageRahul_CurrencyConverter`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

Expand All @@ -29,8 +29,8 @@ This is magento 2 module which provides integration of free currency converter(f
- public repository `packagist.org`
- public github repository as vcs
- Add the composer repository to the configuration by running `composer config repositories.repo.magento.com composer https://repo.magento.com/`
- Install the module composer by running `composer require rb/module-currencyconverter`
- enable the module by running `php bin/magento module:enable RB_CurrencyConverter`
- Install the module composer by running `composer require magerahul/module-currencyconverter`
- enable the module by running `php bin/magento module:enable MageRahul_CurrencyConverter`
- apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "rb/module-currencyconverter",
"name": "magerahul/module-currencyconverter",
"description": "This is magento 2 module which provides usage of custom currency converter API.",
"type": "magento2-module",
"license": "GPL-3.0",
"authors": [
{
"name": "Mage2Gen",
"email": "info@mage2gen.com"
"name": "Rahul Barot",
"email": "rahulbarot.rahu@gmail.com"
}
],
"minimum-stability": "dev",
Expand All @@ -16,7 +16,7 @@
"registration.php"
],
"psr-4": {
"RB\\CurrencyConverter\\": ""
"MageRahul\\CurrencyConverter\\": ""
}
}
}
2 changes: 1 addition & 1 deletion etc/acl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<resource id="Magento_Backend::stores">
<resource id="Magento_Backend::stores_settings">
<resource id="Magento_Config::config">
<resource id="RB_CurrencyConverter::config_rb_currencyconverter" title="currency"/>
<resource id="MageRahul_CurrencyConverter::config_rb_currencyconverter" title="currency"/>
</resource>
</resource>
</resource>
Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<section id="currency">
<resource>RB_CurrencyConverter::config_rb_currencyconverter</resource>
<resource>MageRahul_CurrencyConverter::config_rb_currencyconverter</resource>
<group id="freecurrencyapi" sortOrder="55" showInDefault="1" translate="label">
<label>Freecurrency Converter API</label>
<field id="api_key" type="obscure" sortOrder="5" showInDefault="1" translate="label">
Expand Down
4 changes: 2 additions & 2 deletions etc/di.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<!--
/**
* Copyright © Rahul Barot. All rights reserved.
* Copyright © Rahul Barot All rights reserved.
* See COPYING.txt for license details.
*/
-->
Expand All @@ -11,7 +11,7 @@
<argument name="servicesConfig" xsi:type="array">
<item name="freecurrencyapi" xsi:type="array">
<item name="label" xsi:type="string" translatable="true">Freecurrency Converter API</item>
<item name="class" xsi:type="string">RB\CurrencyConverter\Model\Currency\Import\FreecurrencyConverterApi</item>
<item name="class" xsi:type="string">MageRahul\CurrencyConverter\Model\Currency\Import\FreecurrencyConverterApi</item>
</item>
</argument>
</arguments>
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="RB_CurrencyConverter">
<module name="MageRahul_CurrencyConverter">
<sequence>
<module name="Magento_Directory"/>
</sequence>
Expand Down
4 changes: 2 additions & 2 deletions registration.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* Copyright © DevAwesome All rights reserved.
* Copyright © Rahul Barot All rights reserved.
* See COPYING.txt for license details.
*/
use Magento\Framework\Component\ComponentRegistrar;

ComponentRegistrar::register(ComponentRegistrar::MODULE, 'RB_CurrencyConverter', __DIR__);
ComponentRegistrar::register(ComponentRegistrar::MODULE, 'MageRahul_CurrencyConverter', __DIR__);

0 comments on commit 0371e2d

Please sign in to comment.