Skip to content

Commit ae489b2

Browse files
Merge pull request #30 from Stanislas-Poisson/develop
#28 - Corse cities not set
2 parents ca9c8d5 + f002ea4 commit ae489b2

File tree

6 files changed

+35425
-35057
lines changed

6 files changed

+35425
-35057
lines changed

Exports/csv/cities.csv

Lines changed: 35409 additions & 35041 deletions
Large diffs are not rendered by default.

Exports/json/cities.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Exports/sql/cities.sql

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

Exports/sql/departments.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
-- MySQL dump 10.13 Distrib 5.7.22, for Linux (x86_64)
1+
-- MySQL dump 10.13 Distrib 5.7.20, for Linux (x86_64)
22
--
3-
-- Host: localhost Database: frenchzipcode
3+
-- Host: 127.0.0.1 Database: frenchzipcode
44
-- ------------------------------------------------------
55
-- Server version 5.7.22
66

@@ -54,4 +54,4 @@ UNLOCK TABLES;
5454
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
5555
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
5656

57-
-- Dump completed on 2018-06-18 21:03:14
57+
-- Dump completed on 2018-07-05 13:51:23

Exports/sql/regions.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
-- MySQL dump 10.13 Distrib 5.7.22, for Linux (x86_64)
1+
-- MySQL dump 10.13 Distrib 5.7.20, for Linux (x86_64)
22
--
3-
-- Host: localhost Database: frenchzipcode
3+
-- Host: 127.0.0.1 Database: frenchzipcode
44
-- ------------------------------------------------------
55
-- Server version 5.7.22
66

@@ -51,4 +51,4 @@ UNLOCK TABLES;
5151
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
5252
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
5353

54-
-- Dump completed on 2018-06-18 21:03:13
54+
-- Dump completed on 2018-07-05 13:51:23

app/Console/Commands/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Builder extends Command
3535
protected $patterns = [
3636
'regions' => '/([\d]{2})(?:\t[\d\w]+){2}(?:.*)\t(.*)/',
3737
'departments' => '/([\d]{2})\t([\d\w]{2,3})(?:\t[\d\w]+){2}(?:.*)\t(.*)/',
38-
'cities' => '/(?:\t|[\d]+\t){1,3}([\d]{2,3})\t([\d]{2,3})(?:.*)/',
38+
'cities' => '/(?:\t|[\d]+\t){1,3}([\d\w]{2,3})\t([\d]{2,3})(?:.*)/',
3939
];
4040

4141
/**

0 commit comments

Comments
 (0)