Skip to content

Commit

Permalink
Merge pull request #30 from Stanislas-Poisson/develop
Browse files Browse the repository at this point in the history
#28 - Corse cities not set
  • Loading branch information
Stanislas-Poisson authored Jul 5, 2018
2 parents ca9c8d5 + f002ea4 commit ae489b2
Show file tree
Hide file tree
Showing 6 changed files with 35,425 additions and 35,057 deletions.
70,450 changes: 35,409 additions & 35,041 deletions Exports/csv/cities.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Exports/json/cities.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions Exports/sql/cities.sql

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Exports/sql/departments.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- MySQL dump 10.13 Distrib 5.7.22, for Linux (x86_64)
-- MySQL dump 10.13 Distrib 5.7.20, for Linux (x86_64)
--
-- Host: localhost Database: frenchzipcode
-- Host: 127.0.0.1 Database: frenchzipcode
-- ------------------------------------------------------
-- Server version 5.7.22

Expand Down Expand Up @@ -54,4 +54,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-06-18 21:03:14
-- Dump completed on 2018-07-05 13:51:23
6 changes: 3 additions & 3 deletions Exports/sql/regions.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- MySQL dump 10.13 Distrib 5.7.22, for Linux (x86_64)
-- MySQL dump 10.13 Distrib 5.7.20, for Linux (x86_64)
--
-- Host: localhost Database: frenchzipcode
-- Host: 127.0.0.1 Database: frenchzipcode
-- ------------------------------------------------------
-- Server version 5.7.22

Expand Down Expand Up @@ -51,4 +51,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2018-06-18 21:03:13
-- Dump completed on 2018-07-05 13:51:23
2 changes: 1 addition & 1 deletion app/Console/Commands/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Builder extends Command
protected $patterns = [
'regions' => '/([\d]{2})(?:\t[\d\w]+){2}(?:.*)\t(.*)/',
'departments' => '/([\d]{2})\t([\d\w]{2,3})(?:\t[\d\w]+){2}(?:.*)\t(.*)/',
'cities' => '/(?:\t|[\d]+\t){1,3}([\d]{2,3})\t([\d]{2,3})(?:.*)/',
'cities' => '/(?:\t|[\d]+\t){1,3}([\d\w]{2,3})\t([\d]{2,3})(?:.*)/',
];

/**
Expand Down

0 comments on commit ae489b2

Please sign in to comment.