From e1606a91b988f3939b31ac3571755cafdec0b7df Mon Sep 17 00:00:00 2001 From: Krzysztof Rewak Date: Fri, 15 Oct 2021 20:29:24 +0200 Subject: [PATCH 1/5] Polish countries and continents added --- packages/continents-pl/composer.json | 45 ++++ packages/continents-pl/resources/data.csv | 8 + .../src/ContinentsPlServiceProvider.php | 14 + packages/countries-pl/composer.json | 45 ++++ packages/countries-pl/resources/data.csv | 251 ++++++++++++++++++ .../src/CountriesPlServiceProvider.php | 14 + 6 files changed, 377 insertions(+) create mode 100644 packages/continents-pl/composer.json create mode 100644 packages/continents-pl/resources/data.csv create mode 100644 packages/continents-pl/src/ContinentsPlServiceProvider.php create mode 100644 packages/countries-pl/composer.json create mode 100644 packages/countries-pl/resources/data.csv create mode 100644 packages/countries-pl/src/CountriesPlServiceProvider.php diff --git a/packages/continents-pl/composer.json b/packages/continents-pl/composer.json new file mode 100644 index 0000000..cec13d0 --- /dev/null +++ b/packages/continents-pl/composer.json @@ -0,0 +1,45 @@ +{ + "name": "squirephp/continents-pl", + "description": "A library containing the Polish translation of Squire's Continent model.", + "keywords": [ + "squire" + ], + "license": "MIT", + "homepage": "https://github.com/squirephp", + "support": { + "issues": "https://github.com/squirephp/squire/issues", + "source": "https://github.com/squirephp/squire" + }, + "authors": [ + { + "name": "Dan Harrin", + "email": "dan@danharrin.com" + }, + { + "name": "Krzysztof Rewak", + "email": "krzysztof.rewak@gmail.com" + } + ], + "require": { + "php": "^8.0", + "illuminate/support": "^8.0", + "squirephp/continents": "self.version", + "squirephp/repository": "self.version" + }, + "autoload": { + "psr-4": { + "Squire\\": "src" + } + }, + "extra": { + "laravel": { + "providers": [ + "Squire\\ContinentsPlServiceProvider" + ] + } + }, + "config": { + "sort-packages": true + }, + "minimum-stability": "dev" +} diff --git a/packages/continents-pl/resources/data.csv b/packages/continents-pl/resources/data.csv new file mode 100644 index 0000000..373c8bb --- /dev/null +++ b/packages/continents-pl/resources/data.csv @@ -0,0 +1,8 @@ +id,code,name +af,af,Afryka +an,an,Antarktyda +as,as,Azja +eu,eu,Europa +na,na,Ameryka Północna +oc,oc,Oceania +sa,sa,Ameryka Południowa \ No newline at end of file diff --git a/packages/continents-pl/src/ContinentsPlServiceProvider.php b/packages/continents-pl/src/ContinentsPlServiceProvider.php new file mode 100644 index 0000000..f09ad74 --- /dev/null +++ b/packages/continents-pl/src/ContinentsPlServiceProvider.php @@ -0,0 +1,14 @@ + Date: Fri, 15 Oct 2021 20:30:44 +0200 Subject: [PATCH 2/5] readme++ --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ea299f2..9070d3e 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ Country::where('name', 'like', 'a%')->get(); // Get information about all countr |--|--| | German | `composer require squirephp/continents-de` | | English | `composer require squirephp/continents-en` | +| Polish | `composer require squirephp/continents-pl` | #### Schema @@ -149,6 +150,7 @@ Country::where('name', 'like', 'a%')->get(); // Get information about all countr | English | `composer require squirephp/countries-en` | | French | `composer require squirephp/countries-fr` | | German | `composer require squirephp/countries-de` | +| Polish | `composer require squirephp/countries-pl` | | Spanish | `composer require squirephp/countries-es` | #### Schema From b2799f28f2b07b59f259c9ac353464d147446d00 Mon Sep 17 00:00:00 2001 From: Krzysztof Rewak Date: Fri, 15 Oct 2021 20:33:57 +0200 Subject: [PATCH 3/5] EOFs --- packages/continents-pl/src/ContinentsPlServiceProvider.php | 2 +- packages/countries-pl/src/CountriesPlServiceProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/continents-pl/src/ContinentsPlServiceProvider.php b/packages/continents-pl/src/ContinentsPlServiceProvider.php index f09ad74..f31a3dd 100644 --- a/packages/continents-pl/src/ContinentsPlServiceProvider.php +++ b/packages/continents-pl/src/ContinentsPlServiceProvider.php @@ -11,4 +11,4 @@ public function boot(): void { Repository::registerSource(Continent::class, 'pl', __DIR__ . '/../resources/data.csv'); } -} \ No newline at end of file +} diff --git a/packages/countries-pl/src/CountriesPlServiceProvider.php b/packages/countries-pl/src/CountriesPlServiceProvider.php index 782c64f..749242e 100644 --- a/packages/countries-pl/src/CountriesPlServiceProvider.php +++ b/packages/countries-pl/src/CountriesPlServiceProvider.php @@ -11,4 +11,4 @@ public function boot(): void { Repository::registerSource(Country::class, 'pl', __DIR__ . '/../resources/data.csv'); } -} \ No newline at end of file +} From 080cbb2e2e1fed5229b996bc0d6ceb4ff1456a19 Mon Sep 17 00:00:00 2001 From: Krzysztof Rewak Date: Fri, 15 Oct 2021 20:43:23 +0200 Subject: [PATCH 4/5] Astana -> Nur-Sultan --- packages/countries-de/resources/data.csv | 2 +- packages/countries-en/resources/data.csv | 2 +- packages/countries-es/resources/data.csv | 2 +- packages/countries-fr/resources/data.csv | 2 +- packages/countries-pl/resources/data.csv | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/countries-de/resources/data.csv b/packages/countries-de/resources/data.csv index ed01a8e..1145587 100644 --- a/packages/countries-de/resources/data.csv +++ b/packages/countries-de/resources/data.csv @@ -123,7 +123,7 @@ kp,850,Pyongyang,kp,prk,as,kpw,🇰🇵,Nordkorea kr,82,Seoul,kr,kor,as,krw,🇰🇷,Südkorea kw,965,Kuwait City,kw,kwt,as,kwd,🇰🇼,Kuwait ky,1345,George Town,ky,cym,na,kyd,🇰🇾,Kaimaninseln -kz,7,Astana,kz,kaz,as,kzt,🇰🇿,Kasachstan +kz,7,Nur-Sultan,kz,kaz,as,kzt,🇰🇿,Kasachstan la,856,Vientiane,la,lao,as,lak,🇱🇦,Laos lb,961,Beirut,lb,lbn,as,lbp,🇱🇧,Libanon lc,1758,Castries,lc,lca,na,xcd,🇱🇨,St. Lucia diff --git a/packages/countries-en/resources/data.csv b/packages/countries-en/resources/data.csv index ea7622e..2ecc3d7 100644 --- a/packages/countries-en/resources/data.csv +++ b/packages/countries-en/resources/data.csv @@ -123,7 +123,7 @@ kp,850,Pyongyang,kp,prk,as,kpw,🇰🇵,North Korea kr,82,Seoul,kr,kor,as,krw,🇰🇷,South Korea kw,965,Kuwait City,kw,kwt,as,kwd,🇰🇼,Kuwait ky,1345,George Town,ky,cym,na,kyd,🇰🇾,Cayman Islands -kz,7,Astana,kz,kaz,as,kzt,🇰🇿,Kazakhstan +kz,7,Nur-Sultan,kz,kaz,as,kzt,🇰🇿,Kazakhstan la,856,Vientiane,la,lao,as,lak,🇱🇦,Laos lb,961,Beirut,lb,lbn,as,lbp,🇱🇧,Lebanon lc,1758,Castries,lc,lca,na,xcd,🇱🇨,Saint Lucia diff --git a/packages/countries-es/resources/data.csv b/packages/countries-es/resources/data.csv index d29d839..bd19130 100644 --- a/packages/countries-es/resources/data.csv +++ b/packages/countries-es/resources/data.csv @@ -123,7 +123,7 @@ kp,850,Pyongyang,kp,prk,as,kpw,🇰🇵,Corea del Norte kr,82,Seoul,kr,kor,as,krw,🇰🇷,Corea del Sur kw,965,Kuwait City,kw,kwt,as,kwd,🇰🇼,Kuwait ky,1345,George Town,ky,cym,na,kyd,🇰🇾,Islas Caimán -kz,7,Astana,kz,kaz,as,kzt,🇰🇿,Kazajistán +kz,7,Nur-Sultan,kz,kaz,as,kzt,🇰🇿,Kazajistán la,856,Vientiane,la,lao,as,lak,🇱🇦,Laos lb,961,Beirut,lb,lbn,as,lbp,🇱🇧,Líbano lc,1758,Castries,lc,lca,na,xcd,🇱🇨,Santa Lucía diff --git a/packages/countries-fr/resources/data.csv b/packages/countries-fr/resources/data.csv index a5abbd4..1ffcf52 100644 --- a/packages/countries-fr/resources/data.csv +++ b/packages/countries-fr/resources/data.csv @@ -123,7 +123,7 @@ kp,850,Pyongyang,kp,prk,as,kpw,🇰🇵,Corée du Nord kr,82,Seoul,kr,kor,as,krw,🇰🇷,Corée du Sud kw,965,Kuwait City,kw,kwt,as,kwd,🇰🇼,Koweït ky,1345,George Town,ky,cym,na,kyd,🇰🇾,Îles Caïmans -kz,7,Astana,kz,kaz,as,kzt,🇰🇿,Kazakhstan +kz,7,Nur-Sultan,kz,kaz,as,kzt,🇰🇿,Kazakhstan la,856,Vientiane,la,lao,as,lak,🇱🇦,Laos lb,961,Beirut,lb,lbn,as,lbp,🇱🇧,Liban lc,1758,Castries,lc,lca,na,xcd,🇱🇨,Sainte-Lucie diff --git a/packages/countries-pl/resources/data.csv b/packages/countries-pl/resources/data.csv index 8dcc0bc..6ec5b10 100644 --- a/packages/countries-pl/resources/data.csv +++ b/packages/countries-pl/resources/data.csv @@ -24,7 +24,7 @@ bg,359,Sofia,bg,bgr,eu,bgn,🇧🇬,Bułgaria bh,973,Manama,bh,bhr,as,bhd,🇧🇭,Bahrajn bi,257,Bużumbura,bi,bdi,af,bif,🇧🇮,Burundi bj,229,Porto-Novo,bj,ben,af,xof,🇧🇯,Benin -bl,590,Gustavia,bl,blm,na,eur,🇧🇱,Saint-Barthelemy +bl,590,Gustavia,bl,blm,na,eur,🇧🇱,Saint-Barthélemy bm,1441,Hamilton,bm,bmu,na,bmd,🇧🇲,Bermudy bn,673,Bandar Seri Begawan,bn,brn,as,bnd,🇧🇳,Brunei bo,591,Sucre,bo,bol,sa,bob,🇧🇴,Boliwia @@ -93,7 +93,7 @@ gt,502,Gwatemala,gt,gtm,na,gtq,🇬🇹,Gwatemala gu,1671,Hagatna,gu,gum,oc,usd,🇬🇺,Guam gw,245,Bissau,gw,gnb,af,xof,🇬🇼,Gwinea Bissau gy,592,Georgetown,gy,guy,sa,gyd,🇬🇾,Gujana -hk,852,Hong Kong,hk,hkg,as,hkd,🇭🇰,Hongkong +hk,852,Hongkong,hk,hkg,as,hkd,🇭🇰,Hongkong hm,672,,hm,hmd,oc,,🇦🇺,Wyspy Heard i McDonalda hn,504,Tegucigalpa,hn,hnd,na,hnl,🇭🇳,Honduras hr,385,Zagrzeb,hr,hrv,eu,hrk,🇭🇷,Chorwacja From c7214c980af54edc9cdf023770c44dd049ebc97a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 16 Oct 2021 09:30:54 +0000 Subject: [PATCH 5/5] Bump league/flysystem from 1.1.3 to 1.1.5 Bumps [league/flysystem](https://github.com/thephpleague/flysystem) from 1.1.3 to 1.1.5. - [Release notes](https://github.com/thephpleague/flysystem/releases) - [Changelog](https://github.com/thephpleague/flysystem/blob/1.1.5/CHANGELOG.md) - [Commits](https://github.com/thephpleague/flysystem/compare/1.1.3...1.1.5) --- updated-dependencies: - dependency-name: league/flysystem dependency-type: indirect ... Signed-off-by: dependabot[bot] --- composer.lock | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/composer.lock b/composer.lock index 2caf968..77b4a81 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "aff20e51e1b3b3407a7d6fca58c2541b", + "content-hash": "1e5f8d4592ca02aad95f46dfe1a7ba74", "packages": [ { "name": "akaunting/laravel-money", @@ -768,16 +768,16 @@ }, { "name": "league/flysystem", - "version": "1.1.3", + "version": "1.1.5", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "9be3b16c877d477357c015cec057548cf9b2a14a" + "reference": "18634df356bfd4119fe3d6156bdb990c414c14ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/9be3b16c877d477357c015cec057548cf9b2a14a", - "reference": "9be3b16c877d477357c015cec057548cf9b2a14a", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/18634df356bfd4119fe3d6156bdb990c414c14ea", + "reference": "18634df356bfd4119fe3d6156bdb990c414c14ea", "shasum": "" }, "require": { @@ -793,7 +793,6 @@ "phpunit/phpunit": "^8.5.8" }, "suggest": { - "ext-fileinfo": "Required for MimeType", "ext-ftp": "Allows you to use FTP server storage", "ext-openssl": "Allows you to use FTPS server storage", "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", @@ -851,7 +850,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.x" + "source": "https://github.com/thephpleague/flysystem/tree/1.1.5" }, "funding": [ { @@ -859,20 +858,20 @@ "type": "other" } ], - "time": "2020-08-23T07:39:11+00:00" + "time": "2021-08-17T13:49:42+00:00" }, { "name": "league/mime-type-detection", - "version": "1.7.0", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3" + "reference": "b38b25d7b372e9fddb00335400467b223349fd7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3", - "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b38b25d7b372e9fddb00335400467b223349fd7e", + "reference": "b38b25d7b372e9fddb00335400467b223349fd7e", "shasum": "" }, "require": { @@ -903,7 +902,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.7.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.8.0" }, "funding": [ { @@ -915,7 +914,7 @@ "type": "tidelift" } ], - "time": "2021-01-18T20:58:21+00:00" + "time": "2021-09-25T08:23:19+00:00" }, { "name": "monolog/monolog", @@ -8209,8 +8208,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.2|^8.0" + "php": "^8.0" }, "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.1.0" }