From 3b01de9ebb5971748af2e795f6a559f140b422f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Millon?= Date: Thu, 10 Dec 2020 14:47:15 +0100 Subject: [PATCH 1/3] Set versiont to 2.0.1-SNAPSHOT --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 2596bd6..0302ebe 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ group=com.ekino.oss.jcv-idea-plugin description=JCV IDEA plugin -version=2.0.0 +version=2.0.1-SNAPSHOT ## Tests dependencies versions assertk-jvm.version=0.23 junit.version=5.6.0 From 17b679dd66d162d077f6c6aaad18ae58375003f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Millon?= Date: Thu, 10 Dec 2020 14:48:24 +0100 Subject: [PATCH 2/3] fix(validators): Add missing `number_type` validator to JCV Core definitions #17 --- .../ekino/oss/jcv/idea_plugin/definition/TemplatedValidator.kt | 3 +++ .../idea_plugin/autocomplete/JcvValidatorContributorTest.kt | 1 + 2 files changed, 4 insertions(+) diff --git a/src/main/kotlin/com/ekino/oss/jcv/idea_plugin/definition/TemplatedValidator.kt b/src/main/kotlin/com/ekino/oss/jcv/idea_plugin/definition/TemplatedValidator.kt index 198c9b3..c529387 100644 --- a/src/main/kotlin/com/ekino/oss/jcv/idea_plugin/definition/TemplatedValidator.kt +++ b/src/main/kotlin/com/ekino/oss/jcv/idea_plugin/definition/TemplatedValidator.kt @@ -73,6 +73,9 @@ val validators = listOf( TemplatedValidator( id = "string_type" ), + TemplatedValidator( + id = "number_type" + ), TemplatedValidator( id = "array_type" ), diff --git a/src/test/kotlin/com/ekino/oss/jcv/idea_plugin/autocomplete/JcvValidatorContributorTest.kt b/src/test/kotlin/com/ekino/oss/jcv/idea_plugin/autocomplete/JcvValidatorContributorTest.kt index 4b32eba..e6a940a 100644 --- a/src/test/kotlin/com/ekino/oss/jcv/idea_plugin/autocomplete/JcvValidatorContributorTest.kt +++ b/src/test/kotlin/com/ekino/oss/jcv/idea_plugin/autocomplete/JcvValidatorContributorTest.kt @@ -36,6 +36,7 @@ class JcvValidatorContributorTest : LightPlatformCodeInsightFixture4TestCase() { "mongo_id", "not_empty", "not_null", + "number_type", "object_type", "regex:", "starts_with:", From bdfa49d0b95a5c44eea486085743d6a7ffcbed88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Millon?= Date: Thu, 10 Dec 2020 14:51:00 +0100 Subject: [PATCH 3/3] chore(release): Release 2.0.1 --- gradle.properties | 2 +- src/main/resources/META-INF/changes.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 0302ebe..85acb05 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ group=com.ekino.oss.jcv-idea-plugin description=JCV IDEA plugin -version=2.0.1-SNAPSHOT +version=2.0.1 ## Tests dependencies versions assertk-jvm.version=0.23 junit.version=5.6.0 diff --git a/src/main/resources/META-INF/changes.html b/src/main/resources/META-INF/changes.html index f8b725a..4b4c7d8 100644 --- a/src/main/resources/META-INF/changes.html +++ b/src/main/resources/META-INF/changes.html @@ -1,3 +1,8 @@ +2.0.1 +
    +
  • Add missing `number_type` validator to JCV Core definitions #17
  • +
+ 2.0.0 The new JCV Assistant: