Skip to content

Commit 68b56af

Browse files
authored
Mandates phone numbers to be strings (#71)
* Phone numbers have to be strings. Fix #69.
1 parent ae4057e commit 68b56af

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Changelog
33

44
All notable changes to this project will be documented in this file.
55

6+
[core-0.2.1] - 2019-10-10
7+
-------------------------
8+
9+
Changed
10+
~~~~~~~
11+
12+
- Mandates phone numbers to be strings
13+
614
[core-0.2/it-0.2] - 2019-03-13
715
------------------------------
816

docs/en/example/publiccode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ maintenance:
9292
- name: Francesco Rossi
9393
email: "francesco.rossi@comune.reggioemilia.it"
9494
affiliation: Comune di Reggio Emilia
95-
phone: +39 231 13215112
95+
phone: "+3923113215112"
9696

9797
localisation:
9898
localisationReady: yes

docs/en/schema.core.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,8 @@ A Contact is an object with the following properties:
770770
must not be obfuscated. To improve resistance against e-mail
771771
collection, use ``\x64`` to replace ``@``, as allowed by the YAML
772772
specification.
773-
- ``phone`` - phone number (with international prefix)
773+
- ``phone`` - phone number (with international prefix). This has to be
774+
a string.
774775
- ``affiliation`` - This key contains an explicit affiliation
775776
information for the technical contact. In case of multiple
776777
maintainers, this can be used to create a relation between each

docs/it/example/publiccode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ maintenance:
9292
- name: Francesco Rossi
9393
email: "francesco.rossi@comune.reggioemilia.it"
9494
affiliation: Comune di Reggio Emilia
95-
phone: +39 231 13215112
95+
phone: "+3923113215112"
9696

9797
localisation:
9898
localisationReady: yes

docs/it/schema.core.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,8 @@ Un Contatto è un oggetto con le seguenti proprietà:
813813
deve essere offuscato. Per migliorare la resistenza contro la
814814
raccolta di indirizzi email, usare ``\x64`` per sostituire ``@``,
815815
siccome questo è permesso dalle specifiche YAML.
816-
- ``phone`` - Numero telefonico (con prefisso internazionale).
816+
- ``phone`` - Numero telefonico (con prefisso internazionale). Questa chiave
817+
deve essere una stringa.
817818
- ``affiliation`` - Questa chiave contiene informazioni esplicite sui
818819
contatti tecnici. Nel caso esistano diversi maintainer, questa chiave
819820
può essere usata per creare relazioni tra diversi contatti tecnici e

0 commit comments

Comments
 (0)