Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed May 27, 2020
1 parent 76fdcf9 commit 64fd72b
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Observer/ControllerActionPredispatch/CheckoutCartIndex.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace BlushMe\Core\Observer\ControllerActionPredispatch;
namespace BlushMe\Checkout\Observer\ControllerActionPredispatch;
use Magento\Framework\Event\Observer as O;
use Magento\Framework\Event\ObserverInterface;
// 2020-05-27
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
A custom module for [blushme.se](https://blushme.se) (Magento 2).
A custom checkout module for [blushme.se](https://blushme.se) (Magento 2).

## How to install
```posh
bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer require blushme/core:*
composer require blushme/checkout:*
bin/magento setup:upgrade
bin/magento cache:enable
rm -rf var/di var/generation generated/*
Expand All @@ -25,10 +25,10 @@ bin/magento maintenance:disable
## How to upgrade
```posh
bin/magento maintenance:enable
composer remove blushme/core
composer remove blushme/checkout
rm -rf composer.lock
composer clear-cache
composer require blushme/core:*
composer require blushme/checkout:*
bin/magento setup:upgrade
bin/magento cache:enable
rm -rf var/di var/generation generated/*
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "blushme/core"
,"version": "0.0.2"
,"description": "A custom module for blushme.se (Magento 2)"
"name": "blushme/checkout"
,"version": "0.0.3"
,"description": "A custom checkout module for blushme.se (Magento 2)"
,"type": "magento2-module"
,"homepage": "https://github.com/blushme/core"
,"homepage": "https://github.com/blushme/checkout"
,"license": "MIT"
,"authors": [{
"name": "Dmitry Fedyuk"
Expand All @@ -12,6 +12,6 @@
,"role": "Developer"
}]
,"require": {"mage2pro/core": ">=6.5.4"}
,"autoload": {"files": ["registration.php"], "psr-4": {"BlushMe\\Core\\": ""}}
,"keywords": ["Magento 2"]
,"autoload": {"files": ["registration.php"], "psr-4": {"BlushMe\\Checkout\\": ""}}
,"keywords": ["Magento 2", "Klarna"]
}
4 changes: 2 additions & 2 deletions etc/frontend/events.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
https://github.com/blushme/core/issues/4 -->
<event name='controller_action_predispatch_checkout_cart_index'>
<observer
instance='BlushMe\Core\Observer\ControllerActionPredispatch\CheckoutCartIndex'
name='BlushMe\Core\Observer\ControllerActionPredispatch\CheckoutCartIndex'
instance='BlushMe\Checkout\Observer\ControllerActionPredispatch\CheckoutCartIndex'
name='BlushMe\Checkout\Observer\ControllerActionPredispatch\CheckoutCartIndex'
/>
</event>
</config>
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='urn:magento:framework:Module/etc/module.xsd'
>
<module name='BlushMe_Core' setup_version='0.0.1'>
<module name='BlushMe_Checkout' setup_version='0.0.1'>
<sequence>
<!-- 2020-05-14
"Remove the second (right) column from the Klarna Checkout page": https://github.com/blushme/core/issues/3 -->
Expand Down
2 changes: 1 addition & 1 deletion registration.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
use Magento\Framework\Component\ComponentRegistrar as R;
R::register(R::MODULE, 'BlushMe_Core', __DIR__);
R::register(R::MODULE, 'BlushMe_Checkout', __DIR__);
File renamed without changes.
2 changes: 1 addition & 1 deletion view/frontend/web/css/source/_module.less
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// 2020-05-19
@import '../../_checkout';
@import '../../_main';

0 comments on commit 64fd72b

Please sign in to comment.