Commit 56e4df93 authored by Mitchell Coote's avatar Mitchell Coote Committed by Sébastien Eustace
Browse files

Allow the use of the period character in dependency names. (#32)

parent 1a780975
Loading
Loading
Loading
Loading
+3 −3
Changes for poetry/json/schemas/poetry-schema.json: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
                }
            },
            "patternProperties": {
                "^[a-zA-Z-_0-9]+$": {
                "^[a-zA-Z-_.0-9]+$": {
                    "oneOf": [
                        {
                            "$ref": "#/definitions/dependency"
@@ -81,7 +81,7 @@
            "type": "object",
            "description": "This is a hash of package name (keys) and version constraints (values) that this package requires for developing it (testing tools and such).",
            "patternProperties": {
                "^[a-zA-Z-_0-9]+$": {
                "^[a-zA-Z-_.0-9]+$": {
                    "oneOf": [
                        {
                            "$ref": "#/definitions/dependency"
@@ -100,7 +100,7 @@
        "extras": {
            "type": "object",
            "patternProperties": {
                "^[a-zA-Z-_0-9]+$": {
                "^[a-zA-Z-_.0-9]+$": {
                    "type": "array",
                    "items": {
                        "type": "string"