Skip to content

Commit

Permalink
MRSH-633 change config to autogenerate pairs (#5)
Browse files Browse the repository at this point in the history
## Added

- autofill for not exists currencies [(MRSH-633)](https://ego-digital.atlassian.net/browse/MRSH-633);

## Changed

- pairs generation to base on two lists of currencies [(MRSH-633)](https://ego-digital.atlassian.net/browse/MRSH-633);
  • Loading branch information
alexey-krivoshapko authored Apr 19, 2023
1 parent 80f6d7a commit 0cbb1b6
Show file tree
Hide file tree
Showing 8 changed files with 154 additions and 6,979 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ vendor
.phpunit.result.cache
phpunit.local.xml
.DS_Store
._.DS_Store
._.DS_Store
.docker
composer.lock
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Require:

Optional:

SHIPPER_EXCHANGE_RATE_PAIRS="EUR->USD,EUR->ILS,USD->ILS"
SHIPPER_EXCHANGE_RATE_FROM="EUR,USD"
SHIPPER_EXCHANGE_RATE_TO="EUR,USD"


## Usage
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "shipperdev/shipper-exchange-rate",
"version": "1.0.0",
"autoload": {
"psr-4": {
"ShipperDev\\ShipperExchangeRate\\": "src/",
Expand All @@ -21,6 +22,8 @@
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"laravel/laravel": "^9.3"
"laravel/laravel": "^10.0",
"mockery/mockery": "^1.5.1",
"laravel/slack-notification-channel": "^2.5"
}
}
Loading

0 comments on commit 0cbb1b6

Please sign in to comment.