Skip to content

Commit

Permalink
Use PhoneLib 8.13.38 and prepare release (removed NAC from MX numberp…
Browse files Browse the repository at this point in the history
…lan - as done 5 years ago) (#68)
  • Loading branch information
Anrufliste authored May 30, 2024
1 parent 9c391c0 commit 84c7974
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<artifactId>normalizer</artifactId>
<name>Phonenumber Normalizer</name>
<description>Library to work with phonenumbers, especially to fix googles PhoneLib ignoring German Landline specifics.</description>
<version>1.2.3-SNAPSHOT</version>
<version>1.2.3</version>
<packaging>jar</packaging>
<url>https://github.com/telekom/phonenumber-normalizer</url>

Expand Down Expand Up @@ -86,7 +86,7 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>libphonenumber</artifactId>
<version>8.13.37</version>
<version>8.13.38</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -150,7 +150,7 @@
<dependency>
<groupId>com.googlecode.libphonenumber</groupId>
<artifactId>geocoder</artifactId>
<version>2.231</version>
<version>2.232</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class PhoneLibWrapperTest extends Specification {
"+49203555666" | "RU" | "8"
"+49203555666" | "CZ" | ""
"+49203555666" | "HU" | "06"
"+49203555666" | "MX" | "01"
// "+49203555666" | "MX" | "01" v8.13.38 on 30.05.2024 adapted new MX numberplan from 2019 elemination NAC 01
}

def "hasRegionNationalPrefix"( number, regionCode, expectedResult) {
Expand Down Expand Up @@ -187,7 +187,7 @@ class PhoneLibWrapperTest extends Specification {
"+49203555666" | "RU" | true
"+49203555666" | "CZ" | false
"+49203555666" | "HU" | true
"+49203555666" | "MX" | true
// "+49203555666" | "MX" | true v8.13.38 on 30.05.2024 adapted new MX numberplan from 2019 elemination NAC 01
}

def "isSpecialFormat"( number, expectedResult) {
Expand Down

0 comments on commit 84c7974

Please sign in to comment.